{"_id":"@crave/farmblocks-dropdown","_rev":"1059-6c2e871ee7f0d4c6a2ef55c289e13df2","name":"@crave/farmblocks-dropdown","dist-tags":{"canary":"3.3.9-alpha-fix-deps-6232.1.2","latest":"3.3.9","4208.1":"1.3.3-4208.1.8","4209.1":"1.3.3-4209.1.8"},"versions":{"0.2.0-alpha.ad4af0bf":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.ad4af0bf","description":"","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.ad4af0bf","@crave/farmblocks-theme":"^1.5.0-alpha.ad4af0bf","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.ad4af0bf","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-XjM8JOvUnwrhAt1Vc+a0MvRRhvWX3ih9vk/Msp7uzhea3qyjRKz9JsROQkin9qIEpa215q5fIDre1wUZguVJgg==","shasum":"fc758e0af1f11096fc0532ce896696af02381394","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.ad4af0bf.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr1/MH5MvUlVijLX9CGyiHUcSG6CRiY+6JIJfVcfnFRQIgJ+sq1KxZtJX7AL3DCzD/ysrpJdVnZB3pCYVZ5TEQFEA="}]},"maintainers":[{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.ad4af0bf.tgz_1516116389406_0.4313345483969897"},"directories":{}},"0.2.0-alpha.72f7861d":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.72f7861d","description":"","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.72f7861d","@crave/farmblocks-theme":"^1.5.0-alpha.72f7861d","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.72f7861d","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-NrPbvKeE2yLnsp0EmwtqzZlLT4opuTncQRC3Ujim1GgGta+TR0NkcniVZLmNTTeQxDCkrAN0Hxa0882yCw69cA==","shasum":"e1d586decbf03582e58d483ca47f17bbec50bdbc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.72f7861d.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2PAfBtqdCQYcfHeVQvkCdGkPazNYc81JL5m3EtC2ynQIgWUoxi2c7NmIvufj1HdW14MzsMK2iwek7S+WaZeRUcss="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.72f7861d.tgz_1516116479000_0.5867372637148947"},"directories":{}},"0.2.0-alpha.c7f237ec":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.c7f237ec","description":"","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.c7f237ec","@crave/farmblocks-theme":"^1.5.0-alpha.c7f237ec","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.c7f237ec","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-UAV2ATm0lJpk02VA449d6ZAdg+KP/9YCKZWdM1k/ZKi4pkqVVGT9iO7pNukb9ZO+4B4sBbLulZVFnpTUgzQPBQ==","shasum":"59622868c6e6be1da7feda3d028d99ee6de2573e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.c7f237ec.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1Ydf4g6n3/RPHRfACvy7JDuZA7eNONNwQt4SsvTbAIAiB9RPjuZb69mv34SfSkhCxigPbb2yJw1opaCq31gbBwhQ=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.c7f237ec.tgz_1516116615917_0.4097119243815541"},"directories":{}},"0.2.0-alpha.72a11852":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.72a11852","description":"","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.72a11852","@crave/farmblocks-theme":"^1.5.0-alpha.72a11852","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.72a11852","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-u13dwpMMEkGHrG8UACclwLXDe4KFYc0kKc5JWtTInLP1fSS4+O+OfEalKHw0ZcXZ/8kL1YNdEXeMyeKkKpge+A==","shasum":"7980b9d23eff23805fab845d73381fb06420b468","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.72a11852.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9N1i9RJxpeka48k5bzS9cSlspva/OscvPuCX/nVmu0AiAippejulmTlPDx3aL4+k46icGu+KPOPl3TcQg77se5cw=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.72a11852.tgz_1516118195091_0.544397987658158"},"directories":{}},"0.2.0-alpha.37f958b0":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.37f958b0","description":"","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.37f958b0","@crave/farmblocks-theme":"^1.5.0-alpha.37f958b0","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.37f958b0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-lWRozZyVtAsaY6HB+VpwsM5mrj1bx4fd/9qkW9dm6TOo+bD9GVCczWj7dJwhjuKRJlJTUr2AYvMHdjWYqIRokA==","shasum":"5ab65cee94a4bd1ccab6886b91695b4ccc4fb87e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.37f958b0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+nHpAAAmpn11BDdUyd7hcOAkUTv7u6d1Qj+TPM8Qn+gIgExSsViHkJIq/9WIe/I4HJX1V6DYAW3w8AEaPgxd9SYk="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.37f958b0.tgz_1516118638182_0.03595370869152248"},"directories":{}},"0.2.0-alpha.7940b619":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.7940b619","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.7940b619","@crave/farmblocks-theme":"^1.5.0-alpha.7940b619","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.7940b619","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ZOeGiI6mgY5w0nBzbRCyohbKGH0DKirWNIQBo1rCCaQOx1irGX7RrsrwQpQ6J3XMjh/kDLSKaVkU+mB5CFQGGw==","shasum":"910345a9e8a0de6172b4a6821d574877edb30101","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.7940b619.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFijIjLoXojb4zSkLyh1ZWxoi5CF5Q46cGOkKWLu7q/zAiAQh1QfD4i+iOPDV2vU90BX/j4GbIEwg7jzlzWJUqApjQ=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.7940b619.tgz_1516122203712_0.3454166257288307"},"directories":{}},"0.2.0-alpha.99d6ab88":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.99d6ab88","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.99d6ab88","@crave/farmblocks-theme":"^1.5.0-alpha.99d6ab88","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.99d6ab88","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-RAJ4pTt/+a6WsgTGzNm2AdraLm/nvUocmcvIyXZdEwwLfTqbV3BkeEl5v3uKg/5cir5DOHN6o5fTVX8D8921yA==","shasum":"5b3a8576ee1c0b2104a81c67305cd954e134cfe1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.99d6ab88.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhBnFu/aL5NusEtYNAarQum+138476j7344H+LadIYdAiEAgV+H2VS07FphBGy45qvlrtrveu2riM06sghwAqRWgSI="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.99d6ab88.tgz_1516187129843_0.5416703158989549"},"directories":{}},"0.2.0-alpha.435841b2":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.435841b2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.435841b2","@crave/farmblocks-theme":"^1.5.0-alpha.435841b2","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.435841b2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-t+0CdT1aV91EgEiEz2fTYBOKQsAc0A4eIgun6edZ+d5QsSIMC0JMykS1tUcn30RJMWhu5/lXlENqZelOj4Z3JQ==","shasum":"f20df0c52856130ce1546eccd166d16749948854","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.435841b2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDteyFG1ozax5SsCHYTAdMWuQk50epaEuHWb3iKlez6DgIgSzLh3b0RATUyAJgEbhQxmgKiMGGfA9U5skW7URutY0k="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.435841b2.tgz_1516188667999_0.6060607470571995"},"directories":{}},"0.2.0-alpha.3c3d2f95":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.3c3d2f95","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.3c3d2f95","@crave/farmblocks-theme":"^1.5.0-alpha.3c3d2f95","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.3c3d2f95","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-yO8IelDm/IRJtN0yIz0AE8kJDzcraRPCHy8fsN1YSUw4b+S7cXv711aAnhWqBwtBD2WZonTJSVzi0F6BN/VgMA==","shasum":"7879f8e5fe74e34be2fc286103ecd039641c29d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.3c3d2f95.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICH2FKPTb+G61s1tEjzL+YAl7OE0+51vW/QvjUi6I+3XAiEA680fiawz24m/MPlOOEcR9S+cSsK+I9OVHwYJrAywrmI="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.3c3d2f95.tgz_1516192775450_0.660406457260251"},"directories":{}},"0.2.0-alpha.a4f724ea":{"name":"@crave/farmblocks-dropdown","version":"0.2.0-alpha.a4f724ea","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.a4f724ea","@crave/farmblocks-theme":"^1.5.0-alpha.a4f724ea","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0-alpha.a4f724ea","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-8406OflSR8GKZsc6DEP1MF6xyjbNYKijFoicefrn17PKVr1fQjgL2kyAW1Yt1T0H36Q4vGc8MZryW/5b2euDqQ==","shasum":"288730d065aea0c3b708cbe006cf14cf719e79c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0-alpha.a4f724ea.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCawVXcPcZ90ykjLIGdphJ4hnzLhAtHZ/T9PhMvqFJiegIhALQv/NNoOGWxY2N2uJdXolvMxL2kFOf2r5a85YGO7Szy"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0-alpha.a4f724ea.tgz_1516215563635_0.5808373666368425"},"directories":{}},"0.2.0":{"name":"@crave/farmblocks-dropdown","version":"0.2.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.3.0","@crave/farmblocks-theme":"^1.4.1","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-WtbLf5ArX9BnDTpQtuIvu/kB0Kyf+TgajNq7EsNfbMwTaqMGFtIhDZp384ctPyHvj+xpjImz+TjtgP6yPAEU2A==","shasum":"9826096170df4795d03fa92956194b36c6ccbacd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHraJbjQzpPEAXd31t6MrawmEa+70zdpqrV7Gpd1JraYAiBKl28o/kl/w9bDw0WV8jWgFVpf2/Qnze3//fVqTJxYtw=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.0.tgz_1516216604561_0.6592378977220505"},"directories":{}},"0.3.0-alpha.e15f535a":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.e15f535a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.e15f535a","@crave/farmblocks-theme":"^1.5.0-alpha.e15f535a","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.e15f535a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-U7CnVSKB/QwOsJ6yPOiSjcQq+DVWJ7N1nK17Ex3ZPbQQpqryYdGV3PZbniw3TW0QeSVQfG+arXWizogTX7qARg==","shasum":"8fe26a39b656174f5240ff1e8d8ef728533e6650","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.e15f535a.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqREtDc66+iFET4tbbyvlwWFVRm1cGbqXi+d9r/hcgbAiBpS+xc7Y2C2dX4zDfE63kiI1Ld9ZUEeMOzB9VrEbsSZA=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.e15f535a.tgz_1516217154522_0.8548018026631325"},"directories":{}},"0.3.0-alpha.caa5275e":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.caa5275e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.caa5275e","@crave/farmblocks-theme":"^1.5.0-alpha.caa5275e","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.caa5275e","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-YPJt/ASJjYxHrJT+wlTLd0/W1dSX4EQbHnD05tD0p4M6OOGhAKDHTVIeo07PxfFEGNn8gCnuVE+pvX0BKiMhZA==","shasum":"a50232c09baf046288e03b9b0e14ab6869cc4ba3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.caa5275e.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF869BtutcgqpnLC3OPEkXEabKbeDkwPcg48nUDbYMEDAiEA3fFvR8j60qzeHzvxe/gNK6515j0Im11oFjeO1EtX6v0="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.caa5275e.tgz_1516218111861_0.1260478892363608"},"directories":{}},"0.3.0-alpha.7012925a":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.7012925a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.7012925a","@crave/farmblocks-theme":"^1.5.0-alpha.7012925a","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.7012925a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-wh9AWTaTuTuKqlzwT67J9EbS7/nhr2s2whwQ/QAIDF9E+Eg4/X2124GohYVFHUttBGr4DYFUwcP2Kpx1B8SaDw==","shasum":"26237eedb80bbfafc574c916471cdceda46920bc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.7012925a.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhVDK/631TJJWWtKTmstVMUYz9NzJ8MDzhUMuTgBnsRAiA9MhcXtdYd7nnuXC8os8dkybMrO2n16bQU0wFIfavUfg=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.7012925a.tgz_1516218505963_0.2634126334451139"},"directories":{}},"0.3.0-alpha.6c3335fc":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.6c3335fc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.6c3335fc","@crave/farmblocks-theme":"^1.5.0-alpha.6c3335fc","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.6c3335fc","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Zw3pAsvdwWKu/7CWKoVfaielKHnmJqxqo6qRrANY/LLriONIAQY4K63V+j12OqoLeRTUpyKHT9FjpYsGB03C9Q==","shasum":"331c5145ede11f96ad5881741f4eb3f67ef72d52","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.6c3335fc.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpyU1AW1gE+Jgn0A/QbaPLnEwimIPlqJk9c3tnkfBRtAiEA30h1A6TaHjkY0q6eHSsqaRW+YLA3/kKPC/2VhVLQA5Y="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.6c3335fc.tgz_1516274395102_0.2930254712700844"},"directories":{}},"0.3.0-alpha.e6b4f216":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.e6b4f216","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.e6b4f216","@crave/farmblocks-theme":"^1.5.0-alpha.e6b4f216","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.e6b4f216","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-r03cw46r5cyeicdAFgsyh7qoJF5phTvm4HUofFJt5NLl3yAI3z8xuZ5hphRQv8FkufFrvdzx9OzuxNaXqpN0cA==","shasum":"8d5b75ee657345ec56365a9e23fd5d3a1eed2cc2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.e6b4f216.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt9zEjJRusgxm7YzKcVBp5pWbrpS3WZX8/V18qmNOX1AiEAyL+u59OGuiPbxTm0G6NJm6z/BpwgY5aktH8jOVKWBWo="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.e6b4f216.tgz_1516278811999_0.7927615579683334"},"directories":{}},"0.3.0-alpha.fbf771da":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.fbf771da","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.fbf771da","@crave/farmblocks-theme":"^1.5.0-alpha.fbf771da","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.fbf771da","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-c59wNdUS1gW2Xyb32w6Ftsc67OyyfnMShK/oxGin1pIDUnc6o69vlCwmc1m9+UzLvfhjXIgZc6FeydzmhU+dRw==","shasum":"f3df63e93006a8f3f4099e5b6f02f76896d92409","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.fbf771da.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBI0mFkS8sG1lZAlXgLm4I3OOpGqG1Gps5Kf0nNosSLWAiAnbN6N/1Y3lhLGX+2AkIugjviF2rV6efIaArA0tz4vtA=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.fbf771da.tgz_1516281611662_0.09535331255756319"},"directories":{}},"0.3.0-alpha.122361b5":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.122361b5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.122361b5","@crave/farmblocks-theme":"^1.5.0-alpha.122361b5","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.122361b5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-nPFV4HkA0Kj+tQcBz0x3v+GoYo9IVjtEaylGz941ij0jNCa3XdpaFwdFbQ17ZPKzsxg8zx2WrHK4GnSpmIPSWQ==","shasum":"6f96cb7b6cf8ee4092cadc9bbd3d050c5db5cf07","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.122361b5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmLt/ORrxR9VindxV2tccHtjZbZnHSfwGgBkd2KPIr2QIge+EoCpv6Cv+59ZsFsKYrwXnA08H4fTDJzidImiVPmco="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.122361b5.tgz_1516281643274_0.17762308102101088"},"directories":{}},"0.3.0-alpha.5696eecf":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.5696eecf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.5696eecf","@crave/farmblocks-theme":"^1.5.0-alpha.5696eecf","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.5696eecf","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-F10iJ9wXga3YKG3nFAGhtKTNNt8hQvl1KFl07QPAfNcTYy3fnWiqgZre2Rxq11aaj+I8zTG7VRxkChLM51jYtA==","shasum":"0163f6deb19acc5a5877fe7afa5f1f0a568d9e31","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.5696eecf.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJLU2o3Ph0mRnwUW6i3fvlfRffOtGtbomUkrs1l7KghAiEAvrNLYanE9ePxEonJ2foD0WqquaT/Y4qQw9JERRZ0IIQ="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.5696eecf.tgz_1516282205015_0.6262517073191702"},"directories":{}},"0.3.0-alpha.40b945a3":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.40b945a3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.40b945a3","@crave/farmblocks-theme":"^1.5.0-alpha.40b945a3","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.40b945a3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-MzVm55qxkEzqQ50bdU3Q84kY7e9L+y9ienoPEIvaeGnmwpX+z40BJ+kBRaDErM1YdHJYvhNJjiMvHbd8Q/uOrw==","shasum":"42821ec652fe0c80d60fe57cecff5cb1b9305f6c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.40b945a3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcIMaxB5ByERM9sSj2t46YP1bK2XuXvd5EKIaJbm4JaAiEAvTT0a+92d3TtvKV3m5lAdon7GkKFptuhI7l8EkS/VO4="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.40b945a3.tgz_1516282482886_0.6788172014057636"},"directories":{}},"0.3.0-alpha.2b628ef5":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.2b628ef5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.2b628ef5","@crave/farmblocks-theme":"^1.5.0-alpha.2b628ef5","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.2b628ef5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-61gUoWIODZT8NdCdV25S3yRK429HKT+91kyu3QkCQz5FQy2+hoJLo64YVYSsYQAHhPh5mdalBuJdc0xMJCtRog==","shasum":"ddaa71bc00bd23513e78f96ce7cf62c74a947de1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.2b628ef5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvWhqd9+/PDWhX/8SUPAZSTUzZvSXhn//IJTeu7RqKGAiA3cU5E5xbvYgbxodZVpyQRWw3sbYLEPK8WPClb69LgJw=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.2b628ef5.tgz_1516282853304_0.0017997527029365301"},"directories":{}},"0.3.0-alpha.1c8fea83":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.1c8fea83","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.1c8fea83","@crave/farmblocks-theme":"^1.5.0-alpha.1c8fea83","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.1c8fea83","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-9IY8i858K1Karse0l1l0bXfpOXHITao30rk6/mvLhTGTja2NgktA7bPtlQyZWnLrBjsCJ+CcLWoSO05HR2OxzQ==","shasum":"73237e888d80a1e2584152430c9d3d9e5fa11ee6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.1c8fea83.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApUfcE7wBLiLKKT2j0F23dAVKYN8GIBTU9Mkhpx4OBmAiB4B4MweN0RM6qaXv4UASwWIH8bOTGqiFvJYm2DX1ntYw=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.1c8fea83.tgz_1516283133059_0.5252417477313429"},"directories":{}},"0.3.0-alpha.dce1d648":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.dce1d648","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.dce1d648","@crave/farmblocks-theme":"^1.5.0-alpha.dce1d648","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.dce1d648","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-qIRuTQ5VbcHy0NTwCFoidz0UZa1aQ0q/XWcFbVTatVsHxdLLpIo9rj/QevOn1LcKPSvH8H9/sqJ8IRiSS1f2Sg==","shasum":"bd1ca7cceb9c0b5825686d6355ff9a1d1dbcd0ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.dce1d648.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIgw1s8m3ZgJhodlQoMVVYnLyOL2NisKso1jpgkeRBlgIhAKQBrKEjdQQ+wjEIu1763gAzYBVEn6C5xmVilOT298Rl"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.dce1d648.tgz_1516284670703_0.720022183842957"},"directories":{}},"0.3.0-alpha.6d250d81":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.6d250d81","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.6d250d81","@crave/farmblocks-theme":"^1.5.0-alpha.6d250d81","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.6d250d81","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-4MguAzqdHIOcL7PTZkDzK3tDngV/3Zk4NC1d0WJQBmIFDPzvskMMNxKZuGgXC2nfrdmGjGPNRn6nDxgHOIF03Q==","shasum":"430158d7a52b33e25fda79064019f2d480cb35af","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.6d250d81.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgWhxK3mFYxyy5kSA0bAKypnCGjm7ZlY0WbeI6gQEdXgIgW3zBAKQi3kdpkgs6u1seiJybsZ9qsWD2lhsVWNM+pO8="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.6d250d81.tgz_1516284888904_0.625601599458605"},"directories":{}},"0.2.1":{"name":"@crave/farmblocks-dropdown","version":"0.2.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.0","@crave/farmblocks-theme":"^1.4.1","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-rr6pPStE6EDrvTlar3JjYY+vhMIZPlDbZbcUgMWqFkzNEN/q/OeLeTU1YATV5V/UjVVLlh+oT659SxoFaI103Q==","shasum":"c2b027b9436b52cbc5c8af231244c273cdafe190","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBdicJ8zVlEN/6swMivticse1FAktz4MA4+/t7GkSPE2AiBmme7JyO6CzKG2hbtiMkzpkZ+Q5yeziHiLaGyLsCQXPA=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.2.1.tgz_1516285383067_0.1708718677982688"},"directories":{}},"0.3.0-alpha.2ddd8607":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.2ddd8607","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^1.4.0-alpha.2ddd8607","@crave/farmblocks-theme":"^1.5.0-alpha.2ddd8607","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.2ddd8607","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-/xb5pS6AT+NzhyUPs8V+VrUgjDZq7OTib3w6US7pmHqfYMqr1ToaDZheMrVbDu3jcSlO8v5MJhPhPf5g5Y5hOw==","shasum":"4b134d8b847f9543b97e7b1d2a43116a472262b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.2ddd8607.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANzkS/TbG/dh7s6WOT25EHOWcTWpHWARlmgWRbkiXo0AiEAk/LasIC72T8LSokPQ+NoQfeRwc+z90985QFNtEs1jmA="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.2ddd8607.tgz_1516285502980_0.6601465574931353"},"directories":{}},"0.3.0-alpha.c94904da":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.c94904da","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.c94904da","@crave/farmblocks-theme":"^1.5.0-alpha.c94904da","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.c94904da","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-q/kDzBhEtcf5NBY8mDrWvo7Svz6EXNGvE70gq6oIrVaMDQ5Co24IYR7o1TH9IFbhd2VAPFemQtc6+xcTSmqEYQ==","shasum":"28e065094974f5d79f30b4907bdd3f14ce2d45bd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.c94904da.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASEqUj9L1mATuE99DgWxi3jPXYwVGFBM8kyqXpC4P0jAiBh/r8YLBegsew/efxFQCU4h36BvVHbQZOUfF4djttHKw=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.c94904da.tgz_1516285789953_0.4024130527395755"},"directories":{}},"0.3.0-alpha.9152ff6e":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.9152ff6e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.9152ff6e","@crave/farmblocks-theme":"^1.5.0-alpha.9152ff6e","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.9152ff6e","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-nJ0H8mRu1j+R5JyMz4Hsw8cfGvHZk+zBSqVB91JzIaqOiMS1hupMhUb8N2JoATVAlH4MAAjE0rSMJ2bhuMwNzg==","shasum":"814bf3e1816e3bcce3d19259ff0e6c90b6088960","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.9152ff6e.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaW90q7WFyaiF8+M8aNK9qxknN6vz26eL3qxfDqJ9ZYAiEAoS7OBO42Df2SRs7I5AXD3G9rTljtAP/wumtoUwm4e3c="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.9152ff6e.tgz_1516287716185_0.5588254306931049"},"directories":{}},"0.3.0-alpha.edebbebe":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.edebbebe","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.edebbebe","@crave/farmblocks-theme":"^1.5.0-alpha.edebbebe","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.edebbebe","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-imxAp3Y0JdhAckNxexsp0a5NU2DJLTp7e0rT+mAojV7GByEHyJ2jVNBtDIvtHSeDcTc9oKE9b8qv4aL5SOkuqg==","shasum":"913e12489a8da82e04db94ca9d494dba2a73a794","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.edebbebe.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt9HX5fuvEvvqP5LoET2ML9u6krTDK0t8/xVZARsQnpgIgVdyZmBLgrv4q5hmc9kVCr3I+BnwJgN/iaK3XiMvPGOg="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.edebbebe.tgz_1516288603289_0.6490285710897297"},"directories":{}},"0.3.0-alpha.a99690bf":{"name":"@crave/farmblocks-dropdown","version":"0.3.0-alpha.a99690bf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.a99690bf","@crave/farmblocks-theme":"^1.5.0-alpha.a99690bf","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0-alpha.a99690bf","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-5Of5MaxVk7dx7QL0xCI0k3SFiphHt2H4QkCa1chbU4nRGKxDTdB6YnI/o44nZil2cL+2vkpkeNsZFivnoS+Ucg==","shasum":"896d580fc276ded3dfb3c45cfedb37b2640517a9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0-alpha.a99690bf.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFPXSqHwpWpQHw4jPAs/feJTqCkF4a+0NaP4GzQ647UAiEA6oAjAsOHCRA15R8xQOkTQoPQuMpa08ho8ldl8uH7GSU="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0-alpha.a99690bf.tgz_1516290431778_0.29261021967977285"},"directories":{}},"0.3.0":{"name":"@crave/farmblocks-dropdown","version":"0.3.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.0","@crave/farmblocks-theme":"^1.4.1","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-6Ap0aQSgmefpHRdhTauJFlfYK41ywBC2fpzGoqxb2ZCbtGD5TXDl64w0/1FkS93Zbnf0e+AGxMeM2TsZXgZPkA==","shasum":"6a124e519991da8dad0923139364be450590ef4b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNZgbmtascBIZOYTvY1tjE2bJbn2XCCFl7XHbSTlxRswIgAa2JL+Av1xQyBGVGkQwPQMfvp/Htjp922WgeBpdAsYw="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.3.0.tgz_1516292130719_0.46306392387486994"},"directories":{}},"0.4.0-alpha.6223518c":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.6223518c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.6223518c","@crave/farmblocks-theme":"^1.5.0-alpha.6223518c","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.6223518c","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-1NoAoLR1YrpezlKI+HuvoQggKUM1Y+Ql/Es0Rm23iiTZLV4VgLWAbcPKBI084TT5OcDyPjQCv04LeUt9tOsu2w==","shasum":"5f0141b0b28f4926a7c10a0e6ac934e02144e8ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.6223518c.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGksoxvyyT6QS3oPp3PUUoYxil108cDB7pkcI6wUa2VRAiBf3C5Ozs8t3CVxwLjWXhkPgp7TmV2qbwFiJ2ibxbAh9Q=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.6223518c.tgz_1516293608181_0.4297341590281576"},"directories":{}},"0.4.0-alpha.173aa547":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.173aa547","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.173aa547","@crave/farmblocks-theme":"^1.5.0-alpha.173aa547","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.173aa547","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-TX3iU3a9elCKvsMGAkyt1gPV7Un1SHvdUvBD9NFKnawiBtuhhF8afiAV1TPaa92uliVHY0PSbNH3s9MYVOifaA==","shasum":"9fe723482df0a9730e8e8a1d52052041beaf8a34","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.173aa547.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEiui4swKj8S0QRFoLRqrieJ9VtSSfGXw9I04FREDpSAiBzRuNvNFR6tnzDEe0APGqB5QqAOyw0JWaxDTJwK6pfDw=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.173aa547.tgz_1516296212416_0.7857027696445584"},"directories":{}},"0.4.0-alpha.26ead46b":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.26ead46b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.26ead46b","@crave/farmblocks-theme":"^1.5.0-alpha.26ead46b","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.26ead46b","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-4rMTa2n8MtksvIxmwXNGpQvIKARwcYDN9QC32VIpKULU/CgxKimkXb+K0zOviHAafZTvz07mFbCBPA80jo+s5Q==","shasum":"668538ccea0bda0d775234d9801f24057a8affb2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.26ead46b.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJoP1jPIOoXC+PZGNavnMOEd1AQ3q+6lnwG2jELfJ8rAiEAs6S/A1tkYqh4ZAgi/fFdl2f8791SAMk7ZD7Pe2I0GN0="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.26ead46b.tgz_1516573157205_0.37512271478772163"},"directories":{}},"0.4.0-alpha.67392dee":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.67392dee","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.67392dee","@crave/farmblocks-theme":"^1.5.0-alpha.67392dee","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.67392dee","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-NMyCX4d7sb5XdukS1r6ZIBGS/aNE+VA/K0Wyg3Da7rpAFsNIi73bHGBCU8MjjqAsUQm6lJFp0cOKWXEb+xox9g==","shasum":"c802e6f199e4ce5910ca76dc7fc58535ac8d42ec","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.67392dee.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfzgYBUcC6WBBV9mSx2i8ZnWLDdduW7xWKG/YC2aHptAiEA74FOpzDb3DqRZ00Re9C6HUIL25hDnqqMcIKVvjRimAs="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.67392dee.tgz_1516573172967_0.4419307743664831"},"directories":{}},"0.4.0-alpha.cc6afb85":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.cc6afb85","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.cc6afb85","@crave/farmblocks-theme":"^1.5.0-alpha.cc6afb85","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.cc6afb85","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-q3ezJ8aeAZFmtaazd2VpODmAMSZOIYSonuwH7BbDU2RoqMojTlL9qZFWIjmQ6zmG1teoXSoGDjqmFY4DV3Iurg==","shasum":"f709ae90d29578d07adfbfffeeb7ad5fbb98b9d6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.cc6afb85.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVyxCGP/39qAnPwzZSlunMcYGF5fX4FGsbZF5z1+Q4nAiEAsp8eCqCQd1A3cEPgV7vdrdXEPToyO8IEndn0bs/jbXE="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.cc6afb85.tgz_1516632172728_0.609055919572711"},"directories":{}},"0.4.0-alpha.1bc89e42":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.1bc89e42","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.1bc89e42","@crave/farmblocks-theme":"^1.5.0-alpha.1bc89e42","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.1bc89e42","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-4VPYLZ/CPJd3TXjaJqHv0+bnqJ8ofeFWvgk/Imh5yuQE6Eux2hbhVJjGrGWPpOyYqa+bPfUNhDjhWyK2gbOAPw==","shasum":"cb9938e2b54274aa1e13aa142af1ca72385fb151","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.1bc89e42.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0yJowL6ETMGhmOpZyqrqyjKDMmkjK2kJypnOUzqZWxQIhAN0dmoABLM6eZ6611Q+Gbb3SC0Ul3BUuk2BPqSAUm+z5"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.1bc89e42.tgz_1516634280117_0.12234546919353306"},"directories":{}},"0.4.0-alpha.bc5712cc":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.bc5712cc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.bc5712cc","@crave/farmblocks-theme":"^1.5.0-alpha.bc5712cc","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.bc5712cc","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-kS6d9TcDOM3AwY+Fy4eH+jSqzf/vvsY/1O6P3ths3khlqB1HyGrdzftkiEPwEvrRfbGHTiNoFUS6WNGrMZwoXQ==","shasum":"896fbdcac6bf9d5539f9c064daa0e1dd972d2e0e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.bc5712cc.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQsZ3xxbYKF4qvgYltW13IfC/BDQEEol2RQkJiseGZQAIhAMacR9avXzlqpsgcgXVA4t/YeccSC043SeRXAep6bnda"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.bc5712cc.tgz_1516648073733_0.8709200797602534"},"directories":{}},"0.4.0-alpha.7302ebb3":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.7302ebb3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.7302ebb3","@crave/farmblocks-theme":"^1.5.0-alpha.7302ebb3","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.7302ebb3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-J3yHcBcHTugTkRE0s5IzsCxcOmmt3hOXg6FJWlS8j+XlEJvk3rBbmCfuA4nGfXwvRwGuBfgA4UIZgxvK77q7Ag==","shasum":"e0c23346f53a32226f19b0f1c345ccad07512ee1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.7302ebb3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+reNcfBEeLcJkjpmpZGYhUDeOsKkckD9TiYs8hp+7kgIgFWlAp5C/Ssjwh2DaFoDdZmTN4FtIEYgzVh06MFsxhjc="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.7302ebb3.tgz_1516710220424_0.5881476656068116"},"directories":{}},"0.4.0-alpha.4e7595c8":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.4e7595c8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.4e7595c8","@crave/farmblocks-theme":"^1.5.0-alpha.4e7595c8","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.4e7595c8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-IL9MtX6V1i8DaIUSkmWfr08Cd64+oOyZUNuh35gYX6usVj0evdZZkAgp5nsVp8V9wzXJKvTurkytw11hfXKPUQ==","shasum":"cee601f8b32f1af6163dba43b5be3a79fe896f2e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.4e7595c8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIRRDy0etzpqNKob/aG2NfqfVtzIUZciE+DYzUzOXrQwIhAJGLtBKUxTtWSWr4zQLHQuDyZRMFA0q2izyklIsUFjAC"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.4e7595c8.tgz_1516723478664_0.7318646789062768"},"directories":{}},"0.4.0-alpha.e6a26cb9":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.e6a26cb9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.e6a26cb9","@crave/farmblocks-theme":"^1.5.0-alpha.e6a26cb9","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.e6a26cb9","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-7LEDudOokDYSuef0ZQSYc0QJ22iNGAEWqMlHtJyBT3B0z1G4bwBwWfxgDAwvif2vxMUkEiBsjSBlK2mOYZ+WCA==","shasum":"00cff639e07985fbc4711ef4ff38336953954948","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.e6a26cb9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuWRqrZcMIAEy2+F6XQcOFfeq+nZv/uJB68VBQORR0zAiAby1mI0Mpyqyr0+5HBvHemj7zw4BgpPWFtsYmH+rv2jQ=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.e6a26cb9.tgz_1516724532760_0.5754222986288369"},"directories":{}},"0.4.0-alpha.2c979b0a":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.2c979b0a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.2c979b0a","@crave/farmblocks-theme":"^1.5.0-alpha.2c979b0a","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.2c979b0a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-j+bFDEU3+GUI9WCY8eFuREOQLSiHGrBFcSBKptNwnLHyr7BEdg4d6Qhl5LgsRg6d+5hCDjITWN3l/PpwG4ygOw==","shasum":"eefbb1c4da9f0c46232118695f6601d5e71d305f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.2c979b0a.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTJhzKDirQRPEDSrQGXn3d8yeGUtthoZ5bzkOQRnfluwIgQBo//kIjw9RavkjVqSHXzIXLwis59jnOS14IMSvbTMw="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.2c979b0a.tgz_1516728434593_0.6388878405559808"},"directories":{}},"0.4.0-alpha.3c32b1cb":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.3c32b1cb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.3c32b1cb","@crave/farmblocks-theme":"^1.5.0-alpha.3c32b1cb","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.3c32b1cb","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-yNT38tLelxAZQIGK+NvvU/IyliCPaq0cLwJyaq+rIdP60rg5Oql5JdE/Y3831Abq2FDxsh5rosi0t5FAS6PIgw==","shasum":"b3363457a493f4bcb51846dfef32ddb916176f7b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.3c32b1cb.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJHzQigxVx8QT/LSA8SYbZV2dLOBYYy0xAJfWYd5W9xAiEAqhwrX7swVXSNJhrBgKPyxhqCeCk1xRY9MQ+RtudOHkk="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.3c32b1cb.tgz_1516823068504_0.8126288966741413"},"directories":{}},"0.4.0-alpha.86be4ec4":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.86be4ec4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.86be4ec4","@crave/farmblocks-theme":"^1.5.0-alpha.86be4ec4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.86be4ec4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-MKR3efajzt2OTAGlWkAu3fwU8lsryDaZNB4FFNixSGbsLSakEGcBnpo2DVsAwyLdLspPMu+n9O7h2e3dOT7vqA==","shasum":"a5a60b56e57df9ea578eae3ebada9cae069093a3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.86be4ec4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCexYXMEvl430b0CNEqiT/EMn5qJx73QDix0N7FpyUxgIgXRgjWRpZSA7xkJNibl0CuMhkEZkHQ1gzNH6kvFjX1lo="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.86be4ec4.tgz_1516885499149_0.08899310557171702"},"directories":{}},"0.4.0-alpha.65457599":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.65457599","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.65457599","@crave/farmblocks-theme":"^1.5.0-alpha.65457599","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.65457599","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-BFlgIJ1K7M1vBXBt9nrJX3ubezyBUptK1o0OtYR3OQaAM96pCAqBpPWE5bQ+0pjOW1PPZL4NOwBkD2r8iEXyAA==","shasum":"c2936ce538de6c051699e1ddeb151c3b59eecccc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.65457599.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcZtMiQoM5IL/NcdUP9GV9qHz9L4pTOFij0PY2y+Fo7AiAHGtOSepQOaSrgAYQFvzMbMTSfChgqWKiRRTgSDduJHQ=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.65457599.tgz_1516887191099_0.6873533527832478"},"directories":{}},"0.4.0-alpha.b29e8642":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.b29e8642","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.b29e8642","@crave/farmblocks-theme":"^1.5.0-alpha.b29e8642","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.b29e8642","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-xHYW4YDAb251/VmzGWZotouNzrZGiU1xt9rKYT0beaRXb+/cxkhBTGPUwX4IvmFRAHozTP/fR3omhCbAb3+DZA==","shasum":"d22f840f4021027cd73ffbe170f7aae68391bd41","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.b29e8642.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLvUrCCVuXznx0tXznM6cWPYpYntZiGvfGlSD4s2xecwIhAMWqeL1YVhk9gkgaOkIwuw/80jm5RnrCwW0YieWzRrbw"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.b29e8642.tgz_1516887721029_0.5454890187829733"},"directories":{}},"0.4.0-alpha.c7705635":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.c7705635","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.c7705635","@crave/farmblocks-theme":"^1.5.0-alpha.c7705635","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.c7705635","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-4dxDY8ydKKivAfOnfbQZuo+SZusYFGJ9+G7vILCpkP5pXX9TtMPHD1jGObTheLzB+EbxPQ0pxnyN6mFjYzsKaQ==","shasum":"25699fb910b3d5e9d7aba29733ee429249577ec4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.c7705635.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCumivXkfK2rH9s2NGlviSwxcM8g5dinTIdN9/zewJ9qgIgLC8ME32oZK7KHxfKcMbb7jZv/o2R4e4YMOxVJADmzwI="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.c7705635.tgz_1516900057061_0.30298380902968347"},"directories":{}},"0.4.0-alpha.7c95d821":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.7c95d821","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.7c95d821","@crave/farmblocks-theme":"^1.5.0-alpha.7c95d821","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.7c95d821","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-b5UVj/hp0jqq5d/QBdT0FC81PlEZHrZk3dLKrKH7MGuDAvWX0n4jn2DngUiQD3zuzwhkFFh2akDqrxa3s5n2rQ==","shasum":"fb10de7b1c9fbf81319a47bfc44fa32bc59dc810","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.7c95d821.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+LQNmwmltWPX7H2rQ45dEIwwwQKfd8mSiHGYZd0m81AiAeSK/Bj70fIoBgV/fJ4/s0BNxSBBRQH6MW+op7MCzPGg=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.7c95d821.tgz_1516976435061_0.9890975139569491"},"directories":{}},"0.4.0-alpha.ddb299e4":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.ddb299e4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.ddb299e4","@crave/farmblocks-theme":"^1.5.0-alpha.ddb299e4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.ddb299e4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-z7Xbzzz2OPirk9h/AfEbVQTOwTXDc5kBYy1FQNlDCOlmD1kCyc4ClTls7nYquRnW27/nDCgY/fQglMwZElsPvg==","shasum":"729d2e80cb1a5aa696738069544523ff03f8b463","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.ddb299e4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD92J8tEgxZOMYQKI7XohaUDEMoK6Yb3Cw2ZGYSVUB/2gIgZLjPm1JfE3i6Lt0qcZf9A5BjqtNMeU6XhLg09ipBolI="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.ddb299e4.tgz_1516991128852_0.5638817702420056"},"directories":{}},"0.4.0-alpha.01d1bedb":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.01d1bedb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.01d1bedb","@crave/farmblocks-theme":"^1.5.0-alpha.01d1bedb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.01d1bedb","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-FyhsQJeCxo+5p5bK44Ssg9kP0bIxD0liuMsry5OqkgcY3L/C1BIlBX4dA4HPShLHC4gw+6HwmbGVrRr6CKPInA==","shasum":"74a13e9a24461caa64b855452e8b253e6b5bfdf7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.01d1bedb.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyRnNwsViDeAjUcbfUiQX96jVsbc9A6ndK08byMvzZrAiEA1A0QMBeUqujx66JQqqe/hqCzk8Hu/WT/yYzVzvv5lKk="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.01d1bedb.tgz_1516994357111_0.20037597278133035"},"directories":{}},"0.4.0-alpha.dabda2fc":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.dabda2fc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.dabda2fc","@crave/farmblocks-theme":"^1.5.0-alpha.dabda2fc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.dabda2fc","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-tGei/YCCt5PsrI7nF9OaxDD2oYu7YMnSpUPpW0WcH1y3Te7o0YGGzx+GJMqEo+vHe2Dl8aca3B51GCsxP4Qyhw==","shasum":"8c7140bb1fceee0b06303f9e54c34bf1c901381c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.dabda2fc.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpPMwsZIEnDTuPWnewou6ZhAcUBMYTeBwxl1HUivRIxgIhAJtyuJLDEArZbyeA39hqEQTydheiCsPXjxoHHOSBfePw"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.dabda2fc.tgz_1516995692201_0.7524686129763722"},"directories":{}},"0.4.0-alpha.adc7db47":{"name":"@crave/farmblocks-dropdown","version":"0.4.0-alpha.adc7db47","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.adc7db47","@crave/farmblocks-theme":"^1.5.0-alpha.adc7db47","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0-alpha.adc7db47","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-nDJUbycHd34N0BYCBicdG2OT2Pn7Y0TYcNCfxLpb8q59mlzJmiwwYExmpAemzB9eMEMR4aXbz+s3vKe4It8fTg==","shasum":"78e18f9d9953e786f1301e06e53ed177622d2e72","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0-alpha.adc7db47.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8hZWrJmaLiWL+I3O0hGFdm2uj0O1HcKLv14QLE33EdQIgPKY5itJZfepFKpZUEnjcEkRmsRItNUtQldMIqXrAjkY="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0-alpha.adc7db47.tgz_1516998726950_0.5398810389451683"},"directories":{}},"0.4.0":{"name":"@crave/farmblocks-dropdown","version":"0.4.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.0","@crave/farmblocks-theme":"^1.4.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-JRxfNE05SsrBkkM8dtlvCP+q/wkppPDCLgDwLon686T8Ufvlsan3Jnl1JJ+5VxL0DlFx7z2qLyCpw+WIHkOXdQ==","shasum":"6fee0a0cdc17892b98bc46134e058f54c5abb295","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5oRDJn/W+pdyiJM1HTSvomPDDHrtHxyDRH14LJ+oexwIhAKsw5lJCGnvR2IcwYjvw4pCBqK9RH5ilcsEjxLrTawuV"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.0.tgz_1516999437983_0.7901269886642694"},"directories":{}},"0.5.0-alpha.a6f9ff6e":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.a6f9ff6e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Services and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.a6f9ff6e","@crave/farmblocks-theme":"^1.5.0-alpha.a6f9ff6e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Services:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.a6f9ff6e","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-26W4XicHuM4gHASZwNO4SQx20nuw6K9y5AtJ56YZdSjVTJqtrseVETkb/nzjgaGEqFsaz0kzT/cXREd2iEEyqQ==","shasum":"5c234de2eb6d4bbd235de5094088bd5146998b8e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.a6f9ff6e.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5x9ZqQHRDPgt8LUSangUXXg0jTAJZSjebcK7BpqcCOAiEAwC9SCeYiGOiGpi5OiPwMfu0Vj+0Asx+rxh57DVJyVEA="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.a6f9ff6e.tgz_1517230580617_0.44850129052065313"},"directories":{}},"0.5.0-alpha.248886ac":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.248886ac","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.248886ac","@crave/farmblocks-theme":"^1.5.0-alpha.248886ac","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.248886ac","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-QpVTz4PegwPASE2ACOiuzYUaK+hHvZIgXw5UssYfUZ7aFJeiPrc5eVxVbwaXyXFxj1wZJC1gJpeui488VvFMcQ==","shasum":"595e1a654c8b5eed18ff6e992bfac1515525e523","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.248886ac.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAE2dfDRTsiTnYWM8rmgNATatodOQZ6yXQUerhU/8mvtAiEAunx3IXYyy9UGSkg2ZyWn/9LZ9ZTfRQSHYQJBBW8YIzc="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.248886ac.tgz_1517231164040_0.8500329167582095"},"directories":{}},"0.5.0-alpha.89947df1":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.89947df1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.89947df1","@crave/farmblocks-theme":"^1.5.0-alpha.89947df1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.89947df1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-8Hd9FuWnGUz83YoAp/0eJ1ifLk3IinAEgXggTyoz4w8j8lglnJxJ2WJwijvzjm4AkWIa4KCjBvaATshfbmf1Fw==","shasum":"68ba1e2c5c8ea4c488df36ca9344c7e040d1afd1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.89947df1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDB1AQgj8/U6i7O/4Bp9GzcS4lK3oGwU+FYrhtFawnRAiEAqapBnR1SJtWGnUbIiFQ97DRIN5K3XlDpF8s4VEWisQE="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.89947df1.tgz_1517233760488_0.9796428873669356"},"directories":{}},"0.4.1":{"name":"@crave/farmblocks-dropdown","version":"0.4.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.1","@crave/farmblocks-theme":"^1.4.2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.4.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-xLd7x2/c6h3WAYXPSZdAppQzGzgbxrDW5Byynpj9nUfozCVdXmizdOuw+JB6z+7gobsFHb3i6qchT5Ys/3Isnw==","shasum":"490eaedbdc864c442b2b4bd8855bc1484c5f482c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.4.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF31mhPtZacYNkpwAP2zFJ+DpULG8aEY7K6FjaViM3hwIhANiqQeBlCidL2GpxNSzATDDCgFD3cPFhif/OLHZUt1dp"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.4.1.tgz_1517240746791_0.9855409774463624"},"directories":{}},"0.5.0-alpha.4ae95cd3":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.4ae95cd3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.4ae95cd3","@crave/farmblocks-theme":"^1.5.0-alpha.4ae95cd3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.4ae95cd3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-jRcJmCTBZoL2qH9R82sjVM4JwTx+KdlM+ubERfCCdd8U+IDDyzZLOhag/hRdkDcYnb4OqnGSTUtuaxHPT95tuw==","shasum":"9238a0eab10492d1ee4a33fa0eb4f6f1d295ec63","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.4ae95cd3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAWoUzITHu0cK87ozPx1LKwyZF0f/7CceFaLWeG3i5swIhALGjLwhTIUn7JT5wDwWh30y5Z85ecHecKoGyvV0s0Q4i"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.4ae95cd3.tgz_1517340111403_0.48865405237302184"},"directories":{}},"0.5.0-alpha.8bed828f":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.8bed828f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.8bed828f","@crave/farmblocks-theme":"^1.5.0-alpha.8bed828f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.8bed828f","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-fBdPEW8nAtYt69cUHLG9k2O4DW/VpgV4SBrxedr6IdR8W0Z8ab9Vv1OMiwEFiINK/k4ewTBnkDBLbMyiLU0NUw==","shasum":"d14829b46924ec01f679d05fd8014bdb1f1b41cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.8bed828f.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHMoQ34JMfxml/1cm2UWjcUep+9p85KfWboXEshQmZ0wIhANOF5w76IkBQ7TJBvJDcF6Qn5TD5vgCDSa7IwtGDiGFk"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.8bed828f.tgz_1517513737691_0.22111734724603593"},"directories":{}},"0.5.0-alpha.7a6345d0":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.7a6345d0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.7a6345d0","@crave/farmblocks-theme":"^1.5.0-alpha.7a6345d0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.7a6345d0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-HOuw4VAKe8f1mIBeH31VjOINhBIxK6V9NPIFPsAI4E+sZfgHUbApGgUWEB24uaADd67lYLVCdi7Pza8DmRc7FQ==","shasum":"fdb003fa0abcbbcbb4331eccaff8ac39289fbbdf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.7a6345d0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAS4kUqWOQ/4G+jS4eWaEIFW2IV1ZazvfS9gajanfU6IAiEA5Mcnuv0Z1H9DY5fBFGXgZ0vK84QXktkglI4loTwcuO4="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.7a6345d0.tgz_1517516205629_0.3634886364452541"},"directories":{}},"0.5.0-alpha.f0847fe4":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.f0847fe4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.f0847fe4","@crave/farmblocks-theme":"^1.5.0-alpha.f0847fe4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.f0847fe4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-xO1j1ryyDYVw3PPv9GacUfaMRhdTGVYjckNpXI8JteFEuCuTNI+AfuwE4U75RoInV8iXCNC4OnIozWMm+yNokg==","shasum":"ef30e7874948b3de75a71b3257476526dd59f102","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.f0847fe4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAnFp3FIeiNc1hTK2aRopBwu77LNT+7uOXQEjC/FPlqAiB5Ugeykrotoe4t2FLQWw3uzfGQ/uzTmhj0umOwZw2L7g=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.f0847fe4.tgz_1517567408977_0.5620723164174706"},"directories":{}},"0.5.0-alpha.d2f9c44a":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.d2f9c44a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.d2f9c44a","@crave/farmblocks-theme":"^1.5.0-alpha.d2f9c44a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.d2f9c44a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Kyr7UNZ3YEd+0m06J8vFC8WyH+rgzU1u01RxZrhzfNntd1YVXzxXGv5YU8TvB190wN+ZRYQ081K9RWWIUcN7qA==","shasum":"a065957a5cd2d9c4e5b53d00dd8b3c498455f584","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.d2f9c44a.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWZ3b+B3Z/2zi+JWM9wazvbAslmhvXb3glFgVF+AfPtAIgWEzR9YO7qt/mm849EPZwi5RRfbP6e1+eLYOgnlvzoQ0="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.d2f9c44a.tgz_1517569516313_0.29914431856013834"},"directories":{}},"0.5.0-alpha.81525f03":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.81525f03","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.81525f03","@crave/farmblocks-theme":"^1.5.0-alpha.81525f03","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.81525f03","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-lKIhs+f0who6wWWOhjmELfwISBWHEmgIFi09P+DJzR6imWf88BiYynlLc6g4GDxswVUn3LfqMPL6IY2leozlsQ==","shasum":"177ba6022df417bee1c41c69f4fb2d8755c43711","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.81525f03.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjki5lVwiigmV7wq9svgHU/KHLkpPziyLHqdJWWvPE+AiBhSdZ9mOy7eSBKtrgoCYmwf4rlFuu8ninkbI2wZ8r8Ow=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.81525f03.tgz_1517574450658_0.6343428825493902"},"directories":{}},"0.5.0-alpha.1d453a48":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.1d453a48","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.1d453a48","@crave/farmblocks-theme":"^1.5.0-alpha.1d453a48","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.1d453a48","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-L1B04E7hpN+W32Z6nJZsH+HPIj5j1PLHpyDotE/UHR8M1Vwrn7yMnMqSUShOvMnhvj+0ZYeERbRHj6G9wpNK3g==","shasum":"6d602f68688d65a8d15b999e034f6cc6e2aa8c2c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.1d453a48.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCheIRqLw6DD1QKaAqEaFOfdGfWK1wqCcgkq4i2VQKzGwIhAPiM0Zko7H2P5ac4/OZtEpIz+UCliMCqgLaEyoEq5tF1"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.1d453a48.tgz_1517588229783_0.3136336870957166"},"directories":{}},"0.5.0-alpha.1d964d63":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.1d964d63","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.1d964d63","@crave/farmblocks-theme":"^1.5.0-alpha.1d964d63","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.1d964d63","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-LQbvdBRpWUN+knJ+hHurUKU11rUY6guojgbz7PWGhR0amAk+MlKnDEPeTaSioXlLMe488erOUcDKdoI+D7sP5g==","shasum":"83965e3717323297c11fc664ed89183275e2a0d6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.1d964d63.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7Rory/RmgJgxXNDV+pbE9AZBLJ4T8BOQhZM6yVgSH1gIgTCGqy1UiHiA8OhRbTWjb6BqnE3VI9hJKGBXw4B1d/Ls="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.1d964d63.tgz_1517593612131_0.3490936872549355"},"directories":{}},"0.5.0-alpha.06e7a5b8":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.06e7a5b8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.06e7a5b8","@crave/farmblocks-theme":"^1.5.0-alpha.06e7a5b8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.06e7a5b8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-E3GBa9XJCwufGHrDTRNWztKi09b3bkVJEbwbA8Vqi4Bt7qt/uattko/04Q4pnfIlT77Z6/WGu3WO3sQ9Duktdg==","shasum":"9ec4d26987ee9f7fec070076f7366e99cc3c2993","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.06e7a5b8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/WUCUNsTVBp4KcPBTAcBf4Q+8b9xtusXMOK/YbjKCKAiACizwbwWCrdn4oQ6e+IK/mxrMlwRQPWS1uQluEg8j1mQ=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.06e7a5b8.tgz_1517823327410_0.7147780158556998"},"directories":{}},"0.5.0-alpha.2aef1aa2":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.2aef1aa2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.2aef1aa2","@crave/farmblocks-theme":"^1.5.0-alpha.2aef1aa2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.2aef1aa2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-dfHTzEFNLh2b1phkOEerCSqX/7+F6KlIVu5QI+5LoAFqICY1hcPabRTxDolrJ5DB8Vef/QTdwImolM8Ajd6KuA==","shasum":"dc4a5847578334be3be5b7804d00663adedfb732","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.2aef1aa2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKoVbhtyxeGKjn4MYqNhR0QyTBVM0Do9ngK6IjaH9SsAiEAo/Be+KiILJa9DvktZcteSfZqHjgn2ZAjnau0wEdEWto="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.2aef1aa2.tgz_1517823511188_0.44116323883645236"},"directories":{}},"0.5.0-alpha.a68e0700":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.a68e0700","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.a68e0700","@crave/farmblocks-theme":"^1.5.0-alpha.a68e0700","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.a68e0700","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-utAjdyyI/OJDv0kooysIjlrQhVt6MKmIgNtINOldNvcA0zt3x6RsXgY0AVKMN4QpibFhIfQNleAS/j0kGDqopQ==","shasum":"96c8423408f586e9e49cce80209e67d4a77cfe6c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.a68e0700.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwkSU6YJc3tmz/qkS/2IxpbjhNV2iK0Pa5mtTAn9nKMwIhAIO1xEtnc1Ep7eUoyJfVgDADVhyagxRbdVmEviH8ye9v"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.a68e0700.tgz_1517841621203_0.8116298224776983"},"directories":{}},"0.5.0-alpha.bb2ec3b6":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.bb2ec3b6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.bb2ec3b6","@crave/farmblocks-theme":"^1.5.0-alpha.bb2ec3b6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.bb2ec3b6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Fz3MWD6F1JupbjoTVZZIfwrhRCs5Y8CKBknw2ABD37NL5CY5rtrAJjhZcGFsZVzvLiWCI4bqVwPWVhuz5ubBOA==","shasum":"9870ce312e9841f6a78a9f032af27106798ff5f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.bb2ec3b6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPvUKs4eWiJYhkr2RAAbNR0Ea52SD1TV7snQqXfgsNmAIhAMcJ1RjyukV1MSo2vyL0beXC6bFO7WUidjYXxT7Ggwzo"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.bb2ec3b6.tgz_1517841801377_0.5280682793818414"},"directories":{}},"0.5.0-alpha.f79f943a":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.f79f943a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.f79f943a","@crave/farmblocks-theme":"^1.5.0-alpha.f79f943a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.f79f943a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-eydJSVkFSQNji18nf90GoZ0jgTxDAb/kaH8fkoEz83/2ZkrUel/0VIpDH5LFfIwmeiQjeuBf1cYi7mTovrQmPQ==","shasum":"0345b987c18b33308589a14298f88446246f0359","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.f79f943a.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBouPqqRHZcOoXHSEAVclhMloY8m6TX5VuoTuQc3i4gpAiEA/6Aw43VXS7kbQHhX4wkX0y+RTMeh+jp6lcNqKGD1O8Y="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.f79f943a.tgz_1517848696092_0.39951088349334896"},"directories":{}},"0.5.0-alpha.ce51f213":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.ce51f213","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.ce51f213","@crave/farmblocks-theme":"^1.5.0-alpha.ce51f213","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.ce51f213","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ULt5/qF/+RTRGHgmda1X8dugQVm+cAZFLcwWQI3hTWCbBEf7bV0Z/3iw70v6RVY1mqGWaQTLOHqczaDBSIHqoQ==","shasum":"385b68e172d50df46f633c4a4c070a3cf6ad282a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.ce51f213.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+DAV0vesTatsglDgTYpfIH49gDRB2UF90S10WmMMLLAiA6BJqTDSbOTwOY26fmh82oz8KSHKrBSQnkcW56tPDI8w=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.ce51f213.tgz_1517849423646_0.0666959008667618"},"directories":{}},"0.5.0-alpha.3134216a":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.3134216a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.3134216a","@crave/farmblocks-theme":"^1.5.0-alpha.3134216a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.3134216a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-nKETjxOu0ErssPCB40zGBa8Era5/Z30gnq17F05lczoqr6sy8NgW2B7G7+o+9037nqvDM9xMBLP+/Hpd1wjQhg==","shasum":"1a876d75ffaab2da992f48334e1b3c5a63ba8d9e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.3134216a.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaFrwFMlcSB00lwnbdk5Qufhgm4PwQRHmk7hh7Awj62AIgI1l7O7tHZZHNU5VfD9uYC+lm8bT/NCYdFNeQXn8d2jM="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.3134216a.tgz_1517850055584_0.6408776242751628"},"directories":{}},"0.5.0-alpha.801437d8":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.801437d8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.801437d8","@crave/farmblocks-theme":"^1.5.0-alpha.801437d8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.801437d8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-2O3SaPW7GfZucSW1XGXBoyMEKThsH64nOi8n0PCoH/zH8tE7GtorDWQ8cHw+fxnu1vGmhx3NgP4dT41M7SL53g==","shasum":"bbcc84e4895753df6cd2a523782b71e16ee11331","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.801437d8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIszY4oYSDNz2xZodRphdh4WH16plo5aEI3yjdPqsc1QIhAL44RfwO6THOMOzEOCf4m4ovjYiUeUjSVsSwZiGaU8l8"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.801437d8.tgz_1517941791684_0.20369459595531225"},"directories":{}},"0.5.0-alpha.9b1c1d2e":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.9b1c1d2e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.9b1c1d2e","@crave/farmblocks-theme":"^1.5.0-alpha.9b1c1d2e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.9b1c1d2e","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-tbo9zVJ0UZhTZK/iirYQUjrfKVIxKkkJVMW+gXZqs7/llAkOUuRWPNkveC70/FvbVtoCfLV7/aRa9u7r3CuS+w==","shasum":"c85edbbd59ad28ed8209eacd4c9c9bceb7af9ecf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.9b1c1d2e.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0d9DD5qfyaCbj3MRnw8uSGmL5uKGBklT3QMJUr61yRAiAfvQ84vRwJ43yvGRpmAcYVX+GBnRCPkt8tXxVDY5PWOA=="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.9b1c1d2e.tgz_1517942007387_0.688117818441242"},"directories":{}},"0.5.0-alpha.cc1489f2":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.cc1489f2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.cc1489f2","@crave/farmblocks-theme":"^1.5.0-alpha.cc1489f2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.cc1489f2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-i0RLTisjcOSulEF9IhS3eTn+gV3YvWaPjHTklmwMR3GQrzAqh/M9LTEhx8Dfb0BsMqEQ+Sm/u9GGMUaT8iZ3vg==","shasum":"b87bf7d3cbb6870882315a2ce9c33cb6e6383946","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.cc1489f2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDldY27rnI2fA2m2mgsW+hGMbMajI5FExx+MDjX+RamfgIhALNWdgQlc1w+0QL/rcrMz6MYUCTVAPhVbMRvlQVFxpiv"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.cc1489f2.tgz_1517942209231_0.10151231568306684"},"directories":{}},"0.5.0-alpha.4b468a5d":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.4b468a5d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.4b468a5d","@crave/farmblocks-theme":"^1.5.0-alpha.4b468a5d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.4b468a5d","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-GaIZmBUoeiRZKMrw+ZDpWEqAl0Bkzn+81Xp5pdPizy1EIb+snK6DfzVcYhyeW1a0/7sbWjRRLc1gRzMH9CuNfg==","shasum":"d7de695e1a0bd6f960ea783508606966818e63f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.4b468a5d.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5c6zJxDlzWorj2C9v+bRgzcDzE1FOCg532XQRaZSNowIhAPcVfM7r+O5gcEUemet9F5iAcQL6drR+ALAoOQ3mIOPK"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.4b468a5d.tgz_1517944599493_0.21795588824898005"},"directories":{}},"0.5.0-alpha.0572d73d":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.0572d73d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.0572d73d","@crave/farmblocks-theme":"^1.5.0-alpha.0572d73d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.0572d73d","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ap5VZ+luaK05eL2vauzumtE/ifa7O7S6vx0s0HvnzpxqxUKZJa8CjjcVCaLlHFaffh2JbJJpNcO1tRjT4mYycA==","shasum":"5bf440c6d1e4e2ad40258871e60f476e772d1d10","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.0572d73d.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJqa/AGLX3TNot/dzntHxobuRefg9afO2M7NailTAwHAiEA/T8UqyD+OCvCVKUGUOWsCBWP7+ir19gsYfpQsijuCSw="}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.0572d73d.tgz_1517945399208_0.28284790087491274"},"directories":{}},"0.5.0-alpha.cedbd9c5":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.cedbd9c5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.cedbd9c5","@crave/farmblocks-theme":"^1.5.0-alpha.cedbd9c5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.cedbd9c5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Y9BmyRTvEfmtEM0OgVsvO2C2VU1SVxYsbQH31EXFBk7sjumVv2OzsxZ2ylzail0UOXS9HfclnkCwpQaYeld0UQ==","shasum":"250ed352e83d68c15204a0bab9d5be7329f8d251","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.cedbd9c5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmp7fmVEG69Evz+Fao7B7YJpsND2MNJcGk+T0WyT+K3gIhALHoqeIGcBcMw8ELi7tBJAZutJDcJxSoWPnKE6ofkn3J"}]},"maintainers":[{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown-0.5.0-alpha.cedbd9c5.tgz_1517947434133_0.35613301442936063"},"directories":{}},"0.5.0-alpha.6521802b":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.6521802b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.6521802b","@crave/farmblocks-theme":"^1.5.0-alpha.6521802b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.6521802b","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-QfuVArONZSs4rMapikL6kc4pyHeKu6GIALWCMuaWXfOWuMHvOmbnoNZLUB0MKykPZB3ivHd+B3TkmJMMGOhshQ==","shasum":"6bf08b553e58650c561cc71f5489b3d4dd2e372c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.6521802b.tgz","fileCount":11,"unpackedSize":16980,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHuRVR5xjrrL3ojneMxugyHSioGvNZqoBnLUgd1ggnAOAiBLysxubPijHL4AkKKCcEZyb0tJOVwrj0ekeuEs9SRp2A=="}]},"maintainers":[{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.6521802b_1517968729908_0.21019799288460295"},"_hasShrinkwrap":false},"0.5.0-alpha.171ee1d4":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.171ee1d4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.171ee1d4","@crave/farmblocks-theme":"^1.5.0-alpha.171ee1d4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.171ee1d4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-0MdLFD4VDrRAJXGl9EYNl1Px4ycchgjJRMgZKDKgV18u9gCUaCUAeeQhX3O4dmqg4p6raNrWs5YWbcbjdwdN+g==","shasum":"ad82cd58add098f2de9b0ff8581296b16b9a6a7e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.171ee1d4.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQvDFrSS82LXmSm5KUOJHJDsCdL1PFqk3SF+yB38oWmwIhAMkxIScZKu7iAbaX2pZQFnD1KfX5vX4seoGnlftFcKBR"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.171ee1d4_1518011828324_0.7877237695390404"},"_hasShrinkwrap":false},"0.5.0-alpha.2820f6a8":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.2820f6a8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.2820f6a8","@crave/farmblocks-theme":"^1.5.0-alpha.2820f6a8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.2820f6a8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-fFf7MJBhbY0RTZJibi/Y53bppFt0FM2IvIypdZ8/7E6PqqJO/rouokxrxqIdCw2rzYb8JqaXgv+Lk3xAbYXN2w==","shasum":"7bef9538d3de7923aa75407445c0822ef182804a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.2820f6a8.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+L5ckdWmVH9zEwKXOuRYWspgcqpRAb2yKCaTBiY0BagIhAP+0jkWkyftvIyD/ZwujgtUZt17ylRjkDZq+Gaoy7ogh"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.2820f6a8_1518015173059_0.14061829274966553"},"_hasShrinkwrap":false},"0.5.0-alpha.6fe9f75e":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.6fe9f75e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.6fe9f75e","@crave/farmblocks-theme":"^1.5.0-alpha.6fe9f75e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.6fe9f75e","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-NdvbktBv9+DBOzya84VKo0iuBzTVohtuDrCbeudV4MmHhPG7TJu1Ce8zVW1u4kN2gbTbYEiYIrBzD3QOYaxWnw==","shasum":"2223d2bc540cc0daee16a9797dc6d3f38e6bc481","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.6fe9f75e.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8qkAQ0/dBHOCTc9j9qVQI1Qjv1trl9JeTD2qFUq3/lAIgXwENyoJ/CAa7vk9EaYyCC5hH0GgPg90dYtXr/x89nUs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.6fe9f75e_1518018344488_0.17189145797114724"},"_hasShrinkwrap":false},"0.5.0-alpha.4e07dafd":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.4e07dafd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.4e07dafd","@crave/farmblocks-theme":"^1.5.0-alpha.4e07dafd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.4e07dafd","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-wQApXai6eivoc6tCE/MMiFtNZRFtwErBKaYWhg77WOzvZzaUU7VTAWtn05vbXcqlo8u9dthVY5pefmsa4OeCnA==","shasum":"465f275e1135a3f7b8ff44afc803197cb1948a3f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.4e07dafd.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8jKHHYd4tgs5izrXjNPHgeoRoBLMMPm/pcU8hylX3UAIgF5Hku7TU+enOL0mNhqg0KCAnI6IxxGdl4MAMFQwUoVg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.4e07dafd_1518019572761_0.20784470059890614"},"_hasShrinkwrap":false},"0.5.0-alpha.e9819633":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.e9819633","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.e9819633","@crave/farmblocks-theme":"^1.5.0-alpha.e9819633","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.e9819633","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Tm1W8xUH9EZxicSZD5M2lvU6Iajih6iclAr3ook8NMkBOBVjKlXqVhJWGIN58LJg/fXTthx4wGniuaPmZgTdkg==","shasum":"2d0ec1bd10e7aa12d6d78aa798d63461d0cdd578","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.e9819633.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5CK48WaqTa70+yJdLIAuGuxbvH21ke0NUMjc8WmQXOQIhAITHji34AOTe4jtg4B249juAfFSfRvkfJjcGPtcAmLgP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.e9819633_1518020422729_0.8695977894116869"},"_hasShrinkwrap":false},"0.5.0-alpha.c2cdf8a7":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.c2cdf8a7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.c2cdf8a7","@crave/farmblocks-theme":"^1.5.0-alpha.c2cdf8a7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.c2cdf8a7","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-E5h8ckYLTqpwvoqTT4CFHpJtMJcmaPPFsJKUFkW/oJXZYEpyfMYShsdBr7Wg5bHzCaCuV7KhMAGfy14ZYKUQXA==","shasum":"9bf7f7e8d1b55939d9e943f08d675ba64a10bf2e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.c2cdf8a7.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCtCGLmN4CjknbcfzMpuEcrCjZ5kcQEOTkM37lVPaqgQIgdV//rtWOAkMmHlDYBkUZgrKpWqqibzjSTTbm2gbRsws="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.c2cdf8a7_1518027874609_0.36468662337746416"},"_hasShrinkwrap":false},"0.5.0-alpha.984fee26":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.984fee26","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.984fee26","@crave/farmblocks-theme":"^1.5.0-alpha.984fee26","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.984fee26","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-spMVcBmL9tn3zP+XshiPg/PxeqJ2t4EEkggpcyfF2sPSHN5gX4bI+z7brxpRyc7QECOjXg6pRvNk881FWO2TOA==","shasum":"1eb2232ae0ae2ca8ccc9139477d8da879c7e8c9d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.984fee26.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5rrBAcvnGLltct23Dj5gxF7cxfRMz9z71lqm8x7D3oAiBGxCH/wMVYBfswpZJSUgkc85cAQgovmOXJbINmadamNA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.984fee26_1518029611918_0.5762377315414577"},"_hasShrinkwrap":false},"0.5.0-alpha.de36eddf":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.de36eddf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.de36eddf","@crave/farmblocks-theme":"^1.5.0-alpha.de36eddf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0-alpha.de36eddf","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-aALd/6AHhbeAyf+6TxsiYY8zrhQ7EtzWxbFFjrww235E9hlT8vcWMo8pMMPdnfUBcfarBu0CSsYRA7EVrY+4+w==","shasum":"603a0bf69082b7e0f251c781ab4cc951659966fd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.de36eddf.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxbYQoDCCJx2PNNcUPkVFDhS+rJWwL4dEi6UF1iRaVWwIgKa26ErwOfpXjzwu2jYTDtUGRfYOjbXGCxxcFqS+SvEw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.de36eddf_1518030368289_0.2766252441873813"},"_hasShrinkwrap":false},"0.5.0":{"name":"@crave/farmblocks-dropdown","version":"0.5.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.1","@crave/farmblocks-theme":"^1.4.2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-qk3ceKmUk0M+Wen9xbFl09CJqAuaP8KxMslKSk5DZ4ie1u8vdWwPZ092RgrUYyITY8lL/Sgr0J7fVVI5VKuQ6Q==","shasum":"f179626f6738802706612ccb1c104e13edc7085f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0.tgz","fileCount":11,"unpackedSize":18670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2SHR+FT/cUciYKyDo0EoJbj7tKBCYGtc8c3/TWGChGAiBoLEbA2fypCOfuScgU8xKIJzmfLj8UGOWx9LBbbhOicw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0_1518034884266_0.7956226395155201"},"_hasShrinkwrap":false},"0.5.0-alpha.e0ecf90c":{"name":"@crave/farmblocks-dropdown","version":"0.5.0-alpha.e0ecf90c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.e0ecf90c","@crave/farmblocks-theme":"^1.5.0-alpha.e0ecf90c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.5.0-alpha.e0ecf90c","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-aGvLdeAXLiiMqcCOFWugkfR72rXo8bzuLyHbPswB0BBlgrf8284LR72dfSCI1nZ3cd3hZRRIgrc55e0a60WzxQ==","shasum":"3b359cf59df6282e2418afb3853a76b04eca4a7c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.0-alpha.e0ecf90c.tgz","fileCount":11,"unpackedSize":18760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWrsUmQNXRDG1MAfXQ0gegpp9MTsVEisPcSVFSZg+tIgIgdos5R+m33//XRlgjfqMBKfpQXTyPqrqvQ9S4dUTjz/E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.0-alpha.e0ecf90c_1518035525779_0.21744609835561457"},"_hasShrinkwrap":false},"0.6.0-alpha.5acde5e4":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.5acde5e4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.5acde5e4","@crave/farmblocks-theme":"^1.5.0-alpha.5acde5e4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.5acde5e4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-VACKZOg6vuT4qWJJ/eN0KZwUjcfG7UYyblGZ4UDqOcIXwRuu3enguR6abHz2x2Uev1nfAqYUt+inzeOUWbSCXw==","shasum":"28cb5bc047ecb1acf3a1b1f655a3209f2b7ba0bd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.5acde5e4.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKSCfkb5JPzQ2O+95QGjQMuPw3iLGvrBb5BlIF1a63fQIhAOH6Fmhmh42YfeDtCbxEGQ88j3S9bJPpTbviP/GjwJNC"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.5acde5e4_1518036003288_0.6567020859625474"},"_hasShrinkwrap":false},"0.6.0-alpha.73d44a88":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.73d44a88","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.73d44a88","@crave/farmblocks-theme":"^1.5.0-alpha.73d44a88","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.73d44a88","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-H2TJmZi8BXscWIILiCQP3eUOuFCIcxYJnQW8l+9ZuFVbmRBWg8OsM96LDvJw72nTAYiP5YCwEikhIuFWEtiQ3w==","shasum":"880e6222dd6cdb9d403aae73f6b0699f8e0eecd8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.73d44a88.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH2Ml0n4CKPSRB2cDM7Hfv/cuEA0nPbbY4tJRFu5+dGsCICDgXs80KLfewL4Ua7IrGbPp0IJ0FmbEuStt1L9M3A1l"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.73d44a88_1518036234536_0.4152040132224988"},"_hasShrinkwrap":false},"0.6.0-alpha.97f56d1d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.97f56d1d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.97f56d1d","@crave/farmblocks-theme":"^1.5.0-alpha.97f56d1d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.97f56d1d","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-8DLk1txYzyzs6DXcLzTu3+vyvq3WApeAzGpfpxtje/moo2aseJJE9d8DaN+Xmsd+TmU2pGuOE3Gl1kKjnhIAcA==","shasum":"21836457d01dbbd8b10c18c3846d935f71d87f73","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.97f56d1d.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWs7m1c6It1lDytj+hfRnriGLLmSVh6idX1tU0o0RtcAiEAqZwnR6Cxo8zCXR9ZHxR0wvaDeftHy/YqOptMRn9+mAk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.97f56d1d_1518176402934_0.15731742197143528"},"_hasShrinkwrap":false},"0.6.0-alpha.e80a22b5":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e80a22b5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.e80a22b5","@crave/farmblocks-theme":"^1.5.0-alpha.e80a22b5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e80a22b5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Lk8p5QLp8vAgJcvcs+7GsRQ4GypHSR5NX4xuGgnuJWudSFRZpdFCCB1RjQoH8dHk6x096qC4e6LR1HK5B5VJRg==","shasum":"262b760c5b8f390949be1a4421b6a5fa1b9888a3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e80a22b5.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEL+a4Uzv8iNBDidjbormgZ/e4wTDwvzUkkrSJWJdP+6AiA/geLIQktkQCLxiecCVwlwpDZekJWhDT2faabLVh2TZg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e80a22b5_1518177940233_0.7082164688156356"},"_hasShrinkwrap":false},"0.6.0-alpha.52cec434":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.52cec434","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.52cec434","@crave/farmblocks-theme":"^1.5.0-alpha.52cec434","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.52cec434","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-mAAnEonfut0nXsSaYD37nBYfJ3n4AIdDbOJHHBAHMlTCVeH5Uln9rBdQDv6rRs9RssGrcczwNESrZqMnZtU0JA==","shasum":"d989d546d2bb37adb1b9e99593ad989744a9cb5a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.52cec434.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIP1+nOLNVWOJ4gNAhju1CVQrwHWAo7ZuigoPelXRLoAIgTa6hlEA3JeQKxiBICP7dm8cvUdeejRQ0yxphFIRtvrA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.52cec434_1518193033351_0.6011565744893721"},"_hasShrinkwrap":false},"0.6.0-alpha.9b85ef7f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9b85ef7f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.9b85ef7f","@crave/farmblocks-theme":"^1.5.0-alpha.9b85ef7f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9b85ef7f","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-357IxJRL2800L1M1j1Hq5ZqxorXHeNreWU53rS0HqZbkLyl5sh7WfsiTJYfdcUx3S7af+LJpQ6K1F4TDH0+3iw==","shasum":"9e86b31f831e20ca9d92cb230f3383b7f53ee5d8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9b85ef7f.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR+duMOsx10upjsWr4b4J85WxbVbXM4C0+b0O5gGLo6wIgFJAP67Sva7jDsbTp943zwdszFWXsL4lsbGAOOw5HGWs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9b85ef7f_1518195822904_0.5091030518801356"},"_hasShrinkwrap":false},"0.5.1":{"name":"@crave/farmblocks-dropdown","version":"0.5.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.2","@crave/farmblocks-theme":"^1.4.2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-JJ3vL4+NHLaFEUGKkkcjHmh5ZVN+VJE8OXhCUp3tDhUgU/uemhaqq1aqzpdQm7Cog3wRHD+6ackwyPU8JKSo9g==","shasum":"06f619ef6c5d355d1ce19a377fd580c4637f62d8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.1.tgz","fileCount":11,"unpackedSize":18904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEfOe53yQ+9AN9KX6yWfUK9w32pOxOiSgA9qd5syrNUQIhAJOp1S4u/tX+e3EYVNmryf32TeAQLIrP/tGWePvXf2Iz"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.1_1518197410594_0.5083311599174984"},"_hasShrinkwrap":false},"0.6.0-alpha.65925022":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.65925022","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.65925022","@crave/farmblocks-theme":"^1.5.0-alpha.65925022","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.65925022","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-D0eTuC2nfQttc1kU2MJsZKVUsIAs7namvSHbguHZ17/Jtvw1eccUuHVr0Fsr+eTip7ext9hhr4QNb6nlBdCv2A==","shasum":"4bd725f3256dae4d0d2e1a41a855c4e978b3dcf9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.65925022.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDcWdToXjY3Ld/8bYIz+lygweDhT8aeG67zOwtEoHpgkAiEA4kDXXBPk8LCokNZDvVEmk3X7JcHWgFpi8hkHF9d8Bx4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.65925022_1518197422641_0.7556351572725528"},"_hasShrinkwrap":false},"0.6.0-alpha.7c31f816":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.7c31f816","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.7c31f816","@crave/farmblocks-theme":"^1.5.0-alpha.7c31f816","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.7c31f816","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-PbGkoTQI3f2vfvediaXrCcwk+yjyeNS9SrFQnRYu4cXvsbSh6X/5c7jExORs85Nb+uAF2ashZjH8XYwPqeE2gg==","shasum":"02bdf92fc7014709510d477be4598e411761b273","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.7c31f816.tgz","fileCount":11,"unpackedSize":19227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbX5m31mIJODf3e5OzPIAyKQD1r8KB5KoMYStJiYXcIAiEA0gZ9yy9ArozN+5dSJAEbbiPdPgMIZB375g6YNNEen+M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.7c31f816_1518197851074_0.45713610184994447"},"_hasShrinkwrap":false},"0.6.0-alpha.752667fa":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.752667fa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.752667fa","@crave/farmblocks-theme":"^1.5.0-alpha.752667fa","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.752667fa","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Eyi/LBocstmiP72CyNdOihMGLxa4yAJrzGx4FJ8f9HGZqzuxLgEkEbqAe6lMnRy4E+mES9bLO1XZ7PbBbQy3jA==","shasum":"227386e05b977743f10d0e3cbb612355d1341d72","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.752667fa.tgz","fileCount":11,"unpackedSize":18993,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGgz0V01Cob+lJTMGhdwM5h9gpeUBY2vzKBRmLr9pDhAiEA7vcsedphYVi15M2Ut0UCXxEuHiDb7W01GQFzpLyo+d0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.752667fa_1518627866866_0.5351917782248987"},"_hasShrinkwrap":false},"0.6.0-alpha.cd343c62":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.cd343c62","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.cd343c62","@crave/farmblocks-theme":"^1.5.0-alpha.cd343c62","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.cd343c62","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-1SlyWR847Ga5tgJCHEBQGOhJDEEIZ0UCb9sXqWP5EeRe0IUEVipvn1opzfdbN6q32ZJ5YoIJh6SQdWbrpnPP1Q==","shasum":"7ea25e819c8b0fb3cc6ecaf05fcf33adf200d442","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.cd343c62.tgz","fileCount":11,"unpackedSize":19227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDp+dOkYXXvI2ASj7r/6cMuOkz5lapTyUI5unpnIdawlAiEAwhJyKi23qxe0La1IBDTyNnLSiSgJsdYN4fORJTyBUI4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.cd343c62_1518628647389_0.8664660109466871"},"_hasShrinkwrap":false},"0.5.2":{"name":"@crave/farmblocks-dropdown","version":"0.5.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.3","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-CnnXuVqAhYYPCqTzWx08NlebxUVNkXpz3tbqFAgBqRmOSDU8/zKm4jhWu479WdHic/MgYmOlxjIctyE/uApJrA==","shasum":"44d620b8705dfa0bf8eb86ac5f0035c9273b1ae8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.2.tgz","fileCount":11,"unpackedSize":19138,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3oscxV63YmMhz0iAv2plJboCsN09Uohh+M9a/4/sGvQIgaBGYvhDXUGg8c242qnDQzB1LsOd22CwP0pVTpl3CWvw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.2_1518633957378_0.6697002504574743"},"_hasShrinkwrap":false},"0.6.0-alpha.691f8308":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.691f8308","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.691f8308","@crave/farmblocks-theme":"^1.6.0-alpha.691f8308","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.691f8308","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-IlDvGXMzslDoElONgJXijibfc4/n/HaZ5fk3pC0FJrVWzOjvCPxYsOgbVIFB2W5eyNMAvBRUQMpEZA9n8RdMqQ==","shasum":"e99e95fa0d3f24632a51e534e140df389278f54f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.691f8308.tgz","fileCount":11,"unpackedSize":19461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWdJLYsvOk6QsN2O+xX27Y4arMSEUNJdVkO9YWnM/rxAiAsQE5ickp/SmUUmfndfCjZDNwgQwXcz7gbxuZaeyjT8g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.691f8308_1518642549381_0.5159395973595413"},"_hasShrinkwrap":false},"0.6.0-alpha.ab2883ac":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ab2883ac","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.ab2883ac","@crave/farmblocks-theme":"^1.6.0-alpha.ab2883ac","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ab2883ac","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-EJfsY5Uuuz/0AwaPGNDRngxm08eceHeG4UG4sHrfRKROGKhfxPWU2GykIeSjVVD/7ZcdwD4mq3/ZhtLcRsYRDw==","shasum":"a154e024ec5b260e369b2934c959e54e85d978aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ab2883ac.tgz","fileCount":11,"unpackedSize":19461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChmqgMvjQ7uI5qZhAbEZm9C7qcp9PhWSSsXd+/98CjOQIhAIoNAZRDwEhzCO4z9f2KVfhlqorVGgKPsnZPv2BKx4/x"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ab2883ac_1518699849277_0.11725770717455708"},"_hasShrinkwrap":false},"0.5.3":{"name":"@crave/farmblocks-dropdown","version":"0.5.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.0.4","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-pOYiiDR9GXAdCubUSFlTilfL2FXX3r7KjbVN/JPIcbfInQ9C45PlSkvTBveA/BA80XmO80L4fO/CE7CgR1gv6g==","shasum":"1dbb0112470fdc34dd66ade850c47eb2c272a9e4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.3.tgz","fileCount":11,"unpackedSize":19372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuZSzsTadmdJaDwD/3gXQ8Bd6Z8tpDXuZ+bXwO7P8C5gIhAN+0DRNgTDcuhb+/Rh4S7xuSgnESEBTu4n2AKF/14PAf"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.3_1518710928866_0.6821421743856944"},"_hasShrinkwrap":false},"0.6.0-alpha.50b0d2d3":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.50b0d2d3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.50b0d2d3","@crave/farmblocks-theme":"^1.6.0-alpha.50b0d2d3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.50b0d2d3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-PWqIKvU2C/8AV890hqgRYw/tUEJnv48Wxc24jcS0/vdlTIR4vpXfjVfKyxLPv/5ntFJ8ifRL4h1YT0ZY3M4lEQ==","shasum":"412ebc3f8e64f0f5639f81b4cf43d34d9c5dc544","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.50b0d2d3.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/CDi1s0hyXEBqWB5be4jDENkrPVI/rEvcfPQ2e+bAWAIhAMUEWfwV0sbyuN9O7xp9QRE/p8yM/vAYUAXlDnWEY6Fo"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.50b0d2d3_1518727361127_0.8407054869883182"},"_hasShrinkwrap":false},"0.6.0-alpha.168f0cb9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.168f0cb9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.168f0cb9","@crave/farmblocks-theme":"^1.6.0-alpha.168f0cb9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.168f0cb9","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-FKu7ecJQJPcae7j0wK652vqUfO97GGvdZlXdGEZRjvJtlnOSEdj23+D7h0d4rF/BmG8HqcCsQBwAtbBVvkCg1A==","shasum":"695ad7a6c700a9e9886681b2e080d6f2cf535f59","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.168f0cb9.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDp98Mt2JQNOAEb20RW6Fk7Ye+s/jJIuJq4HJAnnPm/jAiEAgLs5UpafEXVC6UpwrZGPW2YpD6WXfoCqs5hqfLf+Ndo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.168f0cb9_1518727597665_0.4074739938863916"},"_hasShrinkwrap":false},"0.6.0-alpha.cfa0eb52":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.cfa0eb52","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.cfa0eb52","@crave/farmblocks-theme":"^1.6.0-alpha.cfa0eb52","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.cfa0eb52","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-eqqFSm8ju8uqq8+BviAQYf4ZjsjZWB7gQcZ7GFEvwLXtT7xFvtOfa3QycfJnAIEKdicAo+5uWz6JW7g4tqxeGw==","shasum":"42d59f5d305ef16893422ea5bf68f2635c4a67d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.cfa0eb52.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5ylNCYXS2Q5zuT2iTHmpT8LO7UAnfS99JO7P1QFI+nAiBKiTHvSc898VJOxJccrjgPXs4C381OFOu19PZewbpPLg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.cfa0eb52_1519042289189_0.8056149993899444"},"_hasShrinkwrap":false},"0.6.0-alpha.ed4f9e62":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ed4f9e62","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.ed4f9e62","@crave/farmblocks-theme":"^1.6.0-alpha.ed4f9e62","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ed4f9e62","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-XcCF3yiJvVietZl77kZk/KeDMdZszxdAiosMK5rztMfFGjlo2+6gYZCJLsacDAB2PT+MerzkXnRns49Mh4fxCg==","shasum":"6713b40f05c7c5557f8fae0c68a371f4fbdaca2b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ed4f9e62.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcIBwQDCaG9VDcao6XEXabP/5nVeY+eFL2G3lfwb11MAiEAj+SGkT2VOIWOqx2rxp5j03xt+xJBbPo645OehyARNF8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ed4f9e62_1519051282396_0.5346148825280685"},"_hasShrinkwrap":false},"0.6.0-alpha.ac715917":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ac715917","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.ac715917","@crave/farmblocks-theme":"^1.6.0-alpha.ac715917","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ac715917","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-rVtVNnLIGcDtXrHQEL1FOss2VGeEqftFxvWzKBM9bM+1W1KNfwOuj3qwcfwuY8buD3nnTZrQR7Z/Cr3lHFZ0rQ==","shasum":"13daffc91d33b8b2eb36c216630cda76bbd7608a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ac715917.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTVdrsD6HcEbBBHicHHjykYGMudYmoA6evAqLsBKUGZAiEA1vqEAbft6J8722toEdhg7dHWiEAJcvk092d7wqL56nw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ac715917_1519051627028_0.6487716121262834"},"_hasShrinkwrap":false},"0.6.0-alpha.5c7d34e9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.5c7d34e9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.5c7d34e9","@crave/farmblocks-theme":"^1.6.0-alpha.5c7d34e9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.5c7d34e9","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-iEZUv8ic0OYLgwCoezND/M8sV9l/0Uxh34YO9ErRy/LmtLJfaHQflOro/JfTdySkiTzwI2lx9GVkY5Y2WQSy0g==","shasum":"999319fd24e9b9d4ccc79935295a16dc337d27ba","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.5c7d34e9.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjxlpAnLXpuZuKrVeHzZdf2gksBu6bY3982dqIr4/jSAiEA7/1fuVMuU6MFlZq863B8XS4fG/FkkcjRxV3p9vlSsMo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.5c7d34e9_1519156125850_0.6053282786361649"},"_hasShrinkwrap":false},"0.6.0-alpha.92969b58":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.92969b58","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.92969b58","@crave/farmblocks-theme":"^1.6.0-alpha.92969b58","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.92969b58","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-as6ea+KzjM6iz0QcmNCWuUTMFYaheHNJ2QQcS7AWj0V74ymfQGj0rerPSH4Y2DugGTWMIgIVIrFrgBftu2k8qg==","shasum":"d98b0392d418f149995a179371ded5efac386a5e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.92969b58.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmkblIcxPwQyr1Prk5SGbKEA718trTr9HiRph+wd9klAiEAnisXhkvV77udzR0qoCtap1Uvy5OwuoFPpDa34bZhDhQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.92969b58_1519241789839_0.24009037216502205"},"_hasShrinkwrap":false},"0.6.0-alpha.902a38de":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.902a38de","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.902a38de","@crave/farmblocks-theme":"^1.6.0-alpha.902a38de","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.902a38de","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-oq71NV+B3QolhO2VHzwRxFp6iY031UG4BYh6ZFWrs44PsnEb+TyZ7bzYHjtgVpQDa8ziW76zM0rhOhLwLadwPg==","shasum":"35a08d7b229e4c708aae3ed179817fe20ad5a7dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.902a38de.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdaTHm5g6DIlCtw/2B9gIYLjajBloHAaFE6JcCRmmr2AiA1cctQ+xhvfyR/YChJKQdGSUTcR74ZHgIbz3sUPiWTTg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.902a38de_1519242647059_0.6046136211505297"},"_hasShrinkwrap":false},"0.6.0-alpha.ca52a343":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ca52a343","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.ca52a343","@crave/farmblocks-theme":"^1.6.0-alpha.ca52a343","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ca52a343","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-f26H3+KLbxSRac+k9B9Mm2Y4fGnkx3nkWMk8gxy39KICHO1jWusYrOKp5c0tDUBRaPf+bLLCVfl/cWXobuY6QA==","shasum":"87678c197fff54ba3bea2cc39069d2c81fbd8f6b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ca52a343.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICORBVw4rYQ9yctL7F7pANFqSUT1e9W/1jehj6qAEw3VAiEAhr+75fDBCjwujQDZIX3MNTiTcmtMb5B9Vcjhvzxm1RQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ca52a343_1519305581123_0.19596227405246402"},"_hasShrinkwrap":false},"0.6.0-alpha.3c54c768":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.3c54c768","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.3c54c768","@crave/farmblocks-theme":"^1.6.0-alpha.3c54c768","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.3c54c768","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-+vqlqetwExOPo3IfWa+l0z3p1EPwHpGdMGc4nTYtN7rD6WRQRcOD+/5+1nHTBVITTJg3yn0q3GRoM2KNfXZkKA==","shasum":"77968e8ed886f2ef44be54342ee203308d15ff88","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.3c54c768.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDROt9l/gSvLhwmay9IphjBnfkDYY5p82NRt1mO7tVttAiEAtiZ/jc5LjMgVjjBL6zrSPfFpu5gJoyTp9zfJNQK0ZDI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.3c54c768_1519321689755_0.014771644033498399"},"_hasShrinkwrap":false},"0.6.0-alpha.a3a35fea":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.a3a35fea","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.a3a35fea","@crave/farmblocks-theme":"^1.6.0-alpha.a3a35fea","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.a3a35fea","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-YO2RDaBMa2Jy2HI8ztHnyEkvBvDpgaRJWJmI2O5yFdtD2DuwMsRMF6z6rtUOOWRthwp9Dme29eRAtD3NGEV96w==","shasum":"12e45608c90fbeec9847a788f62273ea56d3bcfd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.a3a35fea.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8xwidkc3cLi0i5679ZaFbehBsMTVrAz+CpAukS2B44QIhAL7zF9a/VaHChboOpT3QFV8zNcpeuMEh0J4oebN8eixU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.a3a35fea_1519321834538_0.6221907280697798"},"_hasShrinkwrap":false},"0.6.0-alpha.2bb04706":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.2bb04706","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.2bb04706","@crave/farmblocks-theme":"^1.6.0-alpha.2bb04706","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.2bb04706","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-dXtZ9wCf1T9Ebp+s/EujITc8wmhM+IPjKA97gh+II34uT1h9vNRNij8ujO58af9VRi1ZCxSaI8ZkXWPQ3jcClg==","shasum":"f3b6c9d79b44fce3b957bfa2b5ea5d7f5b53dc7a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.2bb04706.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqW/jB7Zt/9zZ6yJuBWCO7OcF/QLrGLgobaOZQkWfgjwIgHD6rT0mIose10FclqbSM4M23zItaYUfUXy8mZlA8a8M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.2bb04706_1519330454432_0.7065373882050998"},"_hasShrinkwrap":false},"0.6.0-alpha.358a62d1":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.358a62d1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.358a62d1","@crave/farmblocks-theme":"^1.6.0-alpha.358a62d1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.358a62d1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-x3vwQTmLTqfy+DZurwQK492/cC8zEJSuttDSzBehqBONgiyoii8aKu3ecFDpyEEXgxByVgMkXN7FWQUXYnAivg==","shasum":"01b71db1ff3c05757c8c93915c59b8b371906090","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.358a62d1.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVpQcf6Wml3/P0WTBXh9455abT2lahP3ZYEfRfwfIJqwIgPkTvf17uyD5KTNb/PDciHgMwvH7AtF3h063O2AhEeO0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.358a62d1_1519474608223_0.22428669252589506"},"_hasShrinkwrap":false},"0.6.0-alpha.c751892e":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c751892e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.c751892e","@crave/farmblocks-theme":"^1.6.0-alpha.c751892e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c751892e","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-sGg9wGiNI6rmZulup3pK6RicClreXlzDMusgahEe6GuWOMSZ9uMLf6+rRxPjVZdPzEuUt5WyN9OEaZfUv1K1rA==","shasum":"69475f409ce2dfe8cf4aabfdbd12febeda35bc96","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c751892e.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYqMNE4+hZvmjCHXDmUlHfIYSrBsW13KfbBX4+z9f/dwIhANAmslqYblWjXq1TRjSR45MbWXutDqppvMJ7e8AxMFiq"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c751892e_1519474652565_0.8448137769595121"},"_hasShrinkwrap":false},"0.6.0-alpha.dfa3e112":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.dfa3e112","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.dfa3e112","@crave/farmblocks-theme":"^1.6.0-alpha.dfa3e112","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.dfa3e112","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-4lgHFRiCmvQbT1+qP4SGY6NZfM0bVRMcU+DOgztjIoGNyh/St+g1OV3ziCAUsrgfKJrJK0HDNT7RdwAYMv/CeQ==","shasum":"a58b992257a1ca0a201ea19b252506b25a12a240","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.dfa3e112.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlKIF17amkJgznQas1dylChQi/6TWVFrt+PTuNpjk8OAiEAnQTyWhBdy1vgjxKrD3FF75Z/M95hKmS9lfCULn80P+Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.dfa3e112_1519754590870_0.2948804457892247"},"_hasShrinkwrap":false},"0.5.4":{"name":"@crave/farmblocks-dropdown","version":"0.5.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-EMSr12CeUrj6tjqNbQohkQHeu7S2zN4R4gZNAh+ZGi1p34Vzfv8R+YBHR8xQhqkBOJJxX9Ia86I3A5WEX224yA==","shasum":"3a1846326f39f66c84ef1c391a902cc4eb5f2366","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.4.tgz","fileCount":11,"unpackedSize":19606,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtP4g6hS9KGVSrov6wFsmKep8bOHKBCI26KSA5eIlDQAiEA8rSvlQaMhGjCNyX/kBYLUrLXegXbK5UAHDC/Q0ZB9yU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.4_1519820597228_0.4632192850764756"},"_hasShrinkwrap":false},"0.6.0-alpha.2cae8f1a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.2cae8f1a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.2cae8f1a","@crave/farmblocks-theme":"^1.6.0-alpha.2cae8f1a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.2cae8f1a","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-GAk8Ov541tQnY356gdY3+hi8D8gkKORiEseTT1TPpGcclLEaxSnk6dM94Wd9TJd0agKnSGoHKgv2yb2W1NtNJA==","shasum":"cc13ef7d79f32fd01be77c0e086dcd4bcbce4c9d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.2cae8f1a.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqVAtKAPuJgE14csxER7jgFHFr5beYni6DrHDiVY6+JgIhAMUUQ63uHOsCfWikWQYi9iMbEmUX+OLBgAs8+sqphvQQ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.2cae8f1a_1519914577031_0.7776462479986963"},"_hasShrinkwrap":false},"0.6.0-alpha.6c857b04":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6c857b04","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.1.0-alpha.6c857b04","@crave/farmblocks-theme":"^1.6.0-alpha.6c857b04","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6c857b04","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-VwvEaFr8mvh05uzkGNtrosPzydvwV8+UzmxkkjygKQXX5VipTMCJQUNzhZPjKKSxXm24pD7yyvtr1fIMifq17g==","shasum":"9b81285b0ff040f809bfae7d832550e25ed5480f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6c857b04.tgz","fileCount":11,"unpackedSize":19695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+BdWPkOnHLyQ7bp6JSkhQCHC/2DnV2lp0m1E/Lt95UAiAmq6sAifYVDD5O+aCYii/NXN9o1JLtTDWBd6SmhkVemw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6c857b04_1519914784403_0.8745325318493327"},"_hasShrinkwrap":false},"0.6.0-alpha.e43ee4dc":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e43ee4dc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.0-alpha.e43ee4dc","@crave/farmblocks-theme":"^1.6.0-alpha.e43ee4dc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e43ee4dc","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-dz1p+MRHtKTHQ5pTBtHRY/pOPEp96Pk2alpXwekJeG9D5/I2/ntRGx8ck3u+H9Dz/Q7iq0mbpI/kWllItLBoSA==","shasum":"a2054d6adfd01c297029737941d667e2123ece55","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e43ee4dc.tgz","fileCount":11,"unpackedSize":19929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnUA+28IbmnYkLzxnVNF7GkM6IWhKGFDTbdzivAHe2eAiBPy4EOe7sVPXucnUKgOLibZDrHeEzGTyNsTShEzTBNJw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e43ee4dc_1519914956675_0.39486298120656493"},"_hasShrinkwrap":false},"0.6.0-alpha.9948bb04":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9948bb04","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.0-alpha.9948bb04","@crave/farmblocks-theme":"^1.6.0-alpha.9948bb04","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9948bb04","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-iHJbAdeRvvrNz9FmvLswJf6gKtQVxy5WB1g5cGK7XxoveQzk3H29x6dbZBgpVJLtc7S2s+cACNxQgRyAXqqfoQ==","shasum":"359a478696a2e51783b1dbdcab473a51d683a9fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9948bb04.tgz","fileCount":11,"unpackedSize":19929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKhcwcT8AeEwJqt6qpJBxekl2iVa5H/0boNURnr/D3JAIhAI8NPAg9d/toK2C08gwyoAg4cMHUbSKsEXcT6iURa1kT"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9948bb04_1519916111171_0.9902915406851052"},"_hasShrinkwrap":false},"0.5.5":{"name":"@crave/farmblocks-dropdown","version":"0.5.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.0","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-1a79G5lEIh/Cop1ULjjeL9Bep766By019H2yFiUbSuHNsqRMkmURbC8gnfMzm9sE3vrJ4LdRS9scWcJYUGVVLw==","shasum":"887b2fb7d372df5877e602691a6e41bd1b4a0740","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.5.tgz","fileCount":11,"unpackedSize":19840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICITvk8IE4u11kAfCYEKFa7zOeQjAXEPF0gAnz38Xr7FAiEAt5DHL0asHu2vJMwxvJ4sLsWgGMp+8y2Uheexg7+ZG+s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.5_1519916571337_0.5799248051577199"},"_hasShrinkwrap":false},"0.6.0-alpha.47bbc810":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.47bbc810","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.0-alpha.47bbc810","@crave/farmblocks-theme":"^1.6.0-alpha.47bbc810","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.47bbc810","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-YMOUPxxY3WLiy6yRndk+u6OqoeVBxHo5e68IGX2TOQh+xC59mGaCn26c9ARC1b163C0as4ysrNqsPbUETaRbaQ==","shasum":"2649aa64f4ff2933f9b3be4be0f1099e8f42e8fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.47bbc810.tgz","fileCount":11,"unpackedSize":19929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLLegLDYE1rFGT58QjUucT6WhLQyhAUPtaod+EexdCOAiEA497wwyljxAgUN1MiriirKUP0mXYXAB68UpfIOTYCETU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.47bbc810_1519916657955_0.08769467976308887"},"_hasShrinkwrap":false},"0.6.0-alpha.7d883b2b":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.7d883b2b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.7d883b2b","@crave/farmblocks-theme":"^1.6.0-alpha.7d883b2b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.7d883b2b","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-l80FvT8KFw70d9OTj3zfivXzDi51cbhJ8Vi+GN2inz0h2GRYK/0xqsScVDyJlF7L6P2fi6mapaIgxAQfCsNcng==","shasum":"d7983bf4128904c030691a6a9434791a863825b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.7d883b2b.tgz","fileCount":11,"unpackedSize":20163,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdNvuT3HBXrE8KDZdRR2WYSiM4YH3s981xkCtrulW78wIgUdoAMab8emkCEmvel1c9v7kQPctZ4pSczJhzRS1DBvY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.7d883b2b_1519916864880_0.8303165516087212"},"_hasShrinkwrap":false},"0.6.0-alpha.4fe9b155":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4fe9b155","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4fe9b155","@crave/farmblocks-theme":"^1.6.0-alpha.4fe9b155","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4fe9b155","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-N49NrwC3+Lae7toHVVxPHt0LAb650O7BEkQsC/58Q2KQwEPSdRq/k26hP1z231nORPctHmj5zAdmcgjqtTc3Mw==","shasum":"523e623dd93088a42ea3240cabab47080e443779","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4fe9b155.tgz","fileCount":11,"unpackedSize":20163,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1COKcIJM2gsvIiUIDy//1ntM9uGcmzoTDuqPh4/PNHAiB5zQP2bo8kMl63JXkOqOVmf6WT+zY0GduWr833ppLZyA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4fe9b155_1519917650820_0.1170043908055749"},"_hasShrinkwrap":false},"0.5.6":{"name":"@crave/farmblocks-dropdown","version":"0.5.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.1","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-9Mbx4oLAryzsvitkC/QbTn5GcHXkAfoDmmxJMqkMcu8UTUQMcgSBgD14ogyHjH16lp6MctnOhJjZoWFcIHPQQw==","shasum":"1f4652357546f4e2ba5692fe5decb87eeb215265","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.6.tgz","fileCount":11,"unpackedSize":20074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv8HUXleh39sOUJfktc8UDby0oPivsWWmEbnC2BfOJmQIgBxJxt8ZUXZZD1seMRaJ9uIsZzsU+W5ES1VFCQXs5a1Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.6_1519922769953_0.1803644676781706"},"_hasShrinkwrap":false},"0.6.0-alpha.5e2394d5":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.5e2394d5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.5e2394d5","@crave/farmblocks-theme":"^1.6.0-alpha.5e2394d5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.5e2394d5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-kFM+QoPY7wpQPbTWDAW1iylQTrv7Ff1eha3au0QnJVaJc/yKfALjIXB08ee+iRP730FDJIkycgcA7bnvBxBfKw==","shasum":"186b2aeae01429801036acdfea51ad17d5196cf9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.5e2394d5.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICugx5tZitzKxhuMlYdknTTx3dzjPcRhNTx1OE/zioeNAiEAiwfEeHz80HhAm/KaKjVYQkSTU1ADj2MAWUSQMgJWygs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.5e2394d5_1519923638736_0.9282608150438281"},"_hasShrinkwrap":false},"0.6.0-alpha.3339366d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.3339366d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.3339366d","@crave/farmblocks-theme":"^1.6.0-alpha.3339366d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.3339366d","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-IFCghyKmuEsMY/TQZyDPhzdNvMGZoyoxoYvReETjLXg2C3uFN7Igv6syCa3kNXeED4uNJB/0p/tjvYs28umZAQ==","shasum":"b2e6f6e0c63cfe9b4c49754e48c5c5fc545200ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.3339366d.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQovbu4LeEtzGMl6mXSVshVuKxzafg8ncQJRojrWLOvAIhAKIIYT8dEzWCactjXA2HUkMtvyKM6ilpd7MvyGryN3Fw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.3339366d_1520011800081_0.5281002791499345"},"_hasShrinkwrap":false},"0.6.0-alpha.15d60a1d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.15d60a1d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.15d60a1d","@crave/farmblocks-theme":"^1.6.0-alpha.15d60a1d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.15d60a1d","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-omiwCvWkdbaoHQoPVbIdg/vQykOhn7WbaWo80pUBIJKUVmH7FlvhHHgXPmOSSGYDrXlMX5KHNiNbLr8m+7kdSA==","shasum":"81b94beb18aedcdd3ae396b13a82da87a028331d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.15d60a1d.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUnHJvk+kAEyFLxpaBh8t8E1f8Hz07NlCYK7zM5raSKAiAjazauWOF/wABtMY8qVCwSFsphH0WtgLz/SfP4OP1xuQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.15d60a1d_1520013768724_0.09754488488440005"},"_hasShrinkwrap":false},"0.6.0-alpha.4689ce1b":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4689ce1b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4689ce1b","@crave/farmblocks-theme":"^1.6.0-alpha.4689ce1b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4689ce1b","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-KNQ5XWwRQhk+3H+6zcZt3Md/kgSkPRtqeN4FqsPk7pjcRguzFUBzNN9EJT8tL5AYdmA0ukKQvHwfRLs0l+TWww==","shasum":"20e0e1c62ba7f8092e422ad919a8edf13446bfda","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4689ce1b.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTAXTLRJ0sFTCsc1/iystc3eazesXH1klc0Qc61S65QAIhAJLJuRbtOSy/Z/KsG3IIRoN9jpZWLiEcRFitRMlQRcth"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4689ce1b_1520014352275_0.8181513949889054"},"_hasShrinkwrap":false},"0.6.0-alpha.55b75a04":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.55b75a04","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.55b75a04","@crave/farmblocks-theme":"^1.6.0-alpha.55b75a04","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.55b75a04","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-qcI0WdUQ80DQ5vXcpntykNp6WJHdGpbTNcObwN8PkWhfEoDyttSNm97OSa9fDa8WtMVfcthTPIrKlz82PUtZwg==","shasum":"e051739a46466e4f20c387ae30f91a0af502dfd8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.55b75a04.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHk6NVwhVfdBdBhVSg3wRJRu/ERuiisuJUUg/EVwg8ngIhAOjSySD6yyYlFwiuRCJ9tElP53PN0Cahf69tAa6l8CMU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.55b75a04_1520360822510_0.16077544213233752"},"_hasShrinkwrap":false},"0.6.0-alpha.bc9dca28":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.bc9dca28","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.bc9dca28","@crave/farmblocks-theme":"^1.6.0-alpha.bc9dca28","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.bc9dca28","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ybf7ZopCwG1+a8YlhUVwJqUS8nvZ9Nyb4yPLTrBeQxshLsthwfHHli7aOKQn3k2RxPJkB5jSAJGPBS7iMHdABw==","shasum":"1fb16805061fe2d3f6b6cacccc9fc98de55a3033","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.bc9dca28.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr/ZPbFuGTOXtkr5nwntv7+mGdGydRx1BJofqhSC1kkQIgECswCdm/9MfVpD9LBWO/8GinNGmxvmg8hJuYlIUI438="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.bc9dca28_1520371967614_0.8709420603002727"},"_hasShrinkwrap":false},"0.6.0-alpha.81b4b44c":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.81b4b44c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.81b4b44c","@crave/farmblocks-theme":"^1.6.0-alpha.81b4b44c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.81b4b44c","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-MEkednNVANN+CkVJ3rz171bAcxItXmeXhWRmct3kpAGOJThQclWVT+91PF8/NuiF/4nbsEL3JirlBM4/zGc0Ew==","shasum":"3fe7cc01467415bd92a9995a951212334d5776ec","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.81b4b44c.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD49tYhiRms8bBdpicpSObmV/8J+Us9QWS+b4LDONv5LgIhAKW0XWqFVMNgkG9nG8HAftwx3GAWcI5pWE1dj3e+8gtE"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.81b4b44c_1520431532537_0.3101751971918465"},"_hasShrinkwrap":false},"0.6.0-alpha.53e87982":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.53e87982","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.53e87982","@crave/farmblocks-theme":"^1.6.0-alpha.53e87982","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.53e87982","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-7Q2ubBY6j0yqY2UYO06GoyS22Y+/jGhhkC8YWfEQM7Oa6iZVJ5Q3ils51iVIIiZkR9CPYNjLYGQzh1yCwon60g==","shasum":"74f6aa69988043abcc2ef462ad1b1388cc58df0c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.53e87982.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBi3jzg/S6xEObskGNIJtVYKzGcLZ6MYkH2sMPthFfyOAiATYh9ZNRrvjyYhCNszKuXnK60YrYU/vIssDwN+/TYHUw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.53e87982_1520447016839_0.21434478313438698"},"_hasShrinkwrap":false},"0.6.0-alpha.df4193e4":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.df4193e4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.df4193e4","@crave/farmblocks-theme":"^1.6.0-alpha.df4193e4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.df4193e4","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-BRNPQ8i7xo8RJBC7rHT6LDL7RqzBFCT8F99O/p9zP4+vPafj6ItjFh/zIZw2RBsQr1dCw/3VJFsRyEXT2HxuAQ==","shasum":"7edf36434b3b77fff8155dc100a4a636282b0029","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.df4193e4.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2+U9qz56t9IPlus+hQpdM1CvZspa584R3acmcTRPaoAiEA1jcuyGGPjZq4jMtR7pW7yVGD3LrkteuM5SjcteV5YHg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.df4193e4_1520448545728_0.24667340366727997"},"_hasShrinkwrap":false},"0.6.0-alpha.c5e3d9b3":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c5e3d9b3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c5e3d9b3","@crave/farmblocks-theme":"^1.6.0-alpha.c5e3d9b3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c5e3d9b3","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-1ryajlcp6diac7DEXA17ViyIJt6+n65PvPpr2YejDC8Iu9gzI3sXKOebMfSf+J8XdWfKu6CmNY3+jQD75nr8Cw==","shasum":"849380c1e512298109d57e6a0c0431fb1482d4cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c5e3d9b3.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD620DWrDfDbt5gyLivgF8MZgjw09I0g7QP5Ah86GLoNwIgSUaTiDcRCj3B5jDKuUBL7Zhlzkz6AviWof4FjHbj9TA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c5e3d9b3_1520467252274_0.5059478269530522"},"_hasShrinkwrap":false},"0.6.0-alpha.9fb9a7b9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9fb9a7b9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.9fb9a7b9","@crave/farmblocks-theme":"^1.6.0-alpha.9fb9a7b9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9fb9a7b9","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-zMW1uJG7bB6lnEn9y7ZfBxtSPmNb+oa1D++xji3YmdfTYmkohpRFHtfyHs/Hzwxs1backs1uZbQA7VSOdbFzUg==","shasum":"017783219e1906c1932feefa39bc535bd3e4b813","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9fb9a7b9.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOCaB7XxgjwewcB5j46+SKZkR9gdapTFrVh4MimQKMBgIgNllX/JWUV1ZmIA/Ty6v1JB/Z4vnrvBjf+ExyuqR0Rjc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9fb9a7b9_1520468487753_0.160469178207153"},"_hasShrinkwrap":false},"0.6.0-alpha.12deed82":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.12deed82","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.12deed82","@crave/farmblocks-theme":"^1.6.0-alpha.12deed82","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.12deed82","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-pSviJGlnDL62JbKWYdEA7bm68wftd3lwlO+5ZvQXe8uXHyAhetRtLnSfqAqV8wyGdgz0hW6GoJCbJLHJWQW1lg==","shasum":"b4a85689d6195260dfdfff4734b9fe39379549f3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.12deed82.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDs02sHlnI8IHDVui/AYS4FZZfYarkqR4UccmCSJZgbpgIhANvOn6zBmpiQ9fe9j9Cc2q4XNT0iKrtSbrYkDPuhwyKY"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.12deed82_1520518101895_0.10995261773909237"},"_hasShrinkwrap":false},"0.6.0-alpha.86932e17":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.86932e17","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.86932e17","@crave/farmblocks-theme":"^1.6.0-alpha.86932e17","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.86932e17","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-rgIwZP+F3JIIhIu1ybrTy4/bq3TkmbgaEE9PnNqa5G3xFQBlArBv3v+KV3lBP2k03ywfuD3kRxyc2m9JfFWONw==","shasum":"3c0cea7d8afc626dac93cc958eb900528ebd37dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.86932e17.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEM0I6gB27HJdZGW3CS0+vJAY7xNZdZwGBMICeQO5jQOAiBvKF1Qg5LjJxjNx3iN4z6Aze2CdB6C+cYjLI0SIpihGw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.86932e17_1520522606530_0.10406481542079526"},"_hasShrinkwrap":false},"0.6.0-alpha.8677a9a6":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8677a9a6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8677a9a6","@crave/farmblocks-theme":"^1.6.0-alpha.8677a9a6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8677a9a6","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-uJPhOURBvyMys9xOwiVaydTSITmZ3+ZOCItOoabgkrWSZasURMbXGtUk6nBoIKjerFP+leGYjB90+8+EfU4/iw==","shasum":"87cd0ceb722cb315f7e62589bef5a076378c5609","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8677a9a6.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDpu2daJBKQ/ptkaFc2gmtUD335P20BW3357z/gFS6dAIhAO8TXvX3EcKM7vySqaEFEd+VENA97DK89JS1DmhqQ1UP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8677a9a6_1520539169964_0.9546045313875089"},"_hasShrinkwrap":false},"0.6.0-alpha.d7e2e285":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.d7e2e285","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d7e2e285","@crave/farmblocks-theme":"^1.6.0-alpha.d7e2e285","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.d7e2e285","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-5IseI2zPW+8sMEtZ4xcLNUCqNBI4/RB18NQhX1noAE72EwiIqvurDe+bqiTX+4Ry9U1YQDipSLco5s6RYkEckQ==","shasum":"957baebead643ffffa58c86fc9bf0fd239f80c7b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.d7e2e285.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHioyQSbeE2k/lPS2MDSnUQ6NIotq6tZHA5nTSfBIaRYAiA9sX851GRueyo9fK3u+faKRK/RvQfcLcOS+LTT0DCVMA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.d7e2e285_1520616089400_0.5169873655043693"},"_hasShrinkwrap":false},"0.6.0-alpha.36c33f9a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.36c33f9a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.36c33f9a","@crave/farmblocks-theme":"^1.6.0-alpha.36c33f9a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.36c33f9a","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-IgrU/Ac4TECyo0BwG9d5gIyLC0rXy8fM/wyOyQ1zzcftgB+4GWoS5YdjyFF5cogqhrZ43HdFPxb2GdYZwCpkyg==","shasum":"4e80d07737026f4f5fa807e86d0b7d58d0fa533e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.36c33f9a.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2b168yZk8kSPRwpPDde1AZu0taJ8tmPP+KEGr3z7VJAiEArXCbAdjV9tyJ2CC6A95YkiuG1edM4IjN9aSYyB75xxI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.36c33f9a_1520616618436_0.2867566536409243"},"_hasShrinkwrap":false},"0.6.0-alpha.8720692a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8720692a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8720692a","@crave/farmblocks-theme":"^1.6.0-alpha.8720692a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8720692a","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-XcfIfSieMs4FFvAJqSazBXvyVuktKhI2yFsNWmPa4fvSECXqHohUepiQHMFOVTpIIeHbgyb7uI949RJA8As++A==","shasum":"e3b5027c2c77b2cf2538ce9feec2e3c54558ae40","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8720692a.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRkbJmIlz6oVZ4fM69k5xS6NEmkXnInbpj+2KO7+HAmQIgAtrA0j2kmg3VyWldg8rhmLyayj7Re1KlDnbHrN/4bp0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8720692a_1520857757804_0.8964203036914944"},"_hasShrinkwrap":false},"0.6.0-alpha.6b8590c0":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6b8590c0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6b8590c0","@crave/farmblocks-theme":"^1.6.0-alpha.6b8590c0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6b8590c0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-jyGowqbSmap4V/IlZEgosD6O72MuGGONx8M2+BEi0/XDGaovKVpT6/tKBNadm05T2F2pzHUEvgXSZ0F3/5EGwg==","shasum":"84c7ada1fa7c1dce8a4001ed7ef3327b716b56ab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6b8590c0.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDV/sprKMIt8F8IUKYzIem84dwhmXcLwmz5GeKJNOsGlAiBDjZwD6U15cnCo3JoMF6Odi8KzuMQXlgYQh5+GBg65QA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6b8590c0_1520867584596_0.4517249539402557"},"_hasShrinkwrap":false},"0.6.0-alpha.388979f8":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.388979f8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.388979f8","@crave/farmblocks-theme":"^1.6.0-alpha.388979f8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.388979f8","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-2LGaQf6FcVyhsORRzp7N6u45213NSx/w1k2iTMYrrx12eASq9FtBch3t6BlSWZKC1XjTmlEWr+IsKNStqQzM6g==","shasum":"4d289d62e6b1668546dffae838fa49f6b4670bc0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.388979f8.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkRFU2BRlfpWjCaXn5izo4w6rBLnDeV3VxZo/oTzCt6gIhAMc8abMEhCKT2s8/jqTe8jGjdACfsQtWghpflJuPfzar"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.388979f8_1520867841089_0.6655854484066865"},"_hasShrinkwrap":false},"0.6.0-alpha.e1b4e0bf":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e1b4e0bf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.e1b4e0bf","@crave/farmblocks-theme":"^1.6.0-alpha.e1b4e0bf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e1b4e0bf","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-jQcpgb10lI4pt86zIO1S25SMXfY4Nn0o9/bkv6h7jRfWhNwkWcWcHF8ng0x2hJcDRaT1D0H97xmAE/QGcelBrQ==","shasum":"68a70d382e3685f2ca80321faea166abbc458280","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e1b4e0bf.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf10lBjhZNrWpMyp0VNWbFmAo/RXsLdxNbCxoiiS5LlQIgEBklNqoUqVDvF/4nVXodMcfYzLo5g0t1NZOcz9vyBhQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e1b4e0bf_1520876394937_0.1701871959181227"},"_hasShrinkwrap":false},"0.6.0-alpha.c9c9432d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c9c9432d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c9c9432d","@crave/farmblocks-theme":"^1.6.0-alpha.c9c9432d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c9c9432d","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-DqnturQjzjhxQINWhZHuy7PcawLJo8p648VMpQWe/l8xD+YXqzuuoNli82wRczWzcyqpGSD50thGy10+UvW/xg==","shasum":"d564a36c84c3f40a73bca6ac1fdf2dccc2cac455","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c9c9432d.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgslr6chuFkLzRgqlV33DRRek9k1sXVJQbLBx2dzwg6QIgRhj5MuqfFPp3CFNk3oUqOzEWloQuzhccDqD2VhpCsNU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c9c9432d_1520877500489_0.10318438646797157"},"_hasShrinkwrap":false},"0.6.0-alpha.3978e1ba":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.3978e1ba","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.3978e1ba","@crave/farmblocks-theme":"^1.6.0-alpha.3978e1ba","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.3978e1ba","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-BP8zfmiJlUgb0S5cGknuVzXbxxo3TA2PC8d4miWQI1MXiCZ64t+aBexIbxdfoHiyq0jQulr2EF17lTHpFdIHkw==","shasum":"efdd25a42ab2efa2b9af048817baac95115c9a44","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.3978e1ba.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs16mPDHlJAdIR01FaE0t5eD0p/aGBmyxw+TRqE19CBAIhAMLsdcmC9m9FROBriX5e0YQIfcj0ibyH3FKsGbKZUcrc"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.3978e1ba_1520947219546_0.901221586341681"},"_hasShrinkwrap":false},"0.6.0-alpha.8f4b3437":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8f4b3437","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8f4b3437","@crave/farmblocks-theme":"^1.6.0-alpha.8f4b3437","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8f4b3437","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-m/gPyG/hahtGStRrjku+6usvbbiQXWprUQVIODkR/MV31xA15i+ph01EpERgoZP8TCymNOmbhqqnNMRnKCIj6Q==","shasum":"bba1bf90349fc8b9cf1af2e430ab9c7d1d20ebb9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8f4b3437.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCEmbiShRBK15s/uVatLNsZNqwk5QntF0k7JpYR7Gy4QIgd7j7lrSt6RDGFijjBuK43/G2dlvp0qdkrQxgYe8ql7w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8f4b3437_1520947305008_0.329468221455131"},"_hasShrinkwrap":false},"0.6.0-alpha.543b1306":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.543b1306","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.543b1306","@crave/farmblocks-theme":"^1.6.0-alpha.543b1306","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.543b1306","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Mlx2BreFu9Mx0QX6NDJQb4l7OzPKxWMcUEJXwnB3H7e/Ezg79rlo0aHHdeyDOu+JSL726hB9e7MNqACHI36QWw==","shasum":"31e2eeef2c11e2162707d5e4a1f792348b0d20da","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.543b1306.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA8v02+FA9m0YwBWG6rew2c2xfpFBcuyAikBO9YCJemQIhAM7vi5V62nT717dpVfcxd+Zg5i2PhxjrwtEsNgzlGcy5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.543b1306_1520951644014_0.7535439045373007"},"_hasShrinkwrap":false},"0.6.0-alpha.ef9f2f12":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ef9f2f12","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.ef9f2f12","@crave/farmblocks-theme":"^1.6.0-alpha.ef9f2f12","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ef9f2f12","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-74bX8XSAeC884dRvGEVeNHFAePzK6I+M1LL0PGh1FCMqM4Zck2qAmUHdaUcQ336lW4bmc1fuv6t4eDkhUyGViw==","shasum":"d8632c7943ecdb80e1785d2f0110d7b85345d3e0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ef9f2f12.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/x0QrkKmlSEi9XpdZXP0MHDk5d26Q7Y+aAaPWmB0nlAiEAj6eR6Qg28FC8gMwo8mwRWBNPtd09GFdn1yk4MGFY54Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ef9f2f12_1520952537548_0.11529106346831464"},"_hasShrinkwrap":false},"0.6.0-alpha.499c92eb":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.499c92eb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.499c92eb","@crave/farmblocks-theme":"^1.6.0-alpha.499c92eb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.499c92eb","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-S8/YeXuqSOXkNH00ftqEvE0B8ONcxsh01WGPRSYEOMP6CreNDlWnEzCKllrcrYWk8EFp6XN9okk993LoYktrsA==","shasum":"315cac2e242421336104b58674c3c622de6b6078","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.499c92eb.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEVvnEYZp70LA/57VHRkIUplOs3cymZpxXOEfuSXvzVAiBbXlOm0tK1Gyut9qmqu219HYo4KgdWdHBl4b3VSTEzJQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.499c92eb_1520958140801_0.7308561585169648"},"_hasShrinkwrap":false},"0.6.0-alpha.2683dfca":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.2683dfca","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.2683dfca","@crave/farmblocks-theme":"^1.6.0-alpha.2683dfca","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.2683dfca","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-L72Yz6CZBPbpzhzHB/+AfZq1Hn6nBxUjBNee2H8kqPyHyTDMsqdruY+7foZHVr62+NQ87Wq1/Q7w1y+QazTT3w==","shasum":"8ba7e59e2bde0144186abf110ac9fab1d5f8174f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.2683dfca.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD62ZCGn55QR5dhC3oGnJUHya5v6WmB/XLMG9XBc9NlpgIgGVL9S1GDVk5h+i7ag9rNrjHIcglvQZNhMM3xs+QvoYo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.2683dfca_1520961744104_0.06393766332033124"},"_hasShrinkwrap":false},"0.6.0-alpha.9c34a990":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9c34a990","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.9c34a990","@crave/farmblocks-theme":"^1.6.0-alpha.9c34a990","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9c34a990","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-obzbX54/QFZ8Xf2ZLAn8pwEDTCZuMQvJLbsIx9pAKXYL4Bpgxj8gbnsNy71Lrycu9z3XxWezOqtwUfXmjWiPWA==","shasum":"6cf0ff1722aa1e07f4b569a4617ea783209fb417","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9c34a990.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiAhayVwUy6ZFdFPZOyNXvpmgyRgLG0aabi07Vo/dFhAiEA+1NVQ+EVwx3pooGLTa/Lnfn9+HAI5tjghJSACkkMT7A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9c34a990_1520962214956_0.03909864638650529"},"_hasShrinkwrap":false},"0.6.0-alpha.88a4310b":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.88a4310b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.88a4310b","@crave/farmblocks-theme":"^1.6.0-alpha.88a4310b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.88a4310b","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-mjDbqCJpRTTmmqbyhqiJCHsll4Sd6fjCqXeqMs473obJKXeiFC5NZ8tYxhTJv/IogWWvv5E2ZdTwG/Z1IZOpzA==","shasum":"071a388e30dcfc06cec99060faa698842a27006f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.88a4310b.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxwssDKa9gsdR9y351l73sCF4I32WUou0A0wQSOza5BgIgReAdfWziViW398h+kRLmA8faoMqtZ2x54dT8fyZnrx0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.88a4310b_1520963683759_0.6440830910477457"},"_hasShrinkwrap":false},"0.6.0-alpha.d6fe25e3":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.d6fe25e3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d6fe25e3","@crave/farmblocks-theme":"^1.6.0-alpha.d6fe25e3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.d6fe25e3","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Gs9ray3KMyhrNRYU1KZxiNn+n8g0HjnFWHDtNPb41x0J/zbMA3yXTRUgi/Kyprhtj8xxD9/iQqIdZ1wiaydfOw==","shasum":"4cdc50d17da44c9ab2cc21ad1865fa931e11ea55","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.d6fe25e3.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQW3Rq9NTNthv243cMtOao94+h/xMx0YwIvUV3GREAyQIgGiO+4JeJy0Mn9krrJw4NTUoqp9EFM273hVqrts7FZV8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.d6fe25e3_1520971710956_0.016198551664058147"},"_hasShrinkwrap":false},"0.6.0-alpha.760c5088":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.760c5088","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.760c5088","@crave/farmblocks-theme":"^1.6.0-alpha.760c5088","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.760c5088","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-KVZiu6jFfnQni0TM9P+VfdmTsTD6EKCvSgfex/vUQYi7yqDL9L9LvKE9yMfmeNLU9fGSUOE31MBKNna5qdNq0w==","shasum":"e8508c3b62aedbc037a9a3bb6cc4df38355ce9ea","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.760c5088.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSmGvoqEiSWoTYvJ9cfmFHkHd3CqhCf858TgNS+TDv9QIgaZtW8/hT+3msK8DFrowIzncOyqXj1LGMvr62TQiPXB0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.760c5088_1521031714774_0.34959940330647"},"_hasShrinkwrap":false},"0.6.0-alpha.66679c4f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.66679c4f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.66679c4f","@crave/farmblocks-theme":"^1.6.0-alpha.66679c4f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.66679c4f","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-hkbabkt2/kSemuqBAIrb+0Mr1bMyI9KQ2HhZQc2LdMZsJ1UELprsJEIhXyGKfKptu51pYWspNfivgdn3kcwIWA==","shasum":"45f2722a18fc42ddc96c03f7d7773aece4e12dae","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.66679c4f.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4+SSD36AvQUUy2XwmYWJ3MfNrJ1Oq8IVRuJjSiC312gIhAP7FXwdsuuhQPcMuA1ZOg++4seMAWP/0SqEKONg4m4sL"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.66679c4f_1521036066758_0.7983524085706886"},"_hasShrinkwrap":false},"0.5.7":{"name":"@crave/farmblocks-dropdown","version":"0.5.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.2","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.7","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-H1lYRoX9le7INUta739ASJC6Rzxuy8MCuAU49Orh+MEdYPvosxLd92w1wuG4/i0Cc+PUo3EePfSGtnfzuJQDEw==","shasum":"4077d7a8eeb900693f3c37b7b8b89feb9146a76b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.7.tgz","fileCount":11,"unpackedSize":20308,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDUN1rbeTlyY5wxRqABeDrBod65NL34rJ60bnTDpdQLgIhAMzANBxUzOkdKoco+6PmoXra/9a6MKFYhgognE4sxnqM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.7_1521037367625_0.5518826501958056"},"_hasShrinkwrap":false},"0.6.0-alpha.7615e6fa":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.7615e6fa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.7615e6fa","@crave/farmblocks-theme":"^1.6.0-alpha.7615e6fa","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.7615e6fa","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-c7+ahTbpIit7FbbbClEuZq7s0IxqXPXzdwSW543fsORzT0Adp5C+ZgVcybVlwTgYxCsmyw/UMOVFolPhVpIuiQ==","shasum":"c5f16c357955ce923caa3c7f5e19f7c131ce519f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.7615e6fa.tgz","fileCount":11,"unpackedSize":20631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjdliFIhTnROOFIBSxyBjFYIqYr5ZYguUzCtDqmmRpQAiBzopJZUjlMvGMLuktHBrIWZf+IjoWSnNdIMMBt3TRTBQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.7615e6fa_1521050210418_0.4168565694261801"},"_hasShrinkwrap":false},"0.6.0-alpha.26941b71":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.26941b71","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.26941b71","@crave/farmblocks-theme":"^1.6.0-alpha.26941b71","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.26941b71","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-J+8x3HYR0yk002rSxkT75GZDv9g0ndzq1wQEO9Mkv1h+CTeiWbqFB9zbEPCvq1zoFHo407J8Xy6MMo/lw8OFHQ==","shasum":"efc128720a70461aaf9cd15852bf965980ff7e69","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.26941b71.tgz","fileCount":11,"unpackedSize":20631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAEinOUcXl3Mpy9JKtCN0wqHr2Iyc0BxN7YmRSQobaxAiAwso2rKnI1S0MfGojNWg4JUOBabiDhelwJQuDD+F9ieg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.26941b71_1521050562229_0.8726661676880687"},"_hasShrinkwrap":false},"0.6.0-alpha.c41d0cab":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c41d0cab","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c41d0cab","@crave/farmblocks-theme":"^1.6.0-alpha.c41d0cab","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c41d0cab","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Rg6cQsUAmycWHa1Bv6IEpkT08dJRMcwbhejLahpL/8MM9a/UfzvyQgSSls3XlKN24b5Mco2Pnt2etC9zVFOVVA==","shasum":"9a68e0931c123263745c418dc85889ad742993a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c41d0cab.tgz","fileCount":11,"unpackedSize":20631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAliH4PjhOb3KQz860LSLXfsNhxYhceSpfgWDT/I5HrAiEA7VmeTgPvYqABFLcZMMe7yjhZObMEmqP7W+uKP9beo/0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c41d0cab_1521050774211_0.9497578393519561"},"_hasShrinkwrap":false},"0.6.0-alpha.ee0b6b96":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ee0b6b96","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.ee0b6b96","@crave/farmblocks-theme":"^1.6.0-alpha.ee0b6b96","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ee0b6b96","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-PaNgSNQo6MGIhwQruIQyxgn5E52SIznqDcBeOaKNU4tUsxPgPhBByVjvTycVLfI0+Z0PAdTosTb8eeil2CWKsg==","shasum":"b99b5d43c119bad02f7a695a8dd84b02730a0552","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ee0b6b96.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvy5be1Tu5Q6PhhWuHw9e2Wg+3DSvHdxaAPW70bznWxAIhAK24OjtWl2kmU47+fSTle39cq4JEx+jxWmvkK2z0Ikvw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ee0b6b96_1521054451972_0.06464663248286451"},"_hasShrinkwrap":false},"0.6.0-alpha.f4d95bec":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.f4d95bec","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.f4d95bec","@crave/farmblocks-theme":"^1.6.0-alpha.f4d95bec","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.f4d95bec","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-x61greO4MGyw3v14no4QQyEb0xFD0efvOU92ySW/i/ReYYvcl2CzTSEOJkae5hLStZAdorMO6ox5u97HenOUaQ==","shasum":"d66ea9289c6afc0da85b15e22ebe01c832885123","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.f4d95bec.tgz","fileCount":11,"unpackedSize":20631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqQppZ90+x/SpI3MiSApCIL5VHnuecGGe4vYK8DwavzAIgCUDQqVY+JcaNBX0yq+GxH6Vd8HRr6MqURGVKMxHbomY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.f4d95bec_1521114838920_0.49691256320477994"},"_hasShrinkwrap":false},"0.6.0-alpha.1cb5bff7":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.1cb5bff7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1cb5bff7","@crave/farmblocks-theme":"^1.6.0-alpha.1cb5bff7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.1cb5bff7","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-3AQ9gu8bEmmeVZsColDzjjDPb4hxfSH8lGDKrckz9229mpuT4RcPsANGuNVl4W8Pr4Xdij/zi9eQSgcytXwITg==","shasum":"3b131b87517aff8e8f80d1df3c3c938f507967d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.1cb5bff7.tgz","fileCount":11,"unpackedSize":20631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVwJ3Fw9hmf2fk+E1jdegfBTO+U5pS1lGrNtDqva+hzgIgdvEJuOh9P2fjwFlhWSyTcjLHNde1aEqsCVb+/gC/Hag="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.1cb5bff7_1521125732404_0.7951804359747803"},"_hasShrinkwrap":false},"0.6.0-alpha.7bf79ebe":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.7bf79ebe","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.7bf79ebe","@crave/farmblocks-theme":"^1.6.0-alpha.7bf79ebe","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.7bf79ebe","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-W42hyPHMSZA6A+s823CiWGssynK+Vq6XayZfKP6cLXVU3OmjJASDHzxIm595jvLAXmLGFLUVnEAxdv5Gd140hQ==","shasum":"031712f09fe91974a9b8783bba8d026efa1993b1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.7bf79ebe.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/qOgQoOULgQz/oBdac4gGeZHdoJHTArOwVx0SFtCt9QIgYJiQhLVHBaog4NQCVRhAJl8Jv4mASMfIGDAu3ZkO7RE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.7bf79ebe_1521126038299_0.9943670498922577"},"_hasShrinkwrap":false},"0.5.8":{"name":"@crave/farmblocks-dropdown","version":"0.5.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.3","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.8","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-hyICGw0ZQxq4KHP3PCWSSJqNUlyYWfLJHmhtvmRbR2yR/rftKPFCLr/+1ahsVlYMi37hqeZUWSjrIIh1TYjrew==","shasum":"5b05ea6c00ae12b8a965fcc704d7b33fd3c54d0c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.8.tgz","fileCount":11,"unpackedSize":20542,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+cqFBrSs/fCiyK6efo6j/D1WBm8BTWNiJEpO/V+80zwIhAI9NBYqxaFQkzZALZduWCJun7MB0BeyQSh1od5uvHYCJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.8_1521126254846_0.6951160041303455"},"_hasShrinkwrap":false},"0.6.0-alpha.b15bc255":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.b15bc255","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b15bc255","@crave/farmblocks-theme":"^1.6.0-alpha.b15bc255","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.b15bc255","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Kv3km7HTw7NIRnCTCehx98B9X3ceHJiMdXvb2aQ6EjpbI028WBLr6aYkubUR4vcyc1UG0Ym9cBwExvgiv9adMw==","shasum":"4bc2c7f8b49845723ca464a8b3335a12d5d5f826","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.b15bc255.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7FfSkpmm1rWKPQkTVIT2z8Do047JuiSqK2nOUxtXn2AIgPxvlN+TK5avTUW6ex7WxXOqKPLYx2yWf7q2FBeknoko="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.b15bc255_1521136353213_0.5027225848869459"},"_hasShrinkwrap":false},"0.6.0-alpha.0e6bc9f8":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0e6bc9f8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0e6bc9f8","@crave/farmblocks-theme":"^1.6.0-alpha.0e6bc9f8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0e6bc9f8","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-/lgs3ukXlB4FtjLgMyiGSjFPBIbX4PHqqfXmotIxJC3026T+p2/ORGaikocqLZ3OqXZuiteCEwmUalCr1FFIrg==","shasum":"d887356ba8347ea7391c5a3bf056ad63726c2fc7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0e6bc9f8.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBd0nT4E5dOfUhumee2l6y2vGd8AwUuE3Kwldnk5tPq5AiEAnmwqQQRUAqGOuEGKBSumL7vOFRR92VqFEARuNUCj57E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0e6bc9f8_1521138027963_0.27042185608640823"},"_hasShrinkwrap":false},"0.6.0-alpha.8dc14280":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8dc14280","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8dc14280","@crave/farmblocks-theme":"^1.6.0-alpha.8dc14280","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8dc14280","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-z3FzrsRhoQCR8C6md07cbHXyk4E2BIXjwarRS/2A3PxKf4DaAcoRKwsj0znznaMXtu7e6kudeqP0ENMKf3PQng==","shasum":"5b4765f9dd10a3db0c16cbbaeaf41c6804e43939","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8dc14280.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDypHL1O5v4kW92YgLDVwKErwav6ehD8JZi+hCh2nnk0AIgdDONVtk7Ckw+zfMEXdWySo1AEYe8uAX9ZmzEtsC/tpU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8dc14280_1521141562208_0.926828244728902"},"_hasShrinkwrap":false},"0.6.0-alpha.8ffe671f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8ffe671f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8ffe671f","@crave/farmblocks-theme":"^1.6.0-alpha.8ffe671f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8ffe671f","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-59vjZtArbNhjy0p4Z0S4M7q8SKgtVpnPycxksONg8VbrIvW4rmalwf95JCyzFVZnVB10jXe79Wlajlh8+yL9uA==","shasum":"61e6f40b7312ef2a77395adb6fde38c5414058e9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8ffe671f.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ/0EvM1EjwnAQxc7WXSoDPIpTYe3IJppbLQinnLYjpQIgatSdW4u8PdWevQojPh8jqtOCanzT2QrHa/U9YWvVbiQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8ffe671f_1521224069613_0.9089874219843825"},"_hasShrinkwrap":false},"0.6.0-alpha.d39611a3":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.d39611a3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d39611a3","@crave/farmblocks-theme":"^1.6.0-alpha.d39611a3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.d39611a3","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-tEaCKxNlBC25YLOH3bo3QLKZeJmNf0PHHwDVykBRMwPERpO5Bo0ulCPs1ODpG8iD2fP3Q88CqOEBYYbMG11VAA==","shasum":"0070340d09d5e48ddfb5cc63a46a8dbb1a869de7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.d39611a3.tgz","fileCount":11,"unpackedSize":20397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvUPnkYmDaSD5CxgpdgRHq8lUtff808aEWOpFXA+mbkAiEAyJMXvgelz+8GHnxn0qbVwiGvnxY35YlP9uw5arLJffA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.d39611a3_1521225444384_0.741419793537907"},"_hasShrinkwrap":false},"0.6.0-alpha.4dcf9d8b":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4dcf9d8b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4dcf9d8b","@crave/farmblocks-theme":"^1.6.0-alpha.4dcf9d8b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4dcf9d8b","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-pGCdawNwpeN52zXi9VqlfNjkftkdpfjx59SkDpmQDzgpZdT3v12+6hin2TPzjagtL7oF9awe41fbvBTkMTZcBg==","shasum":"d40033c05d563bb8d883bff4417363f6313de11b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4dcf9d8b.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBUfPDnEDLTwjL/ue/QkO/IT6KrnBj3b4vK2wz+CRtcVAiEAtuYsopLD2kyG30WKYA5TRpPnt1sTjGH720bFZ+2DOUY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4dcf9d8b_1521225570455_0.2516108376339552"},"_hasShrinkwrap":false},"0.6.0-alpha.b68c91dc":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.b68c91dc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b68c91dc","@crave/farmblocks-theme":"^1.6.0-alpha.b68c91dc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.b68c91dc","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-EX9we7sOn/DnY8Q2Gd4gg+a6+By1sW67jGVtqLFCONuDtfUOelKlVMCMuw8Wmz7jjAA1s2vtkrJn86Fvss69jQ==","shasum":"0a7ac2deea07f5e35319812bff81a97bc59f0a4b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.b68c91dc.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICo28m6EOoe8JIO92jqqrM4oSBoB9z36cCxiHCj5vu8VAiBhVocXCD22/Kgh+Pm+OtwC/nrgCxWAXyFYwn9FmT01gA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.b68c91dc_1521460064117_0.285572083804007"},"_hasShrinkwrap":false},"0.6.0-alpha.4078b107":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4078b107","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4078b107","@crave/farmblocks-theme":"^1.6.0-alpha.4078b107","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4078b107","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-FKNbUj1DXmr6gMsKTzRLrJYVb5fQxca9mPgghHEe/0v+iaTLnb+M+LCU1Nzgvsi84sHbWSplZvaPROFxArOBeg==","shasum":"f5274e187ca075da4abf295f39eabf8be9b5ad8b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4078b107.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAor3ndaiT9GV7xcksPQL4+zpJycCe3aPmR6gCAddf8zAiBrtlUANLIfBhoLze9alnQJctExeoGQcg+wdJ9+8p0JdA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4078b107_1521461302216_0.4693356796954442"},"_hasShrinkwrap":false},"0.6.0-alpha.c4761b78":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c4761b78","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c4761b78","@crave/farmblocks-theme":"^1.6.0-alpha.c4761b78","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c4761b78","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-mHfDbyvrcyu3YTyJwrid9VVMXIMtfxJzLehaSY1vCErBQk6jo0mJxwlIZUB0hmW/hsk2QpMCDRtXb2Obo2KdLw==","shasum":"62be7953e0299df2075e4a0aaeff5b6858fd74c7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c4761b78.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwvC+X0/nrADpSr95MaY4oGjoCCh3wRPN3Ioq0GDzlfAiEAipY3XV/vVvN1xUx7lhfsrra3Au2xd4cUkxYe9qSKaAk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c4761b78_1521472667923_0.2048198883937027"},"_hasShrinkwrap":false},"0.6.0-alpha.4ad7774f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4ad7774f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4ad7774f","@crave/farmblocks-theme":"^1.6.0-alpha.4ad7774f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4ad7774f","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-rIbc7FQfrIE8W1fZZZRGox+CvHr+S98VLEXMuKnRQ+5vBoWtKA1Nq/2UZf326JQrGILuW4u+kHPb7DQwrC856Q==","shasum":"1177b6c02625915cc60302296aad93edb318fd7f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4ad7774f.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEtQevf2R/pYyF9DuNHXYEqD9ayjgy6YuGsh5GqwQ7diAiEAmhW9JDAJWQt0zZqJOscJ919Vnx4t7jzUM1qL5xNFKm0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4ad7774f_1521479184078_0.9335789792432845"},"_hasShrinkwrap":false},"0.6.0-alpha.e5432d16":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e5432d16","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.e5432d16","@crave/farmblocks-theme":"^1.6.0-alpha.e5432d16","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e5432d16","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-dhf1cMgb7kKUEqBFMzbb5Uwb/ZeSjgU5dc+uxOLIBTKr1YzlL5kVvcAIiVgoanpRT5KItg3l6gHMt3jxOIjFMA==","shasum":"9d336311e62bfcaf6f0ffae8d581cfc5fca33297","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e5432d16.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxRoX2kWS/7mT+v3COy8JlzLheJE9rh34gO8YJdha4LgIgMsJAgqURCyfNOxhxRMwMhXh8Uvu3avls4AIkqrPKjLs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e5432d16_1521485295034_0.7128385094829555"},"_hasShrinkwrap":false},"0.6.0-alpha.52f23955":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.52f23955","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.52f23955","@crave/farmblocks-theme":"^1.6.0-alpha.52f23955","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.52f23955","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-hFPoJ+Zzbtz+mHLPr0LKlixnF4H1EQltGICZCyXFukAeBhr7luu+XTfILl7KCuZaVIjK8cWtcGtLz8gBt3CU3g==","shasum":"0570cb4ca51dbd0fb0158a3e18d5d823345f25e5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.52f23955.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICF2CGTd8H8dKJwCLST/EWdWySNp2FwdpUelvBToHC8MAiAB6Quoi08/8gGWGT2M8a4m/hNCG77JYYwv6J4jkyZGkw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.52f23955_1521488547353_0.18679508030292924"},"_hasShrinkwrap":false},"0.6.0-alpha.cd64f3d0":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.cd64f3d0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.cd64f3d0","@crave/farmblocks-theme":"^1.6.0-alpha.cd64f3d0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.cd64f3d0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-21qSO4/kO9WLQGJMKTVI141if4gb/v3NW9deva4Y62UNnEUakSAZmaKU3MbN1Byhuljj9zxHGP5GBg1/48ofNA==","shasum":"4c225cb0597695b2ed36fbd88b57662a42cdfca9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.cd64f3d0.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0Q7YI4+m4w5G9034WuDRwX/bHsc+uDm7CT6qvWpCUMAIgFs+XLRi34j8A35hgLcDitOe4WHw80LwIKMg1KDMfFOA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.cd64f3d0_1521549396808_0.3256334987215421"},"_hasShrinkwrap":false},"0.6.0-alpha.c7796535":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c7796535","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c7796535","@crave/farmblocks-theme":"^1.6.0-alpha.c7796535","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c7796535","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-SIcWpouQYgWrRSytM53QOpJKKXXGmLgKxQCnjSMpEThtsdojHLM9kFBX43xTgAB6LEPmJOFlS8UYTVkru1uMdQ==","shasum":"c8cc2274de1785464d1e045b2d51495c5e7674fd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c7796535.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGb8jTp00B0YBFpdafuiBs3I3igSABlywBjeNS4hwqWUAiEAqfHxmv1XZFATXHDYt7cjONpjrVcSrrhlOQCjWfzt6zA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c7796535_1521566766313_0.08663941988468848"},"_hasShrinkwrap":false},"0.6.0-alpha.6c3920ea":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6c3920ea","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6c3920ea","@crave/farmblocks-theme":"^1.6.0-alpha.6c3920ea","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6c3920ea","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-SA9Z6DHZEmBqKh35u3U37Ce3fYf8LcVQesp760p2jj8Kjauo5csrGxwNpS5ZDSFlk8/Do5oW3VlaORdisrDfJg==","shasum":"9da73d39b1ef85d017b7e21de909ba698ce1c5ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6c3920ea.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZaXVD/reD4f0lVEKlQWpt9rNdRXxGV3AR60/tLlM6cAIgTJi4LfSg6stqsVfhU/q1r/ZuQZA/xzlngr1Kj44v1Os="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6c3920ea_1521567705689_0.23087068443674164"},"_hasShrinkwrap":false},"0.6.0-alpha.c15cfab2":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c15cfab2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c15cfab2","@crave/farmblocks-theme":"^1.6.0-alpha.c15cfab2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c15cfab2","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-asmslo7r1QR/VgIqaOP+90B0J+3fzJMMQ+J2mtso4G3TnFHvapOi1vPKxVLSwarc9e0Qs8cdPvKyGqWdYBVPyQ==","shasum":"a1886469ba65474920ceae09bbc8f644e67dd62f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c15cfab2.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtWKVbTjJi/OR37evSYzau7/pvXtYDL60TZPNsaZKWwgIgS2+9Bc5Um/txKSrkz01TeLs59WK0CXpdxXKxWZe4p/g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c15cfab2_1521568375013_0.26957517070851145"},"_hasShrinkwrap":false},"0.6.0-alpha.8d069b3e":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8d069b3e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8d069b3e","@crave/farmblocks-theme":"^1.6.0-alpha.8d069b3e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8d069b3e","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-3kyPg52LvM7Yl6iDtKcRqbqJSj822Q0sbrJEZ3jr/PIqVGzm4j9nC3rZQMDBmGBo4Q5WqEgKBypp+h9fx6w9/A==","shasum":"5b710e4fb48875e39452bf8b83baf5fcf6b8b444","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8d069b3e.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcCuSoib9z57AylssZqLOZ2/dvYYSjh9Ogdbnu1vcppAIgY6OYGbTxDvHt7ihd3UWz/7WtUSvxEY2rDkKUeJZX1OA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8d069b3e_1521576089314_0.5044251372397035"},"_hasShrinkwrap":false},"0.6.0-alpha.0d8025f3":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0d8025f3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0d8025f3","@crave/farmblocks-theme":"^1.6.0-alpha.0d8025f3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0d8025f3","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-F8kted69oa/YEq5TYl2tj9LHDnWn6qoyxN28N2Zx1GOidQoy6cCVeSIW5fWFsV4DuJIy84P3/v53Dk7+XT376A==","shasum":"49d241b71c6c3d72a6fadf36dfc4ca05dbda76ff","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0d8025f3.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJHWhelY+XphTAVZzEMXTqBT+L9CPbrATXinxwe3XFdwIhAPmuXXWVFDYBQtgRCx6STgTGaV5BmAmp/X62um3aoAkj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0d8025f3_1521578832738_0.00893422183206205"},"_hasShrinkwrap":false},"0.6.0-alpha.ee27b8f7":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ee27b8f7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.ee27b8f7","@crave/farmblocks-theme":"^1.6.0-alpha.ee27b8f7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ee27b8f7","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-V1hcPZmF5kKFi2SDSMhTcuX4WXnwiRr15VxnJCw2rHHL3Q4Pp36MJ4iDCuhwnR8e8tuoGk9qydn1OUC0ObPF8g==","shasum":"e2de0e6e794348eb4b8571781cd19bb9c3c2795f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ee27b8f7.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtc4N9IJlV/Npy+NZz2QMChnZj5Ef6GgkouRpGcoyJeAiEA/bTJVhfalS0QLehHblniC6faScOR7dB3cN3Mf8yP+a8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ee27b8f7_1521579696287_0.0916001771502386"},"_hasShrinkwrap":false},"0.6.0-alpha.b20e5c2d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.b20e5c2d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b20e5c2d","@crave/farmblocks-theme":"^1.6.0-alpha.b20e5c2d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.b20e5c2d","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Iy9b2tU73LrdWlDnbR6jnxPnE3K11IRs2Qa6LZWydB2N5r75xbC5/L7q/pV/5YsFEd+6Cjq5QyDg+PcHuD3i3Q==","shasum":"81c123be7a3d9a8f285f05b22efacee2d24750ab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.b20e5c2d.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBP9a0R4D84vK1Jk+a3UV0oLab1rpJdrPqWmIJDVwYiUAiEAp2bA4bR4BZb83lWTBJe2fpPkR0cAoKFFtisWiShPATU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.b20e5c2d_1521636906650_0.04894192199141911"},"_hasShrinkwrap":false},"0.6.0-alpha.04e0eb48":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.04e0eb48","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.04e0eb48","@crave/farmblocks-theme":"^1.6.0-alpha.04e0eb48","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.04e0eb48","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Mq7byPdMitKJi+sqO2282+AXgGPKEqeF93C46iPlJ9hBQSVP9K/j5e66diuVyRsZBBkbhtnjSoKv6Bk9Mj3Qow==","shasum":"5b846dec36e622f4a71901fc968ee7c1fa2868e4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.04e0eb48.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1IUTUq8TXu4nBa0sZuyfarReAK0g8oT+2wS0SjvGRbAiEApCZSQsenVCX7R/9/xuO+zI+J/hvGD7eeJVW6NwO0oMQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.04e0eb48_1521743955626_0.6220146868920817"},"_hasShrinkwrap":false},"0.6.0-alpha.5df50977":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.5df50977","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.5df50977","@crave/farmblocks-theme":"^1.6.0-alpha.5df50977","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.5df50977","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-8y/rntJsJAbFYtaoVpSyY2Mvk1T0SepaKwkZ8fZSEpAGu1wgRoKCBu5eG7t2CTfvZ3YSQnzQjrXCUuvx6peqgg==","shasum":"703daa9dc9fc8adb9aec7c1ccf574ef5cf8db7e0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.5df50977.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGoeCFdqNTkI8qwhCk2hHnb78duunJ2Ng83Vd1ZW2M0ZAiBsIZ+/byT3IdevKrTUEPHX6XFsiaxe4onQ0u1y1/drEA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.5df50977_1521804833056_0.372916466635963"},"_hasShrinkwrap":false},"0.6.0-alpha.0d5439dd":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0d5439dd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0d5439dd","@crave/farmblocks-theme":"^1.6.0-alpha.0d5439dd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0d5439dd","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-jx6eNqnuAHyzzBU9UggiM3gwx9XBd3a+bCNO+HPYPQkNfEEjecN/Tf3ppd2jb+M3bMUL53C78ocB8zTe3R4qrA==","shasum":"affcae1b1c60daf768d833fc8d49238b0bbf4bc4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0d5439dd.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHu4fRnQUIUuxW6GtiU/Qh5mbELF3FOB7PACciEgjtOAiAw7Smf33229KlBj0nzh/y5ENovq0E2Fq32eH03sQUkvQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0d5439dd_1521808647647_0.8122535530967823"},"_hasShrinkwrap":false},"0.6.0-alpha.cd3bfde9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.cd3bfde9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.cd3bfde9","@crave/farmblocks-theme":"^1.6.0-alpha.cd3bfde9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.cd3bfde9","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-qsp6Ig2KvB9ShT/gzQfbLphOs9aqQV/DB9xZ6dQvZwN/21hTi3d+n79Dpf2CXoxDIC39hpC6riT589cGcAbRQg==","shasum":"04a7283a04d5523b0860a0c9fda1321c885f7275","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.cd3bfde9.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDKs7w009S7GaHzNYm1kQ3hOf5aMooeDk7Ol3yeJ3AGAiBu7n88SRBbi2bKgExBO4eV3zas8ClsFJddiIzjwQGXGA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.cd3bfde9_1521809175115_0.2543977052381723"},"_hasShrinkwrap":false},"0.6.0-alpha.d91740f5":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.d91740f5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d91740f5","@crave/farmblocks-theme":"^1.6.0-alpha.d91740f5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.d91740f5","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-RkY/KVG39h7xGj24PQvdmrYY2JD6cB6432fT9qe+3auVFmyO/3jW4QQ1NcjVu6oweXinoT6J9oqzm12GEWIlyg==","shasum":"f15b8b40449c97a7afb828681cb9c52787b4ecbb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.d91740f5.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjaAA1EhA//edOHVowAXdproBF3nGz1XemkO+RGNh1ZQIhAPNu/3Mqz9hR7EC9M/YPtgKhF66xVcjRYEzYEBqKgGup"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.d91740f5_1521810068952_0.9208900528164543"},"_hasShrinkwrap":false},"0.6.0-alpha.1ad366bf":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.1ad366bf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1ad366bf","@crave/farmblocks-theme":"^1.6.0-alpha.1ad366bf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.1ad366bf","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ExccVrziN4vcXTjIWaiG3zysciYqRVRT3TKZsK/Y8VdT70oBL+YQY35bsTKGfRPp6h+FUaUpqq2FTOZr/0w+gQ==","shasum":"6c5bd6389e6a7348d7ecf3804e978a71d8de9430","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.1ad366bf.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUlWChbTplLVY4NhPmwHf1AcAx3YiiAwh+lsAE6SaC+QIhAIINldhn/1bCT6IulflIxsqgAuFhTi5faVVtaQyhCqm5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.1ad366bf_1521813030623_0.4153984657650447"},"_hasShrinkwrap":false},"0.6.0-alpha.9ac95b05":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9ac95b05","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.9ac95b05","@crave/farmblocks-theme":"^1.6.0-alpha.9ac95b05","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9ac95b05","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-IVyrYDK/s0IiNyJpGIngn5+1PZriNWAg5Ogwb5j+g3pQLP1BDXeUEQi0YHlof0hXIw/wa47A1xzi0GNxhbkF1A==","shasum":"63a941f74f69998cc6717a3532dd53068c21b614","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9ac95b05.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJ7jz0ATwbvltu/vexEU5KJQLsA0B+FweO2nbLl6c6sAiA3NnvhpNgbuK+PEhA7M0SUxYRtcdKcUBvc+jfDx82uDA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9ac95b05_1521827669553_0.2721799759163279"},"_hasShrinkwrap":false},"0.6.0-alpha.eb7e13e2":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.eb7e13e2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.eb7e13e2","@crave/farmblocks-theme":"^1.6.0-alpha.eb7e13e2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.eb7e13e2","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-kUKU8qPfdg5ocX4jtZzB16ucespsU3JUgjL28ik0XV//IPuKB4+RiDn6QzGjwzSth+gEuE28QqNB1/c97vd3YQ==","shasum":"63763ce69f597ff87f1beca65c1a187a51626530","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.eb7e13e2.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhBflembXwFq5Gyny49drfeQ1YOzqBy6DSsWSaHzdO5AiAzhf7dHHScvIf2iDzu6ijyE1L8p4oYA+pHvTblG4mfGA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.eb7e13e2_1521827702883_0.004356566308282961"},"_hasShrinkwrap":false},"0.6.0-alpha.6b203b54":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6b203b54","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6b203b54","@crave/farmblocks-theme":"^1.6.0-alpha.6b203b54","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6b203b54","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-GpbK2QIZZ/K501vU6eXaoYTr56Dr6D9Vxlrj8nRTh0plYBC7QbBvX7wKlhrGnOPz3XIB/kB6/vuzRalIycxvQA==","shasum":"add173233486066d7ef06f30320a402cca5877c5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6b203b54.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzQ+fITYsNN2qXzDvPHYpcBkHIhxvYtfksEq/ox4mi7AiEA5qnq0aFAxRv5FWm0vlqdRtpMq3tUML7I4kFNBpJ/3Nc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6b203b54_1521828792133_0.158412199621355"},"_hasShrinkwrap":false},"0.6.0-alpha.b067b771":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.b067b771","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b067b771","@crave/farmblocks-theme":"^1.6.0-alpha.b067b771","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.b067b771","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Qlyy4+VMp09R9ja3tei/Ir/yhObM7+aBqY70789jZUAhywN5f9W+MUD5BAwqLmN/dyb1iv4X2bJLe+sjSWf/sg==","shasum":"71614550b5acef79b919f70b0069150cc68dfdf5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.b067b771.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBV4gl7OIgwQ13Opl8Y1Le25W5SkbUbvRr5NnhSa20MgIgZAMRRQZS1BxnL/JDtC8nrHeYeyi33AOX72g4bzmJXjY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.b067b771_1521915973045_0.6904552056635413"},"_hasShrinkwrap":false},"0.6.0-alpha.1e9d369c":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.1e9d369c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1e9d369c","@crave/farmblocks-theme":"^1.6.0-alpha.1e9d369c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.1e9d369c","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-0uo3hwS3y0+2uzrn5Fu1oWZdFE2XO3PbKyHGDmrvoSRXQlbOFJb9Kh7Ha9zsH2q6DGCHRb02DSou+qx/S2O57A==","shasum":"1c99e5ef729f404a46ecc2718546363cced99cb7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.1e9d369c.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBF3nxF45ZsFrh0qGDQf+LyMSNpT5Hyzm3g5ql95xRxhAiA9rVmja3c4sx1MgCyHmviFvjQgsIooX0VbuufL0Dr1/w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.1e9d369c_1522070976847_0.10243328261502294"},"_hasShrinkwrap":false},"0.6.0-alpha.ed271340":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ed271340","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.ed271340","@crave/farmblocks-theme":"^1.6.0-alpha.ed271340","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ed271340","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-0qNdk2nZ5ntXTxRB/2shs9JNXyXcTSufa+2kzjMFTonBaqBRZQPZnsSV+zBUvp+RwPUcEFjng6M+o3g1tgxZdQ==","shasum":"c7815c44688dd5056451aa283e50d19a2e705917","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ed271340.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsTzdH2eNBXdbl3mIak3GT3cUFgzsl7DIxJXv1FQxiEAIhAPS5u99CWvod4whiCk3L5DW9S5Nu4OeGZ+lhrd1RmN7p"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ed271340_1522072285567_0.12760124325363664"},"_hasShrinkwrap":false},"0.6.0-alpha.a99e4a7d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.a99e4a7d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.a99e4a7d","@crave/farmblocks-theme":"^1.6.0-alpha.a99e4a7d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.a99e4a7d","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-tRopZjm2Km8cXbW+qWbri/sPTBVxQ4OPYY7tjbkuC9p78JEuUV+3GWRn9bDVIqHpIFvIMhQVUlV18cBA/QNqkQ==","shasum":"ef0f903b2f0888681f0b21d9d363e1a2a9acadc0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.a99e4a7d.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOQfGhrquqPlGsv3OAVuowK49QzuRCnEzytb4sn1jYhwIhANXVAZUXDvvqzDkyKxWQFhYzZm8qV/6izjzKYD/7jxmZ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.a99e4a7d_1522075602496_0.4870169468611576"},"_hasShrinkwrap":false},"0.6.0-alpha.3fb597c5":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.3fb597c5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.3fb597c5","@crave/farmblocks-theme":"^1.6.0-alpha.3fb597c5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.3fb597c5","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-PzuDWEUDu0DgwMVdcXfOFpqpMjbL0FW6IFE1RJG3zABi6biUuqOCi/bz8B5PI43hIhXidGKku99S9j+0hSiElQ==","shasum":"c7fbddaeb14cf66450d508fa8e2c97b22067165b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.3fb597c5.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFa8a0QtlwMie/M9tzVD0tzJtENslqjlqkgBz34vKHy1AiAsjZJmJgm43Yjsvz0i+RGdNbE+YFEtYLcxcvrMnng25Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.3fb597c5_1522086843001_0.1683250290154028"},"_hasShrinkwrap":false},"0.6.0-alpha.bc8be1ec":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.bc8be1ec","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.bc8be1ec","@crave/farmblocks-theme":"^1.6.0-alpha.bc8be1ec","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.bc8be1ec","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-0bJoIzhX4yhQUA7xjLnHmPfU1KzRwPcfQohfylU5xzRvOW6DbNw9dumRJOicDZQ7S9pz1ckCWftvBcSyt4amlw==","shasum":"a527360d0409956ab668859233d78b61f9db224d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.bc8be1ec.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjACLU4RS4ZTjBdKcJJEyqAkbWBshSGCkbhh9n00YGlAiBIJMoANSqyeJpA8IOXfuoRiM/KvThQ7jrpJjHenlUuKw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.bc8be1ec_1522089552139_0.8220926902805872"},"_hasShrinkwrap":false},"0.6.0-alpha.77aeb025":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.77aeb025","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.77aeb025","@crave/farmblocks-theme":"^1.6.0-alpha.77aeb025","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.77aeb025","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-5PJJyOT5P0phPwMzSIbswrrJrZdYNOxUQ9RFRpe6/Og7EqJR/Bv6d2OUOufaM4JdnAJUIKu3133hQ7sbaC/9Mw==","shasum":"884d0621bd3bdb0248434cf0ee3384f728293fe8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.77aeb025.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVCvJd+JukZ05CnpGUf6f5Z/wBiLKTZQa4J3Pu2VjT6AiAkLzpKAcdxK0ToJHwiBUp/mooSd/NaZI2Xzgtd0QGQ8Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.77aeb025_1522093558854_0.3420099178753291"},"_hasShrinkwrap":false},"0.6.0-alpha.276d5592":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.276d5592","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.276d5592","@crave/farmblocks-theme":"^1.6.0-alpha.276d5592","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.276d5592","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-XItC0dNEUt7HpKa6FHtFxJkWO0V+huYZBAg3M6l7lEo5VYKQqIYrHcIwXRidruzOkGkf1MTt9GZQn0017cH1eA==","shasum":"fbdbb35bc3731bd4392d7435ee9e96a58a2ddd82","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.276d5592.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFshOasV5RK+LpG4Fh4+UCZ4pD4FPvEH+Vn8Kdr9s/kQIgYu4+FqX2Mqkoe+Ar5KXrySPZsztS9UOhxu13/2cdjI8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.276d5592_1522154821565_0.6395826398228146"},"_hasShrinkwrap":false},"0.6.0-alpha.bf2cda46":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.bf2cda46","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.bf2cda46","@crave/farmblocks-theme":"^1.6.0-alpha.bf2cda46","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.bf2cda46","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-qOjQQbkZF1WVCSnOSTJOpAx+V8gqmMYtHQUu3ADEYNNL74oCZWnxJ//2pO5USpqRhmuaGNuKwepYPXPysl1sXQ==","shasum":"4fb6d070474e10630789765937e6c891d85d3438","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.bf2cda46.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT87TXrhFVk3+SeG39mFrOlYXbtYeRNxGjKucmg6cuUAIgTzpYHhv1c9HM+Z6HOAHOj+6OTbKwGGXRP1CPdJQDOds="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.bf2cda46_1522154927425_0.46182535656090185"},"_hasShrinkwrap":false},"0.6.0-alpha.101d5b54":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.101d5b54","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.101d5b54","@crave/farmblocks-theme":"^1.6.0-alpha.101d5b54","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.101d5b54","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-7B8dNhspMQoRYXp7ikg4QS/JG8CxgYlvdJkTg2doJcvli7/CSNWwKHaECQWTRVMeAWTAvOAGssZKN81Mf8hwLg==","shasum":"84cda87e3f99ac0c2ddb184e25046a0c73059acc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.101d5b54.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHC176LLa8dI5DXonozGNQ+OC3S5p/Z+eEAdCzx6f1QqAiEA8WeBo/aOLZ7PhHbFvZy/Fiyv7rIkD9Ez07BHFQkuHGg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.101d5b54_1522155935985_0.8970906773625129"},"_hasShrinkwrap":false},"0.6.0-alpha.2af0c4b9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.2af0c4b9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.2af0c4b9","@crave/farmblocks-theme":"^1.6.0-alpha.2af0c4b9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.2af0c4b9","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-JpmbvbUi1h3rRnzRc5+8a254OYgo0SvqSWQVlzFVWzBP9jWqkYZB3DnaUvAKvkIjEbQK7+hMMQUREpYLdv7akg==","shasum":"17e16648d537feb9e787b36e339f625473407b9a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.2af0c4b9.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg/84p9gclUKwHXjq2P0aOSfIHjiOlKXzuKN+QR0Jh6wIgH8Oucx5LuDswTrnwLk/8gYPxpKv6PWC0MIvJu0mRDUM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.2af0c4b9_1522159167533_0.23222942898875676"},"_hasShrinkwrap":false},"0.6.0-alpha.f36a051a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.f36a051a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.f36a051a","@crave/farmblocks-theme":"^1.6.0-alpha.f36a051a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.f36a051a","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ytlCtsUVBlWbSQUMVRfdLUuL6u7dFZTNiBwrfUsKXhNvH3OPghIG0irQXlMnIIKRWZA5gKiF1ssqjkrJaEx4Cg==","shasum":"b48caa84d321c04a811b5009724e283c89e840da","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.f36a051a.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAx47DFFBmQ1SWzs8+KAN7IvMsppz5X6ZAQUp1Y4iQLiAiEA12BKwLKv2MfWy556fESvWAzBRPoc1Ri7zntH4xCRQFk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.f36a051a_1522168690498_0.05024708200209971"},"_hasShrinkwrap":false},"0.6.0-alpha.dbbb988a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.dbbb988a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.dbbb988a","@crave/farmblocks-theme":"^1.6.0-alpha.dbbb988a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.dbbb988a","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-X3KNbe8uvKQ1YbMb5IclvgQmWTotkn5iRe3jBDzInRmSMSIQfPg1rfrVfIeE+sFD/mVKiFLKM8PCUV15PhIm9Q==","shasum":"258e66adfb372a75e8981b21f4397e3c9d246f34","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.dbbb988a.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLr2Y//LWXg8EGqs0pil08Z6mSt54diH3YDS6zJuRPaAIhAPp8MKENNsBETGw/y7KVQPqzY+gENH2GaCQiqkY2fLuO"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.dbbb988a_1522169391634_0.6690043415902154"},"_hasShrinkwrap":false},"0.6.0-alpha.9888d709":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9888d709","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.9888d709","@crave/farmblocks-theme":"^1.6.0-alpha.9888d709","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9888d709","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-0QLF+Yr0rXXTac5X4AbNG5KZjNUJcI/YknotZ9lZXw8tB3+GneR0L3bGQ1LrnRhOc5zTJFGK98X29cJIYLz37A==","shasum":"34ac5a5d67f1ceabb98e62e5b66d96f957b35fba","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9888d709.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVKlyAYrGG8zflrXKsMKlN8WWlj3poJl7VAqHLrG+J6QIhAPlBMNCiU1Brhzu+CWu498SuhWdatss1hJCjMyhH1JsX"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9888d709_1522174399973_0.5161560724980276"},"_hasShrinkwrap":false},"0.6.0-alpha.7c579cb8":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.7c579cb8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.7c579cb8","@crave/farmblocks-theme":"^1.6.0-alpha.7c579cb8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.7c579cb8","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-5IBVoc8XrNXaw6o3SAlotaoXAPjtixpyZAoX+Len8eJCYtnEVWsJuR61tBo0GQFmMKOgbvCdqRyqggHiheOyEA==","shasum":"559e47d1be30263c44aabecfd8bc3489fadf160a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.7c579cb8.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ/sEWv7MDc8wYY4OROl9Slun8XxK+90Sx6WqP6+DM8QIgeTR327bA8Aa/xqG3TPkHYuMIA3Kpk6a4NB9P/yS4ZI8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.7c579cb8_1522181844725_0.5995749210732151"},"_hasShrinkwrap":false},"0.6.0-alpha.9c53f92f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9c53f92f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.9c53f92f","@crave/farmblocks-theme":"^1.6.0-alpha.9c53f92f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9c53f92f","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-jyXwesAD4r7uPXrE8HBGdJ3qQbLZYXnE4PEgVuaByhEgjrgKdx/S9GIGJ2Xhxx0HHe7Dq4B3nmUZdoHRrtYXLQ==","shasum":"4f6fbbbb9675ee0c385ff93b431804a3ab466554","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9c53f92f.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAU1pkYwpxk3vsBmQcx0ufT0c54QoTLiNtgv4yKy0nBzAiA+d2sic6YLTPps6G6clFo3TiBUvIXkzuVbDWYy2WGVdA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9c53f92f_1522182716009_0.17698927506122186"},"_hasShrinkwrap":false},"0.6.0-alpha.094a4102":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.094a4102","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.094a4102","@crave/farmblocks-theme":"^1.6.0-alpha.094a4102","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.094a4102","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-eAsimX9OdApVunstaD04B6G6Bw5eR3Sjt69AR3QmeC0jSI4u5zWIPr+zMDZX1xHDEGVh/DhBD2nS+LtjLWd/KA==","shasum":"5c5ae12afb278080c0e5e9bc9e35ff0a58d58e04","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.094a4102.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaIpDlvCBjCg9HkQeOuS5cOd+uyJsotzL82ALTxbg9nAIgbmI3mwRqA2WuoiqzcGFjsaSh/YifZJVlligT3rEiTA4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.094a4102_1522183719828_0.8574080968845754"},"_hasShrinkwrap":false},"0.6.0-alpha.37c381c3":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.37c381c3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.37c381c3","@crave/farmblocks-theme":"^1.6.0-alpha.37c381c3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.37c381c3","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-YsAidkvQ7AV9ZqPehbaGyKwpRhvI5PYd4uRqsBoRROjKW/JXcLco9Brzs96heSqzCPoXjbc98BAdh83LoNNqZg==","shasum":"d093edfaa03e7798ea867897568f55308220c469","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.37c381c3.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKfRLk5uXU3uIaIYakvo6HsAWZObO/jDFg0TxyRovR5AiAPCkYWqSEGU3vXtWCMw6a3TsR6naJDOTMC4yGNul4Iwg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.37c381c3_1522245377687_0.4616656366611176"},"_hasShrinkwrap":false},"0.6.0-alpha.4d554aed":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4d554aed","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4d554aed","@crave/farmblocks-theme":"^1.6.0-alpha.4d554aed","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4d554aed","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-hI8X70C1B1un5v8kdxOrCKWSZ3LeUOtfPSMRkqiCKq46yowrivhcUpCv78UYg40tfcgaFHho1BzbglCkY+kNhQ==","shasum":"6e50a48ed9eaf5a6d8d3e0894bca6e2211335ec3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4d554aed.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCQmFjsIQiPZtNohzY9wENyyRdqFijduDo9OMWw2BKTwIgaflAwKiCm8F8yyS7mkaZgVZav5R+cGCdjCf0TpzPbkM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4d554aed_1522253600636_0.8041306115223958"},"_hasShrinkwrap":false},"0.6.0-alpha.44d32a29":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.44d32a29","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.44d32a29","@crave/farmblocks-theme":"^1.6.0-alpha.44d32a29","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.44d32a29","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-1tdMLOaFBWIigHSwOpvFh1Pe2jtxZAu/oKz/knU2Hnh6Jk5XrrMfHf60Z0N8813eg+mrUpBBJtqtWr9ypE94Yw==","shasum":"d348cc3b1a16f57fba014d807b0e2b83b308b1a1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.44d32a29.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhUltQnbA9OicHq5C5c5bgzdquzaB/SVN4fA54F0ElUAiAWmnWpwa+PmOosLP0oy5nNUFM6vjYaL783bJrcImuPpA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.44d32a29_1522258811837_0.15399275461864725"},"_hasShrinkwrap":false},"0.6.0-alpha.cd85651e":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.cd85651e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.cd85651e","@crave/farmblocks-theme":"^1.6.0-alpha.cd85651e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.cd85651e","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-wELcdqcpM/NqpMsyEA9XW10Lq/90ORlq9fpEo3FjN+Eppr69KwHTSHkXjUkGNsTAWuhoiPAmHvy8WT7T8qx6jg==","shasum":"145dc0936e69a3fdffa02d76bd21628fde6e2cf4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.cd85651e.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLhjBniNMBzSWyHa76FaUXr3UIrMGzSCuTYvqGcEE9MgIgNX6Tm45JCWkbGwD69E3rtf0D9Fnnh/kt5DPboMnridc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.cd85651e_1522258892024_0.1494868202702937"},"_hasShrinkwrap":false},"0.6.0-alpha.3d2e39bf":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.3d2e39bf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.3d2e39bf","@crave/farmblocks-theme":"^1.6.0-alpha.3d2e39bf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.3d2e39bf","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-j6AknsRiJeA+eYzdelrSgR6IaCFsZ4WVrxBG3Pz8o8uR4PY10In9Krz1/taPYhcnLwWOADbYErgVtR7YXuwBpw==","shasum":"3333b0c1cde58c673b20ec90f641bae6d23dee5b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.3d2e39bf.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk7xAIUbLw4R/isdVEAkkHF06pAjN4reohw4mpElPiiAIhAJUN2gpQs2lwyJ6XdpjXEggA+VHrD5TZZxggiDgp2kOY"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.3d2e39bf_1522259309563_0.5869661592379944"},"_hasShrinkwrap":false},"0.6.0-alpha.f66e87c2":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.f66e87c2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.f66e87c2","@crave/farmblocks-theme":"^1.6.0-alpha.f66e87c2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.f66e87c2","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-EEMUOIxkcEB9pAYFsJQoU82CMuMKuCGEzPQYfSKjb+wFprVn9F7GowJ3YNV/Lc9oDGnwLMeg5/lc5XTw75jINA==","shasum":"e3ed7dce83bac020def90cdefb6b89eddd52bae5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.f66e87c2.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNBpgbpbLsf251fyvlB0+NOQ3KuaTRseFydr32fkbAGgIhAN67rney0w+s7aVkMnN2aunp1HPnpG4IreXH3jIfHkKf"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.f66e87c2_1522260195153_0.003798267264704114"},"_hasShrinkwrap":false},"0.6.0-alpha.6977ffda":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6977ffda","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6977ffda","@crave/farmblocks-theme":"^1.6.0-alpha.6977ffda","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6977ffda","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-1W57iow1olEDKfr1sI3qmC+CKbzIqePNvFto6DwHUeB+NuzGLTeW0oSbEqROKlwkDelG9LwkJSOuybCxA5fg1w==","shasum":"c47d5592401faa4f731a7103ed08ff0379e015e0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6977ffda.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWcFrSHqB2IJ48IlpBOfVFGZmFQZ3sm22abCXET2kHoAiEAjm/4/D8RgFokvLFWWDDB8PIJ03EcA1TW8dLOMsd5vio="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6977ffda_1522260802445_0.034594420884118016"},"_hasShrinkwrap":false},"0.6.0-alpha.c235006c":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c235006c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c235006c","@crave/farmblocks-theme":"^1.6.0-alpha.c235006c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c235006c","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-OE/2VjzqRL9QPBlRHoyT9yxSjSXU+OCWDrrGZ7dq5dg6E5omllRfuMJtytsPvBj1EC6toGLiiA2586eztiO4Kw==","shasum":"b03b11128a594ab51e204882a7adaf15d3f88461","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c235006c.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkwZN/+jYERaR6rj2GnpLa/Nm9s/Z+9blpxnur9+BYoQIhAPy1LYwGT0Y1hQYW9gk4iM020Wk+2KrmGBAbxH9T2Cwk"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c235006c_1522261341947_0.4027043666124708"},"_hasShrinkwrap":false},"0.6.0-alpha.5c4d01bb":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.5c4d01bb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.5c4d01bb","@crave/farmblocks-theme":"^1.6.0-alpha.5c4d01bb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.5c4d01bb","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-5VQH+a7ajXpBBnhUzaWreBIUOcZjwXDZjrbo9m/ZrEGxAp7toCFnyHvDf6ogVUTNMYCpIZB3SNojr9NK/XbcZw==","shasum":"b5b07ab66f456b3b379da0f61b12acb9fcf952f0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.5c4d01bb.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfhweYIe2/LXZ558kMVzJtYgqFcBTFGY9bkBc2hqw/sAiAeND+qozHY9BhUoxQnZH0JaZYcKFa9mqoZFK1EIeLRFA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.5c4d01bb_1522269314039_0.433420008443955"},"_hasShrinkwrap":false},"0.6.0-alpha.0ab41057":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0ab41057","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0ab41057","@crave/farmblocks-theme":"^1.6.0-alpha.0ab41057","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0ab41057","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-t/YEhsgsyHN8eIk+8qqqOpriu7Mhagtl04oQHy2l3tSzX6zxxK2bvZ407zAHe4m7D83Hl6xZvPtkmXawJeLMEw==","shasum":"69db763bf74494904719ea95f15c1aafc26cff07","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0ab41057.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMw9P843udbowswklIknO+C+SaIUy9BXJaj49IRgXSzgIhAMm8ePMIk9rXlm7/UKdXqHPA6sjRrh3XB2GUXY+MqNaB"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0ab41057_1522272438645_0.3794573083429309"},"_hasShrinkwrap":false},"0.6.0-alpha.af18658d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.af18658d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.af18658d","@crave/farmblocks-theme":"^1.6.0-alpha.af18658d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.af18658d","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Kr/oAmg6JujrWQaufdjzQMYs5Bjwo4Apis4f2pEQG41lnH8S9Gg5+MHuB98WXkwupU/+K+SH0XxTuTPPhux6zQ==","shasum":"7756398cdab93d0c17b797236287a24c75358831","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.af18658d.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCznPtulq8gAwdFiyscU2F3rqdH7vFdniLDh8qJacOIfAIgbHxyYTSh2QF8ImNn55VBkVc6G46TiGqTU0AA9Q1vt+I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.af18658d_1522323085653_0.4951400927548295"},"_hasShrinkwrap":false},"0.6.0-alpha.65028b83":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.65028b83","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.65028b83","@crave/farmblocks-theme":"^1.6.0-alpha.65028b83","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.65028b83","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-YrwW6EyrxtbFFgKidRQNOFufVQ1OdODjMQ2vB8Qzh5qygr/WTcTXOBHkF92H3rqZLryemhv93zydn57ZDsXHzA==","shasum":"853228929a9c638f2121459166bbd67337b9a96a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.65028b83.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsK0bxru+4yaVSLUSpXjhz0guzJnDf/X3QWtU4qlgsZQIhALBlJ9vKr0R/KE0WKz1ajHAJH6D4H5iqEWsVIGXt/JO+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.65028b83_1522325784035_0.13274464043007872"},"_hasShrinkwrap":false},"0.6.0-alpha.291252a4":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.291252a4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.291252a4","@crave/farmblocks-theme":"^1.6.0-alpha.291252a4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.291252a4","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Q7goQuce1qb3lhBRpmYd8avxjGA97yiRYq8SbiTWophzYF1tnDqQpRB/k4RSMrAMJBqQpmgGfkhh/vVzXs5UOA==","shasum":"5376e5b5b2ab4e5b222a5c39aeca411edcfa4fe7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.291252a4.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYNIbTdXgncnO9AAO9zAI2EgoC5P6ve6yS5hgsz9exmQIhANL04xiBbOrTpz1uJWhMT45/m0cYfSaTLFm1nYrdHet9"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.291252a4_1522325842200_0.7241791496276808"},"_hasShrinkwrap":false},"0.6.0-alpha.6203a493":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6203a493","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6203a493","@crave/farmblocks-theme":"^1.6.0-alpha.6203a493","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6203a493","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-i3Ivdy088TnB6uXv1SXWduPL6bLLD2/KYT0LWaUVXswsrhVh02Dw0tdr5dWXSyZW1WszHdye6p6DMq1MMRHIGw==","shasum":"d4ae0d121b45f794a692d4a6b07a6903586da7c3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6203a493.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAOp2dKu2rApChLqcsaOQpN0nhVDDs3Uj8nXiT+sD9wAiAvnKI2GXcFk5mmzbk6oJwrjPNpO994U46ouADlVBIpxQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6203a493_1522335367999_0.604460828723576"},"_hasShrinkwrap":false},"0.6.0-alpha.49d9566a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.49d9566a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.49d9566a","@crave/farmblocks-theme":"^1.6.0-alpha.49d9566a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.49d9566a","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-6JEVnLLXKvsaT9ayXg9TYgCi5cQ7eUBBD51NLpUUtLnN/VmDQ3MVJo9Yaky4yHGGaP//3HyEWDFPwbje4EpZ1g==","shasum":"b387c33ee635a62693fe98a3913e008a13ef70a3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.49d9566a.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEL51E/1g6kEhkg3twYQ9fmNIPLbRIbOvJP8ZS7QUsbHAiEAzW2v8zdOpznQDKO7pjzHU3czcugQR/R3c7JU2VOZKFk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.49d9566a_1522336445000_0.46535332815593056"},"_hasShrinkwrap":false},"0.6.0-alpha.0d6e2bdf":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0d6e2bdf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0d6e2bdf","@crave/farmblocks-theme":"^1.6.0-alpha.0d6e2bdf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0d6e2bdf","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-MKhzfx+tX9R6yxk4I4vFvmZVeDa253TodY2Ubs0FmBrQprvJdqmKvRaXVv5Pvt76oq5ZHmQZDmJzw/HjKty11A==","shasum":"bf481b458ac147ea21b53160f53627ed890760a5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0d6e2bdf.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfTi+7ZAdeC8SKzxEIyY45DBbs2unOssbL1S/cztoIAgIhAIbCuQVOeuXPK1Ta3qUk27TraJC5AAVAJQiETWNH+rAV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0d6e2bdf_1522337586250_0.592255241026302"},"_hasShrinkwrap":false},"0.6.0-alpha.c7e8b8b9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c7e8b8b9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c7e8b8b9","@crave/farmblocks-theme":"^1.6.0-alpha.c7e8b8b9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c7e8b8b9","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-JBBQ643k1KRhTqfqozajb2jaqT5cHlxh3q054sNZ6eThTGeFbfXujRsd+hCi/w8VXdL3VvXMB8OaFclGkCewOA==","shasum":"b5ce392ba7764892112883b6948c5783f2d02f24","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c7e8b8b9.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1OX9bWhnz4H3ovJ2DGXuQHbQuZg7K9DNn++lljGwDgwIhAKp6kfp/57ZkxjNgzu8vw5jRe31FjdqYSZ7G8A2IlQPP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c7e8b8b9_1522347060052_0.6717539783315896"},"_hasShrinkwrap":false},"0.6.0-alpha.4be26c61":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4be26c61","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4be26c61","@crave/farmblocks-theme":"^1.6.0-alpha.4be26c61","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4be26c61","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-0XvJTTikP4P7lhG0d84ShTgjo9UDAVYt9tVpa8KD3YaSnMQ7QJCDoAzxILNSwvM+eN0w04nabUUHHFCeYd4D2A==","shasum":"eec9ae02080781597e739b789b3ce68780760b9d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4be26c61.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcNL5f9NambSdYOB/TftmX1TaczWgzFe3rBHNbxzHIWAiBF84UNuMAN9OPjZ6zDZjSXVGCh9it3GqeeuwliHK12UA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4be26c61_1522349488410_0.4474384098197359"},"_hasShrinkwrap":false},"0.6.0-alpha.04115e62":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.04115e62","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.04115e62","@crave/farmblocks-theme":"^1.6.0-alpha.04115e62","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.04115e62","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-qKxFTM9qzagrEAimY0yReC7eInoYQ6NZe+XswYApVKjL7CXdxzAZW4M5dqxcFvBmnMyXoiIq2frxHpx66HznYA==","shasum":"5a352e9e7e9f4566768eb55df08f00270a03636e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.04115e62.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi/pduUaGhO/FjT4citHYi1l6LwGbwjiZiuB6mDhBl8AiEA+g2zoQ8tYRv3D80YnA8T7kbLccGqnV3Fa5eTUuWKYwg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.04115e62_1522349572311_0.4507238938155209"},"_hasShrinkwrap":false},"0.6.0-alpha.17457c59":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.17457c59","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.17457c59","@crave/farmblocks-theme":"^1.6.0-alpha.17457c59","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.17457c59","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-ik+P/Px4szquTVb8+oKSKcfsgsBYgLn04H801hgoNXg4be5RzfcVe5OZnJsHOa6W5jvOQeuj9Ut0B5s/guYFpw==","shasum":"0808016ff76ab4995dd305a11a55c28ba7d3c7f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.17457c59.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHpiXJCi1nvAFbyxvCY7HTp+TT23try70Y5hXptkDwrAIgLs1PbYiPu32Z+i7cJjEbSaje6O8K3P6w4Qp65DJ6YSs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.17457c59_1522672159119_0.580810344838472"},"_hasShrinkwrap":false},"0.6.0-alpha.26a5c31a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.26a5c31a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.26a5c31a","@crave/farmblocks-theme":"^1.6.0-alpha.26a5c31a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.26a5c31a","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-HndUtAdybBhCirZVpCgz/9FcisEAcgnmvhL7pfm0L2t0R8MLTUBgcJq6SJz+6DORpQkPxzQZS/4kzkmb2214TA==","shasum":"90dae5ee125240ac33c7f9216a49508a7c8053b7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.26a5c31a.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxU8JOcJQYGMCpW6gr4d30xyeoxi9E76r2hCJUACUsKAiEAhNNLCtRsVlgd2wU/qTO3SpxBCSZqtpOKfUVwD7y+/+E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.26a5c31a_1522672420728_0.9188472877401526"},"_hasShrinkwrap":false},"0.6.0-alpha.b7a11e94":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.b7a11e94","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b7a11e94","@crave/farmblocks-theme":"^1.6.0-alpha.b7a11e94","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.b7a11e94","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-WZmWXwyNhy8ACM7m1f1lKWQiTXeHUUOftdTVf0YYK8NPopi/iTCB9/c64Zs/5Kw+uuj770fi8hGJhniBhCTCjw==","shasum":"3a07c60ac648cbb69de4a68fdcd6ac3d5921941a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.b7a11e94.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQBNRKl5sbWHxXRxCRQ0dTi1FGjCe4LBsZXRSOTuElCQIgcPA/WFTmGCMIkE8sRk2snpRVeGeMY9x672iyn1soj80="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.b7a11e94_1522677727393_0.977351224786021"},"_hasShrinkwrap":false},"0.6.0-alpha.161df42e":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.161df42e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.161df42e","@crave/farmblocks-theme":"^1.6.0-alpha.161df42e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.161df42e","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-a4H8FriuA22rd/eHV2V2KrGB4WxZ1FCXCR9yj0g1PMTch++OfwMYeGBsJFwRdi5pmTvJtON0l0JSlW4CIO3DMg==","shasum":"9b3362f2a8002fb5a6e04d3883f19e47d7b0afb5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.161df42e.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwOtGe1GBnZ4CVtnhVFtbbB4vt9xn/czicek6CrzzJwAIgClpbBZyPPOZoqloZBMyPWwNQngU9wO1cf9iAN16o21A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.161df42e_1522678990927_0.7994464064076665"},"_hasShrinkwrap":false},"0.6.0-alpha.77494df4":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.77494df4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.77494df4","@crave/farmblocks-theme":"^1.6.0-alpha.77494df4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.77494df4","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-AcMar/unWg1hMeIkmUcSR77/zPl42DA0xLhmuA33c3zX9pQFvjIqgTis9R5yjTNMiCBCYAz7SeAJ5/C16QWAxw==","shasum":"b7b7b9f96a32fb40dbb416d8ca951b2d520c3893","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.77494df4.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBUj6zgBNsDvTayS5dRsPVcobB9apqxdWH471DhjiWy6AiEA04eaV8jb+A27bgd/SW6bXmlnmXsQ9q5i+5bBuwHU7fw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.77494df4_1522679154077_0.7761465700965744"},"_hasShrinkwrap":false},"0.6.0-alpha.06fd4877":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.06fd4877","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.06fd4877","@crave/farmblocks-theme":"^1.6.0-alpha.06fd4877","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.06fd4877","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-AHHDPt37a2p5yKEFGRIBLJK6BcInxBq24aH1E8zscrl/3GC3tLQFcrB5ru85Gg9+jSJLiN+3JMMGHtLb/rBaWg==","shasum":"228ed577acb175e200f3744f2b9ca161c3c0e82c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.06fd4877.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsqFZK+kqSnwf6h8y8R/HMMoBHUUtTcvOsqCZltwgRqAiAn6CiL52fSSZHO/YSXZR0vmyHGrm4f9Y0HvCzdGEiOhw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.06fd4877_1522692861012_0.8846190094297568"},"_hasShrinkwrap":false},"0.6.0-alpha.97b7b3f5":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.97b7b3f5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.97b7b3f5","@crave/farmblocks-theme":"^1.6.0-alpha.97b7b3f5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.97b7b3f5","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-7Ec6eDt9rnq4WDBZC0A7vUplcXVkxui9ghQiPwSYdwdp96IfL6d9X122OSdmFoURhJF4AKem59Ig7d/V5huNFQ==","shasum":"fd0d58bf26e1d096ffa5a21d0e7c30121ab6ebb7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.97b7b3f5.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0oo/J9Bhmve5EgdyN75BUpc3LpRH1ExsdZkYpgtDZdQIgdnZPX+q3uuKPeDww4IpTdDQ48zPFj8ljdfVOxVQWSQU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.97b7b3f5_1522692965335_0.6853941845412128"},"_hasShrinkwrap":false},"0.6.0-alpha.6e1775ed":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6e1775ed","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6e1775ed","@crave/farmblocks-theme":"^1.6.0-alpha.6e1775ed","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6e1775ed","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-HrBTFbtsDywZpmThIJ5+XPP6Xh+wjWoXxVe50vw599WeK0mX8A11zrW71D00LM6Bgly1VjALqvZ5G0LMHzDoZg==","shasum":"0953d83eb7276f5c4cc4a1921be61d5def774562","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6e1775ed.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFoaXJNKl72n5Lh5QDZPwfjkd11L0wOHrKJzJXj72gVxAiEA5HrGSzE1BwDUBV93P3vpGamrHVQI2yf1Xh/zrJaKWmg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6e1775ed_1522694835383_0.6852116501561729"},"_hasShrinkwrap":false},"0.6.0-alpha.9c3e64ef":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.9c3e64ef","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.9c3e64ef","@crave/farmblocks-theme":"^1.6.0-alpha.9c3e64ef","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.9c3e64ef","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-sbKdWxRHVjSy0mgq2wb50b0aMwpWP4iF97jb/clnO1cQxZe5A3T55Lj1S2rESLjeIAbSva7+WQGkUSTcM2B60Q==","shasum":"b22442484eb72a1ae40577fbd454650666ad7726","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.9c3e64ef.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7/yY7x/p/jwgMbsc7UWcnZQnL1HaJW4mj533g7fOSYAiEAtmUx+BRERnG9UqV0CGuw/bnip0UFbO+gHiD/rsNy1BQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.9c3e64ef_1522855402481_0.0418505106945366"},"_hasShrinkwrap":false},"0.6.0-alpha.90450a0d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.90450a0d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.90450a0d","@crave/farmblocks-theme":"^1.6.0-alpha.90450a0d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.90450a0d","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-9X0X4gjC+DsBZp4s6mWbSkUx/qixjYqRnLmWKSNt8pHWobC7L8TIgHiSBki+ASggVcG3NsfpBxPmwyvEvPtpeQ==","shasum":"1dafb364a5039d0d1cd543e7d6b8019aae5f26c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.90450a0d.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIn5z6VVBPi1XJacRIqXLmHw2zAyCqkjdUUxViUMi4/wIhAND4rBf+fv9HyJq/T3JRm8/eCMFuLXGYsi7WwSxGv25e"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.90450a0d_1522868062326_0.8139543897909765"},"_hasShrinkwrap":false},"0.6.0-alpha.09cba65f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.09cba65f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.09cba65f","@crave/farmblocks-theme":"^1.6.0-alpha.09cba65f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.09cba65f","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-OxZCJ73RHX4B1e+0Yvsh75DLtHme+EMjCYpg2sZ/EFL5HovYim6d8Qva1iaDxy74XYK/lXoSKtmkn0YeOORG1w==","shasum":"55d0ea9e1392d3200e17c743193812a0f3271942","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.09cba65f.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHDMcwEy2DrGz9iOPxqJxtUqThN9vIfilsyy+ZpQbBFAiBkCWWnqXrv8T75Bub0hcW6PuXI2+EyHNAEQTgTadKXWQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.09cba65f_1522951998273_0.7523971458760728"},"_hasShrinkwrap":false},"0.5.9":{"name":"@crave/farmblocks-dropdown","version":"0.5.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.4","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.9","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-8Js1bkSRa0uCm/xMifBJ9QuEZMOPz12DOWEdEq9wqAHzxQ1+bAuCatfOzmTijCRnDH2ZOcg0qUJF0tkB1uULiQ==","shasum":"eb3c68d1a38743e3df698bde1dc30fec4bade203","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.9.tgz","fileCount":11,"unpackedSize":20776,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtTARYq960WOQmwdcXuxtVHBjK6BaMX5Oj4h+QmgZ/swIgez95Fjj2iz0VzTHOyAOhsItWICalGWgXZt4J28LwhLo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.9_1522956922168_0.12170176779035558"},"_hasShrinkwrap":false},"0.6.0-alpha.4f10e4fa":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.4f10e4fa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4f10e4fa","@crave/farmblocks-theme":"^1.6.0-alpha.4f10e4fa","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.4f10e4fa","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Alo6Z9vN9R6GKRs93D1Dn8eMJjmJLJziPyLaMzGRcKzhzDVcL4o6PhPGneMwr6t3oSb3M6vtxr1btj1DCctA7g==","shasum":"69a70969995a6a9e3d2359170ba8b8d8a9bb9f79","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.4f10e4fa.tgz","fileCount":11,"unpackedSize":21099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNj+TsonjM27FqjnBvTSnt7M8tzOqAdD9vrF+vFMlYWAIhAJTxnvdPc4Pi79XJ0biwBEMOVnB4WQOp6ENFEpSa7ow2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.4f10e4fa_1523038580952_0.4935770018719188"},"_hasShrinkwrap":false},"0.6.0-alpha.8eb423f8":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8eb423f8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8eb423f8","@crave/farmblocks-theme":"^1.6.0-alpha.8eb423f8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8eb423f8","dist":{"shasum":"6969d67977e41425468cf9797f42ecb4c30269b8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8eb423f8.tgz","fileCount":15,"unpackedSize":21099,"integrity":"sha512-9l8qnTZcLVDgDUZ8d1KB969GySzmrsIfkXnnArxBGRi68lljiOP6ygYqazh4EP0BLEyhMXs28UanDyNEcnyu3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIKg0wdl8FupZd2H5ab4X+mS9k/kuO/6OVXLrVO4xphAiAx+C6XI442JVtvFtcO2nl4LrNlwyTMwrdUpoQl1yQ0SA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8eb423f8_1523204030387_0.018689424887400774"},"_hasShrinkwrap":false},"0.6.0-alpha.f381ad86":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.f381ad86","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.f381ad86","@crave/farmblocks-theme":"^1.6.0-alpha.f381ad86","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.f381ad86","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-TEjo/Ox157N8ppPqToBpNw8YXQpspM6TK4vXox/eLeOgboAEvPPrBfhEjemlPJLOO96nDUAw+zd6HWP5zXLeFg==","shasum":"e1f0d170ed466f7d824ee28b92d326ec572d336b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.f381ad86.tgz","fileCount":11,"unpackedSize":21099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHN7XQvndQi5tUI81DZs10Yx7Yepb9i0d3hH5RHMMHqxAiEAx0xXNzyr25r2IFchpqotfUgqZNpvg68yixU0y1i5B7c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.f381ad86_1523284700002_0.18587920784553646"},"_hasShrinkwrap":false},"0.6.0-alpha.e1faa468":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e1faa468","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.e1faa468","@crave/farmblocks-theme":"^1.6.0-alpha.e1faa468","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e1faa468","dist":{"shasum":"e7d5dd7e4d1f9df9112e4a0a7bbe007271674954","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e1faa468.tgz","fileCount":15,"unpackedSize":21099,"integrity":"sha512-nUG7VA+IqBpEN0XMz5XVpFVPzT1Gn38a0YD0DM46QwgZoR1CXgklwtPbv2Vxxenr/am3xHneggH41x7hhKB4Gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgincb2EvI+Iw0znaAicDUZZ3DirAREzD+PKvgcfrphAiBIN82a6y3+8ufFVs2QYqxLVA934hrKnjapdhzZtp83RQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e1faa468_1523311484928_0.7921194466646757"},"_hasShrinkwrap":false},"0.6.0-alpha.d21f2021":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.d21f2021","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d21f2021","@crave/farmblocks-theme":"^1.6.0-alpha.d21f2021","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.d21f2021","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-9tgZc50SwGwdAGdjNpeqkA7jN2QX9x2UgOFP43icJF1NgtdDm/OEhI15L11o2Yu7zWIbBC+oKmuTcWcGFua9IA==","shasum":"6e865222a1cb186c6685860997566ed14743cddd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.d21f2021.tgz","fileCount":11,"unpackedSize":20865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvv8Fg8kb5q7Em2YrfbCj6aB+1V8/U7VAmKujtskqGbAiEA0wASMOI4TJqoEqqvxz5DbtDCbSWj2Ln5gkwe/yWfRac="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.d21f2021_1523367548628_0.6483080817051634"},"_hasShrinkwrap":false},"0.6.0-alpha.30428b8b":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.30428b8b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.30428b8b","@crave/farmblocks-theme":"^1.6.0-alpha.30428b8b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.30428b8b","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-npjXQAFIJpAuJKKlVFdrfSFJg4MyCwsNGL8CxiGZMgqSd8ECftCUaZnFJPEAC/64UvuDxXIFtQzfhRk83uNtVg==","shasum":"771aa604a293ba46f220b2a898f13fa783ce9153","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.30428b8b.tgz","fileCount":11,"unpackedSize":21099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5XZkz7PxONXRceDjsZnzYmXTMC+hi8isj69DXAzFtBQIgbfzEkfF6F6dUEdiLozhdNW7xBsQHur70iAO+f+y6I0o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.30428b8b_1523382460970_0.9375984266196524"},"_hasShrinkwrap":false},"0.5.10":{"name":"@crave/farmblocks-dropdown","version":"0.5.10","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^2.2.1"},"dependencies":{"@crave/farmblocks-button":"^2.2.5","@crave/farmblocks-theme":"^1.5.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@0.5.10","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"dist":{"integrity":"sha512-Fjm8LLzh7u5fptaHPykaVC58ziYrkDV9kfJEfXnzVg85CKUvUDO37D2dVryTFlnzeM530vYqw4xgq7w1vLtKUw==","shasum":"0482d7a6bf41b928271da45522e9aae32fbc9e86","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.10.tgz","fileCount":11,"unpackedSize":21014,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrsVk+JpIJKEzHXii5oPLgSmX5aleAk3JxKpo7uYPegQIgUo4gXkXg5XIbdpvEhIprVkP5r77dH6Y3yX1l2M5oGFs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.10_1523384155941_0.13933020456371703"},"_hasShrinkwrap":false},"0.6.0-alpha.1462eea5":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.1462eea5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1462eea5","@crave/farmblocks-theme":"^1.6.0-alpha.1462eea5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.1462eea5","dist":{"shasum":"b7244a1bc80b5ce4bdf9278b1dc7fa55ac2c3413","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.1462eea5.tgz","fileCount":15,"unpackedSize":21337,"integrity":"sha512-g9BRveB8u/1K3cQckVtGIyY9Mx3mAiLLr00wGCpiSwtCrs9DijGqFkZ+7UjUdAI9VwlHaAQ5RLtWPq7RfYQG7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHExnCw0LGyG/45uEO0TMbvu6SD/3p9+YUQHxqrkJHEwIge1mcUC57s8M1CbyYAXlBohwUXYDNPFO8cnk4Bf+uYjs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.1462eea5_1523392820211_0.8285970327004131"},"_hasShrinkwrap":false},"0.5.11":{"name":"@crave/farmblocks-dropdown","version":"0.5.11","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.2.6","@crave/farmblocks-theme":"^1.5.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.5.11","dist":{"shasum":"981380a13f674c3353e05ea9bc18a1f807a0371b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.5.11.tgz","fileCount":15,"unpackedSize":21252,"integrity":"sha512-0SFLruVzwbdUrEK1M9I56sQbAGjtUWZ5BbpMUiFaLade5I9iw7WD6kMzWz44MD3683vtulNP0RB4UXVZsVSQ2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgXJhzQ4ji0Lv6NCidf9y6zB1jimUBAiKVoW/q3yJ/TAIgFabv88IZbFnZvozVDr42D6Br4UJNEjTC6UVHKHh13XQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.5.11_1523448217922_0.14244853998180718"},"_hasShrinkwrap":false},"0.6.0-alpha.be92736d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.be92736d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.be92736d","@crave/farmblocks-theme":"^1.6.0-alpha.be92736d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.be92736d","dist":{"shasum":"3ed0fca674abe5a8a3e2d5a28ef052d3aeb4f39d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.be92736d.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-i/z2KT3Awk72nCXxYOnUqxnepK7qQ92rgg1eNcGa2faPxzY/4Eh8nmERHD2C41zTnruriN+Wx+SEre3Kc1/tZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMoFIbZiQwPodrouXQc/l5fC+K3xlL5c+B42B1bZ+RvAiEAiAk1U5TEEO8UDTbSzV16UFPjtuGu1y8Y4tnrPLq1dTg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.be92736d_1523474853657_0.545642745944269"},"_hasShrinkwrap":false},"0.6.0-alpha.c741e1d1":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c741e1d1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c741e1d1","@crave/farmblocks-theme":"^1.6.0-alpha.c741e1d1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c741e1d1","dist":{"shasum":"428832828ee0d0dcec9b0c4e5d23bde72bb59c1b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c741e1d1.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-Nz+WGT35PLtmNaa7J1v+SfGjYORXS8CA59TczgxW99IHn/K3FGvuKVSxtxLzDDvVEQQpUIEH55G0P8VG0AdTew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2JlYLqm4ozKcyda5nBx7HiLy2imgasdm1nGt3MuDpjAiEA0fr3Go2OWDTMhVFUdp7mACyyZVfGIT8ecAs8sN9nU04="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c741e1d1_1523536498661_0.7270122344540189"},"_hasShrinkwrap":false},"0.6.0-alpha.6ceacecc":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.6ceacecc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.6ceacecc","@crave/farmblocks-theme":"^1.6.0-alpha.6ceacecc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.6ceacecc","dist":{"shasum":"4c9363d118c19a96d23c60c8f9bb0834d1df3244","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.6ceacecc.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-Fvz76FmXfF+tM5/YFB8fgWhfZNJ59jXnLT8HA6gQmLyxi/zrVRu1Sq72hXqev5NJ/0yJuVAXI1bsMI8lZT1vFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDp8jhBzeON9XxU0NZLCNLCdec+lBtnTCpz6ZbXW20jSAiAI98MxWRoAzfvvK8SnM4qmzf4vqezRBBDqzVmyAqcK0g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.6ceacecc_1523543783881_0.15430664877292855"},"_hasShrinkwrap":false},"0.6.0-alpha.0e264232":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0e264232","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0e264232","@crave/farmblocks-theme":"^1.6.0-alpha.0e264232","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0e264232","dist":{"shasum":"cbc209a269986303c159d21e843d36d328e8f49e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0e264232.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-PU9WG2tQKfb+ixgRGrm0kAJvhpmOJTqaTxhLnoSJ92c+EzC7MJbBLs9bJKkCc+y755Px/44s3rcpXAWrVAKEag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJDmZWRcXp9f333Yg8Zbk7qAcBPE/4tbyfUpHJqfShqwIhAO8zm0nrlhO5B9lIodZLlhKtQRVHzU0lL3a0oqlPUNk7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0e264232_1523545695528_0.009283634775390626"},"_hasShrinkwrap":false},"0.6.0-alpha.7bfb746f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.7bfb746f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.7bfb746f","@crave/farmblocks-theme":"^1.6.0-alpha.7bfb746f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.7bfb746f","dist":{"shasum":"c6561bcf0dd07c98968b272a4315f6728c115fe4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.7bfb746f.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-QBoaXkLZrdF4sas8MH8ZHgjr3UvdWQRXqrwdLY4yhYvcKM2CvaeKXAqpAVlPHf76niqnf61BkgW//+utCtVBDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGwVqi/s+gkHwgsXtvWIxySykxPAuYpCthnRwnJiPnzBAiEAjRWIdNPo2Ry58ebv1IicZo8OQHcSMW6y+gUZvSp1UZI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.7bfb746f_1523550869420_0.45203713969527715"},"_hasShrinkwrap":false},"0.6.0-alpha.2c2e80e4":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.2c2e80e4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.2c2e80e4","@crave/farmblocks-theme":"^1.6.0-alpha.2c2e80e4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.2c2e80e4","dist":{"shasum":"1e30e5f6a3811d2125e602c6a8b33d1184e13ad3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.2c2e80e4.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-3lCMRZd+XI1pQep2mpWlBbp74x4giZzSSaf0ROIxdi+wd9U9nFGwQ7aLIEk/fpzuZk9CXXa0Or0gXNH2ZQ+cHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCko9y7/Y7V8sBbiGMg+DVKCnSZIyBD0yZJjhMgNccAKwIhAPyhSaCwP1z/kEYHe5iNslsVmg/gmpa/uCmABRUMf4i+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.2c2e80e4_1523553533031_0.6357492991053728"},"_hasShrinkwrap":false},"0.6.0-alpha.8c7247a1":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8c7247a1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8c7247a1","@crave/farmblocks-theme":"^1.6.0-alpha.8c7247a1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8c7247a1","dist":{"shasum":"313d87b00dcdeeacaa9a9a07c356554ff4e3ab54","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8c7247a1.tgz","fileCount":15,"unpackedSize":21575,"integrity":"sha512-NaAr+obfgBm+9ouoJ9LIP588o7TewmOcJalifPdPom27K7iV9KksAUAlJzO78SUoVQA3JhLn3J2XkNVubY8ZhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPhji0ZrhbELi/MLgl5xsvSjcQ/mOFqd6NCwXZdPe/fgIgLy0Q7JsLwyqj7GETC8YkbpFYqPBVXm8vXWeBQmgNn1k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8c7247a1_1523553590209_0.14543768234476628"},"_hasShrinkwrap":false},"0.6.0-alpha.78e42623":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.78e42623","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.78e42623","@crave/farmblocks-theme":"^1.6.0-alpha.78e42623","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.78e42623","dist":{"shasum":"5915ef1452ce76dd5408fdc0678ddc027ea2c9e6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.78e42623.tgz","fileCount":15,"unpackedSize":21980,"integrity":"sha512-vnZXAC/DKsp3gVl+uoVVQIh/MoJVl1dCLk1ciNsjl0T14La1DqfQCakKC5ngyKJ+CpHtEVjAE5c47ay2Is4wRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEwDoFE8CzwN/5o/hqi7A5xGPS6sPljwn0P7yMG2hFJAiEA4/CL2mwCpeZHQlbSkeHQvDDS/3V/M3TLEUrTa+ZfjIA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.78e42623_1523560773171_0.9226822421916809"},"_hasShrinkwrap":false},"0.6.0-alpha.567db8b1":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.567db8b1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.567db8b1","@crave/farmblocks-theme":"^1.6.0-alpha.567db8b1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.567db8b1","dist":{"shasum":"bc2305a60ec8a2e9213726b8dc4929d177b2c986","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.567db8b1.tgz","fileCount":15,"unpackedSize":21661,"integrity":"sha512-ej1d2mT0PfYTq9Q3svs+Q9N1ahLG/gwcUpeZ+9fTfXRjGlvrpoVsHuWHhe1NUre89wq+a6j/ze+f80EhuFA4JA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsXk9V/RtV8PBRwffuo+/b+HfRLmNJC2DsQ7N8Yd901AiAzSUjeAze2P+BqdOnyzW2rWb9l8mCuMyZqGirgo+IcTA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.567db8b1_1523566060912_0.03405367370091339"},"_hasShrinkwrap":false},"0.6.0-alpha.0f8988ee":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0f8988ee","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0f8988ee","@crave/farmblocks-theme":"^1.6.0-alpha.0f8988ee","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0f8988ee","dist":{"shasum":"0ef5850c1b14bf9f2c77c65b1899e208300d56cd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0f8988ee.tgz","fileCount":15,"unpackedSize":21661,"integrity":"sha512-8AGrWFUxtH8Xy+RsH1lO6hVg4cHozhqlEJGi/JH29W6TC+xRAWL7fIu+j32wfmWi/AYTF4/N5rxJNhe1sG/joA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqlDtvhUYo+lKuKke1DKZXPp0eRj+8btTth98LZfVfrAiAXZVnfMPT02VxUdB6nTF/hGCQrBvc/AVg9vXojIzFJoA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0f8988ee_1523567365266_0.7043156144938862"},"_hasShrinkwrap":false},"0.6.0-alpha.c1e5c084":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c1e5c084","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c1e5c084","@crave/farmblocks-theme":"^1.6.0-alpha.c1e5c084","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c1e5c084","dist":{"shasum":"627abf5586ffc6449d5cf22560f21f29b1dafb20","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c1e5c084.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1fOGCRA9TVsSAnZWagAAHNAQAJIGAN8PBEd859npLzGE\nF+8yKDbA9wXHop1HkMoGDGhnz4AdTQL0fb1qt65znWM3n1VNc94/sOpBr+TG\nXWezZTXJaR/FKCsUH3b5vi+eQzKqd77OBOUfkY2ISgmJzwUvccu7n5mHYiWN\nTno5BvjlVo2GYyT3Tg1PSKmQcXc9gw97quYOZWHNHj8vnNZFb91pVKLTeCM1\nM5HNvAdqBMKNlRIPTYMWmlT5ym4jWHjP7AuidYp9XoTJGIi+itb+BaUZLgm/\nrePF42+fxu7Zc0HDbJsjyQNPBkxPKec0B8Hn7zmzzmjmkWFgSh8GhM8LX4VZ\n4Ruh9ErIx5yJY28vJBPfUyfwIF/57b+qNgNOxJUpcIlTDxnJRU9l+l3xMjfu\nIlbFZE0C+E9OjMl9TpBkUKN/d8f6jwNZoKWI7rAOkOC3pPZR9vLcnt6QTOIb\nx70ID9BLk6Stzqmuu8ViiEyHAjYvuIBcga0ZpW1H+JqjZnhR9PT9Jg/5c6XY\nkcnR4L5Fx+amDI9ICU8IVfBL7fE0p/nUuvobg715fNIdlwOedwKT502EV6s2\nst8ULKkLoKtDq/vAtqfFndNNh3drmGKz3CPvHqMEWXsrv1RmoSp/and9UaFc\ngH9+wPQ1d+A3L2nDwp4RafMhEdlytlRutdcMwIBSBtlyTfLnyU1FfDhbGeaq\nHQ1T\r\n=gXwi\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Kl7p76fGv1stUcAgtE+r0UHTdH/K0nxmDvcSEOf4IXVnJvEVtN4lyySwfDMyTO6cy+4w1w2M6krC3ToaQMnoZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtp49qAA64QbyLIAUSjHsLPS2iisBtnBBFTin6B3XYxAiEAwUB9SDWPLYKg7QaYvIlARijzqPzaZKYGFjw4DpvxY0Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c1e5c084_1523970949909_0.6338340141458532"},"_hasShrinkwrap":false},"0.6.0-alpha.c992534f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c992534f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c992534f","@crave/farmblocks-theme":"^1.6.0-alpha.c992534f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c992534f","dist":{"shasum":"aa75bc66cc09609bba7c5b8e2923aab743210a6a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c992534f.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2G89CRA9TVsSAnZWagAA4Q0P/0UZw44PJPHU6Mue8ebU\nlVTRsFZz7TwSDwg+GKLOa3QpS2GD72cODzJ//NSjwx44MnTmFCTPGPmOVyj1\nJsUdfLK+yT1MK0Eq86Cj7WHqBtG0HQC35gj7YJBOrbc4uj3jzamC4h9J/UGd\nwG6Q8A4OOnWPqZAX8uEKbVz0iGiqvInkhOEtnyxcmSspkRaL4O3UCXPZ68EN\nogLLcCRZm0yNYS9Mj1tIYo56Vb/968M102+IRSyt0DKtekHd1ghUUQVnNW0Q\nbqRB3/4UaDJTz25HUVFqKsCH6zVGntO4vFA2+i3guuRoP5r2HXvfYECT1ejz\ngsvFGCBMqCmHgnjJ+g0sB8nAqoD2wtLKcVZE384wQVVOpITArnYtXC3QGnXi\nE/UbkN3ZVcM9ArW9HbdjU8636d3z3Abn9opkUaV66Ukc3n+lJThOA+qWLjCy\nbHpnvBn7jT8eNliiJgLEGL26oUZG0iXWPExLuoRH3mVgoTf7xpSQZn3hPHvZ\nLJbLN1fueMqFseHVGe3Y8C+ijpwdg/ZNsvBBWAqxmDAHydNJZA6xnuuo8lOc\nem0v3a7zlbEm9r2TLoALqL+DwLGEp3Hw5wivNIp1Br0otJl7ZonHkrGcxdGD\nLyxioFG5N/H/T1cHXLZCBgN9lFjH3wlXSArygXKf969KiUYEMujPp9dVa60g\niJta\r\n=R8jK\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-nd3jQpPAlL7raNP3v0g8+H/z6GblOEb9dnNBIdS45S/QrvJozBGmCV6o315jhafH9nb/WxVeB63wuiJp1udqmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdMTLyNRi/xoKX6Uskkfbe78mH0JmZjbvUoLK44POrYwIhAN2Y84E9kI3WUeKyifY1IhMxxDxEfJF5b8UVPFvIAZu0"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c992534f_1524133693490_0.454673610712101"},"_hasShrinkwrap":false},"0.6.0-alpha.8cf38478":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.8cf38478","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8cf38478","@crave/farmblocks-theme":"^1.6.0-alpha.8cf38478","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.8cf38478","dist":{"shasum":"484f1d8400e21663007cef2ad5b375df4bc82369","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.8cf38478.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2G/FCRA9TVsSAnZWagAApIYP/34KBmS6cvqa6vD//EiZ\nzySLPnN0MB7srczP6kmQcLG+2Df6Rqy0VOgu/ePmSm93dvmmin+6qtN+vHsR\nEtZts7v2/j+4mCf3jmkdm+LIvHkvHCaI4xDZUNDBwsGpuBKFKutmjiOymnHh\nYR6aWpNV7Dy6CM+2jSyqPCv3cgDdpBMMIYWEzx6zQFVU2tgSw9NyaiuZnvMW\n0cex2v/GDMTz7VqcBxMvbuYfmqDtHyK1d9tpPzBlUOFIXay6eOuga8255sO9\nJjq2hsZmpWzga1DNdJkcyAnqxwksoa9BSaO+uE99hmkNJ2UEamCDTlpY6/Xi\nVg52At08Ec9w/9Dyd/vAhfjhTs6KmMO620rQB7OiLP42J3b7K+i449chiDMi\nqbqJ5BEPlL07s2Vdaq+UK7DjyKnlwQ/daXs/QqqTlakYrXjAVGI5oRFrsyTI\numEEvSpDlWSvzHZYqIJIcl+1cvIA5PvqFGfsRrvILuMzjD6QjCwM0Vl45GVz\nKOAfkQJ0YQIEDXKLzL3xwOYDpgzWFj4qdcDs0ndksZpQZfES076TpGj5HRn9\nOneuBsgg8fL6TNqyxPspoi2p4Gp179Bdkk123+brIPMvsLjZUVc8qmoKlQZC\nTq7dmhDgXsvSVxjNoJrg225gzrWNagf0KcF4ZDW7eWRwX9Yt0seqMSoX9pkD\nTIzk\r\n=9KF/\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-kaozDyy0cAt15vQP7Vq8AlKW1Os7lpZ4tH1JDgO7qsFmDkHm7WNP/HoBpBoF8/XRiTb7Fcmsxg1wIqkoe3tFwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDZxzW7+O0jcPhtjy2IHtpn33Uk+s6N+L/C+ePUHH3aAiEAl+Tra+WMuaA+XIkVDOj9srZHHWbQdyO8b1J5JiR059E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.8cf38478_1524133829531_0.8553008281658474"},"_hasShrinkwrap":false},"0.6.0-alpha.0129661a":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0129661a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0129661a","@crave/farmblocks-theme":"^1.6.0-alpha.0129661a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0129661a","dist":{"shasum":"f52f3dcf26f2e8915c349df86489a66411cd1d8f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0129661a.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4ej2CRA9TVsSAnZWagAAFdgP/Aryp1rTJTEKjSK/MKB9\nsAfeKxRWlTBIfgGhxN68aLwaZ60QFUTfqXyiw9ZlSw+ztfmMZTtNz9LSyM+J\n2aSf9/o5EMbnTAe1l6560PYPxMhyy0F72LQZrfe4OPUsEBoa3Qmz9QE7MNtK\n16RiS4pecOgSBvxKurGc03nd9VeN/U+shE3ix38xoGu5UJCV3ms6MV0Z+pYz\nS7lz46VaOWXcLvS7EcRHdSO/Ar5nSJ/GLkyGFYbM4U+J37ySEVS0WBIfuLj6\nsovHsqF7CwUyYj94zCX/u6ByLGJDuk2PAn5W6c3rB+PXJLAGUObyzMtYqcMU\n8MWKd01oGvlqX3XZ3XS3i44LgfEKuz6oMrjXdGFmUwsqsZ7SAle16tNtIfIA\nuVOc4pruTIBnf5ZezvX3xv0Q9JxF1up8lVKdTHEJSM+vCAZAXB2AGKACEmrx\nsMchnkSMOfz0BkYfXcvQdt0d35bizC4qWOZS/QR8GqnuULHMqRsGWZsNapiV\nlKHCkxgVYaHRU0GnzTm7Ae7bCPnGSAZG77wkHWthdrhpXskqkt5+PJZVyQAd\n5oPDL2fFI8SubuF1bTr1yOC3bZp/nrsN3rI3GcY3fCcYEmfxZWT3LL47jKiJ\nzvGEwVNjzvY7tzewcfSg/LQoBKCVKnC4txWGH/6uwEftmybQgS0nck4JDgWi\nc5RQ\r\n=DeH3\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Tp2/SvAGnCKf7LstZpnCXNEvndw9wWUP3SZizJqx96InBvsz0YlWwI6fsDIa3nldLuhNgShNyc4u3rZp9PsJEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpb5u7w6AUMC8ikorCpJ2c5l9Oi9AbH1qamWQ1hBipGwIhAPkcCtnL8Ki2bPVPJiz5peIBYq3HhUhqEj8lxKYSM3Rd"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0129661a_1524754678097_0.820484975558941"},"_hasShrinkwrap":false},"0.6.0-alpha.d78965e7":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.d78965e7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d78965e7","@crave/farmblocks-theme":"^1.6.0-alpha.d78965e7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.d78965e7","dist":{"shasum":"95839cd4396f9d8228693c0d1da78a7259774cc0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.d78965e7.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa624XCRA9TVsSAnZWagAA9ooP/jNzJI7GVx1g5FRBOf8i\n8acwdyGV4VGwc7ytJiL/zy79pZfKafqo6hqcQM8p/jCgwg6TeNoAQwaevNP6\nbhoreN0NykDLWWzHZ8P1tzrHQx+Y7Kz7kg0wuqbBs8pAhQ4zIhmD1ROAq8Gk\nGWv+ZoU2tBbBZjIOGrSbKuPMUNQbJp/SodMZPmNBQ3p0g8tuxow+G8hBWNN8\nWbCFRKDuaI6NfhsES/WUzRDSAmv9t4ax4n8oE8oCc0eCIXQvxHkOxBN87DKU\nLuHJWnNVdElCQ3wCsCntZ+KMiAmtnJQOM0joOMIvJdVK4VVlpNNCn5g7Kk22\n5ptkAo1+dz+cetnSesH+wEPSNarLzbUFQcj9h6Ui79Ls1JYogOwo711LJqZp\nvJwJDAUPr9QMFRMYLmkt0O1ucFdQG4+ydd4BwRWSlq3a/qY3KdRFIpVOBvuk\nSdT2Ej7DLZwTcJsnajB5C8xXQYDgPmgUQycJ955SzMOXlfquRUgRPpmn8hxz\nAq5L5o7icLRw0kzhglXCjsgbq2s99wVLchObg8kzqE1dIMX8vY40QISCQPyD\ntOKyBnTIQzWs9aOi6xkrIGx0oCZE/Gw2K7m7sm/LjHeOl67GvnoKSSmEtVtn\nhzeyGxewzMOgbZbWop6XVZ4kbIxN75I1XIDIy4l5NkyhAcO2XgDwjx3Gu2pU\nsEAg\r\n=pmJe\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-NkQEoI/TY9CjWWag1Le28wxwOyOCWl7w6+rUvPQs2IvII6e53v0HUHjel+AVVSiuoZnsyLn/6n5C/BE7lOQZqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUm6jbV6E+2f79Y9Q4mjQj/QhNOznOJsWeYqEcxxLLKQIgA4vJbv72qNLmmTB0aFy9SUmqOx4jJWTVJaes2SDkVMY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.d78965e7_1525378582514_0.5518814112643051"},"_hasShrinkwrap":false},"0.6.0-alpha.1005c7cb":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.1005c7cb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1005c7cb","@crave/farmblocks-theme":"^1.6.0-alpha.1005c7cb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.1005c7cb","dist":{"shasum":"f48504287c878e7f6ba0f6319463d13d75a6c4d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.1005c7cb.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7GJoCRA9TVsSAnZWagAA43EP/2+Zt54HVUBQOqeokzfz\nX23jXg01jGFV9g59NeHsd6dOXRIQW1XfVh1wRna/O05EiAJ/a1KL0blZtqGZ\nG9ulobVSmKxwO5YxBAWzpzj3fkFHZ3j2IZbh4eQD9k+QumhBCWcVtVjZ2uNl\nHOGQ0u9FM4iFCaC68l2nv+N3qHHFCvX+K75GJ5CVuU3GYB42UsqZ0d+2hy81\nx/yTx3H4xjGhpbwvw4zBxzmOuN1G2C16nnwilr8iSUnbX2CVJikT/8xcsIEC\nzl9pulQXjv4hnqvSNpatTSeWkyi7PHhWAIB2JZ3wfM38HYvmNAhkw3mU95r0\nYbgVwT8xROHnaV5SGFZ9oMCe2Nv9HmJBoqYRFAyNkMFp1ev8P5C9De2vZDgk\n+wElkGC5Jfw3lHDb0qCzBIwh1kq2CIcjGDK4rtcEVbacp3gjVkj9rx4ktmey\n/iMCeD8gzQg5Y8Ne1ibuAb2RPVVXb/+G8YNclpiifB1az0i77u/e6MyqF8tk\nsfUC6TBDlDteQsxXzirGNk4Miez967ihJHcqNiNhpFrogwl1pmYl/ABBSZTA\nIY4keq0So0diyJbojrM97QH8CONbtD/M0+SIureBllako5SEvlpwoQS4zweE\n9VaYZoHfbKrFf240bKBVFHFKYdg0b6xR8PVfPutWvvl8LH9dxR3HdZWqEI1Q\novNe\r\n=z2qi\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-OS1IEYFrO7crqRRQh+IUD4cPICBsevGqHFQunXIc8f91dmHI+ouF8B+dqawf4uL/zRgtHXinUDZ+gUjQfa+bZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkvUbgEyDzdy6vT8c2rn1b6mCxMsGjsKtaB5+bzhe0lAIhAPRK1nl4B7wtsCz+v/7LPgKqKb4L5oAFwbXvaHsaYnBk"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.1005c7cb_1525441128561_0.5987675361016078"},"_hasShrinkwrap":false},"0.6.0-alpha.26f43c6d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.26f43c6d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.26f43c6d","@crave/farmblocks-theme":"^1.6.0-alpha.26f43c6d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.26f43c6d","dist":{"shasum":"1ca6c2f9798d6aea1abcfc57689e8e654151e3eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.26f43c6d.tgz","fileCount":15,"unpackedSize":21765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8eP7CRA9TVsSAnZWagAAfwYQAKDseYKrRQRENtLxvNI+\n2EfwCu9EL1vzbokcw+WKTGrB0MLJ0EEoRJqk34wu8nHm0S1eP7Ply2Duc4hL\nGj4p0faN3anlJjCm0mivPXVcntYyxEWj6iWe4xJZhdZAT/CttP0MTYmded66\nxRlELO/0R/sUCo09PjWObezLcbs2PkTHUreLPvJh2o6IxrszfpZpPMvfJxnr\nux2k4HjA6n88Dj2fYGdpI/TD1l/W6xO0hQtNG5p27fCXAcR3dSqJZIt4v6/C\nGv/+PqG0kD/G/a4srW/7WpTwWhV4V5estUgOVXQ6okS2sJhnG9H61xbLWCFc\nbYUd2btSr6aoQSAzAsFKnle2tkLuoBFQO2fgWp4ixEwYFxjLmJXjfohLOWU5\nzF3XH6bp6ztUrN86pVl/3g4x5vOa+k+RzgZhw3S0xX126qU8vDtJNL0kAlNw\n3EkS0h4+ONkd5oAuQF9F/DmF9mbKrKZR8vdyZl2k3BlNvD+on39Tmf6boRGc\nRVO4z0tMxpsOCr+e6bkN4eNeqWeF7HqrwwoI4WxItsTqspPJ5F6zjqawr1xd\nlqVB9W55i+r/7vkyNvK9vO03EmluZcTEqw52T4HPnhl4FQYFcD0GWMvFMp5a\nfgcD0UxfUUEVrkIx+vDELpfNluwhrik+BYSUmiPqLvFAKHL2h5rz8AJd1WFl\nA2m/\r\n=ODTG\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-r/hi+qBbuGldMpKQlXgcD2l3QmLLQ5MwOl5ia45NxtC2TBhgw8G/vF7n9JdmbHYvaGh4KenFCJh8/HKoHFgUeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbdRxS7geN3Xuukdm33HNWP934z1PGZerCCFmUaQXqHAiAUoc0v8J1dzpdTgX6R9p5Rw75TFss4LSixkYODBHHhWg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.26f43c6d_1525801978742_0.54385364672456"},"_hasShrinkwrap":false},"0.6.0-alpha.fcec25ae":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.fcec25ae","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.fcec25ae","@crave/farmblocks-theme":"^1.6.0-alpha.fcec25ae","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.fcec25ae","dist":{"shasum":"6ad710a7ef3ea965e890b129023596957e6ce5e4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.fcec25ae.tgz","fileCount":15,"unpackedSize":21770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8eyzCRA9TVsSAnZWagAAWVAP/RH9yrvvt/cD3Y0chdMJ\nSCi0z/DqMNinQ0F4Vhpv0EuzJ8uHJks8OGDkTadetBhWaSgNG3rVzlLZGMGz\niL7GiOymxmmh8zhqDRnQQgYkHQpvrdkLChNiZSSUTmojQXvNFFLCxcnDm4eu\nHHRkwh88KUXgjxxivNr9aBjlR70QQGAHX63wngEZgHYxVj6O/QxNoAFgmEOP\neoIxKJd7wk5UtBEQIpKY2MuRYdV3jqVSSYjPINiIBvY7ze+bS2vj8d+vIGtN\ndoAcxrHPaZZmVZ42WMeddShQR4qctu/SG/5Tr7syNVen6aCpro+HwCW05u2b\nd7ySTMhJwlqh0JyagqO4CO0/jcLEakcQsCfHg70vn89vEYfNUe21kZEFVvdO\nf5Fzpps9CplgFhUc98ONqG92ExIuIvm0k3uiyqe/zVF7aH6/K9iRR/gebu5t\nuTg3IhNLaWlVckcUIP9V/4zFoXiHcj6cMe88NK+u//3l7ueIEPKLnVSJZnI4\n2lQ4LPQ5ficp8BqEzgM75n7cHDw4tJyS5fT+/clhCHxx7aVKWTJ4umZAITgW\nNW9tZ/dQe8HB7VjEBCw+SBvL1O+88aPgKkxwabySrzORIR9EHcBoRYpNyJUo\nwIBDn4eUAOQyygz0wiUtjkcgJgQ7QSbO1B7ahrGAuqdTHlBiBwaUgpINhV2N\nJIks\r\n=gdFW\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-1XlY0fexO1/+ipU5NWXJngZzvy8Nrd7hLsu8DYue+G+wRURq1RllqFeP4igsnsNNeOSkK5eToH9XHTeP77VLgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0zIJV7DhA3hFtpIFDJesbskKiYiH+zp6LeCMkM5k37AiAJFY1d0QhWEolrRKTvuVC9i1lVpTDN/aeImgK5Do1MaQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.fcec25ae_1525804210866_0.07739641838488853"},"_hasShrinkwrap":false},"0.6.0-alpha.cdcc2d7c":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.cdcc2d7c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.cdcc2d7c","@crave/farmblocks-theme":"^1.6.0-alpha.cdcc2d7c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.cdcc2d7c","dist":{"shasum":"63c331c123b49577264acf3db8c8e6f811904f19","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.cdcc2d7c.tgz","fileCount":15,"unpackedSize":21770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8fTPCRA9TVsSAnZWagAA77wP/j4Lmwla//Uo0t3hRWHN\nwOsi7fvAIgRxkMkoT3uN3ZJSJJGKWcfIYN9CXKnLv4a6Hr3WYQ3/ggFNBMiZ\nHmgbtD22sTzp0u/RMY8nIpMXjDjj2dTT9Rb3J62rHdj4ksUo0JBab5mHnaG6\n4oWWSzbVrl8zBCSBPq4mt2RkW/I7i3vjTW4qHV+CFRluJAIqboAisMOnibCI\nIG11UjZ+jNXOPXpRyX+7As/W0/tGokdjr9eEg6I/3+ueHkJEnpT3X6eC4hUi\nQ9CugL5c1ho0caCN/KT5eey+iG7oNk+CXycOrJC3h/8fR1b2Elq7Q9V1nLrf\nmTXShWvjZxJdKSTRtYQqqjNp/aAXUfnGxouQlVCr/JXkhFKUR2A233JlYYOw\n0gAoD/uKf80oSjqYRmJ0xUqYxI9LrmYD8Yco8wuV4e65SF++V6EAh2rb6dYN\nMfjfmHtoyUcBfqoAmA996hKeVq1G8R1wyp5CcvjgV2WUMWqKh6PIk6pNQ7a8\nNrcjyztZ+FpPhf1SRIe3ZfsfaQDnVqbXNYBps1Lo7sKe3T3/oioKK2yNIk7W\nMib1+FexM/TSXArdQ/TFPRJidTHSG7WctX6dbppcOlXWBjHNLrkHUoQj03Od\nsCuOw7amz5cU/UvmcTrJ2obotICYwjfvIExZ9zKaqoYZspiZ2ENtg/0Jlk4A\nTm2e\r\n=kctH\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-SvKFGIdF6B4iKn3aqYTSRLV4fs6YEqUFIF4vbLDOJl9Gs0bpqtl2P5n0omUDirabFP3n5KnBXgkWKByFTlYC8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjmYfOLNmClpIJbMHsQ3fUnVr+QwW97mKxm65+6rJD5AiEA/J6v21BCzlEh5/9RZ9jpcX2gKSrfPjubbgf2IjMmgm4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.cdcc2d7c_1525806286358_0.12936658845128224"},"_hasShrinkwrap":false},"0.6.0-alpha.bae3ce7b":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.bae3ce7b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.bae3ce7b","@crave/farmblocks-theme":"^1.6.0-alpha.bae3ce7b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.bae3ce7b","dist":{"shasum":"b7429be633e545f74fdaf3f55b5bc4e289c809d2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.bae3ce7b.tgz","fileCount":15,"unpackedSize":21770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8fxqCRA9TVsSAnZWagAANXQQAI39VemDJGSHDCgaDNEs\n+/u4/YeG70EGTEX7p0IDJ7HuPivY+dhUFFqBDVrr7j0X1tgbrL0ImnEfNJ13\nVyArifqQs2SBrtC7MMpdDrcawCSGD6SiCtKRXgE5kg6QKK5/Dn1qrPccPLqu\nDtSQ4QhR0CIMe6GUbvcVbr5425004ynK7bCRlvSld25OmWTXnrVh4riSJm0U\nzfDgDz8CIt8flb15T+MJiedG2lOujeBq01JxOKF3JRD+b9aiFpseMFasw3YK\n7eL3Mfg3jh1oyUoLBB20TvUybG1IFIvGR96IqDfuv+izRL6KFIiFLJCNbmWO\nd1lF3ad5DKVdseW6AAc9+RKQYHvNTneV18uXRV3kwsajqw5rC63SJrBtA9HP\nmSCg8V0n11j0vMrpH9AUxHuRby87XJj0oAJFGs28vJWnfO/g1HYWdJqWbSqK\njATK7n8eVRt2rejC/J4pdFMKp/PBwJXoXuEWy8EKxHNadc2uULDWuO5k0X/6\nZb5GP4pWTu/f/EebzLYIABk9JQdnqrE2snc7vbfO2VpzFGSMAWyYUEA+Fo73\nCAOUvrIui6EJAoRQG2TTKntKzz3Y9fDF3DXZlJJ+tsr2WJIch525nqi9GB+Z\njz05l7Uom+yiiT8D/Aj8CLiYW7cWgwDKfVqNj+hnEMMocrebeWXn2zNxrv3U\nX7SB\r\n=X8GJ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-YQ5Va46nuuQ/0fhaFwIBklngTHoKyo0WatiHaq6inKxiaPLtB5oVUUrIX2YjahqoOBeVbCg41/AqZkGTcmvydw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDD29M5+pU5dafPNLtgFw1nRMOO3qAILWxrWAq0trz4wIgEEMuSW0gucxodTfVulNj2AeTuiHhWIntzJH875xiVfw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.bae3ce7b_1525808234348_0.4231286678986643"},"_hasShrinkwrap":false},"0.6.0-alpha.034eb3d8":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.034eb3d8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.034eb3d8","@crave/farmblocks-theme":"^1.6.0-alpha.034eb3d8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.034eb3d8","dist":{"shasum":"bfe41c40b56ef067238346010152a7425ad6bb4a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.034eb3d8.tgz","fileCount":15,"unpackedSize":21770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8fyyCRA9TVsSAnZWagAAXEgP/Rh3zoT0h933pEpkPdC8\ntOreRb6eICasAoVMLEAqNWJnEdmvajKP7YkOPMFwONLxGoHvlrv7mCoNvw8E\n18tq2iyi3DB94BoLHadkr4Ho2/UCz19obWd5H3bumjalt9mYMVGnKmJbkhL7\nSNfvKSLM9aD6uDWlQi6l77yl2BVR9UsIRfevtws4hl0faQXX/Az/SEQdPVj0\nJrF2Py38+mOqp1tl6JBGYJ904J6cIECFGhp2n6RLtl4NLz4xcVAhf0fh7qR6\nhGzLrtpjnIAbdfGrvKBEFubtBp2hOcxP8JAyUN8/lYwD5N4vjSOAOyxFtj7i\nSkIGduTO8UQQfbL8Gf6R33w/Ahrc0CoiBtoVUwSkxBNDFF/UUec7dtiWE9wb\nA0dxbPf9aCdYaJ1JWzeSvlJUIzOvuBSvi9CartRIV4WXwM5/rmdkcbMaH7+B\nYeW/S5Ipul/o3BQ0vThpkQU2REPqSS84AVI4DaTI3GPqysoC7vB0rcx5eGUC\n/1NIvZJxcrI1cyaxM5DrFm0lpp9lDwti+cD+xGg3m4YIgcFmPIbREiIcXsGP\nfgRskhg4PLFj2epb6vWot2mfSvw6/M1r9Wa8HBrFgvXSN8GNtzKHpZrMxxr/\nfamBlOnkfZGO19U9DAnKGElXVyWWHHKYtUSV1kN++NCSsSg4wXwmyuBBDzim\nyTeK\r\n=oQJD\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-rVAc5SSECopsufFmr33JrvougJFXH4ONY7CE8Pua7bvhy5toEdkbfK+xCuKKYB2p1GI8DoTJuzKR8EmT+Mtv5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe8PkiJTmknXdfvark12M4MPAolojqUzZmv3urlIv7kwIgajHzHk5RLoUtLNTmK9e9/dbEqmmlebh0x/ByWEG1Ofk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.034eb3d8_1525808305990_0.23284475824799444"},"_hasShrinkwrap":false},"0.6.0-alpha.5d55608d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.5d55608d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.5d55608d","@crave/farmblocks-theme":"^1.6.0-alpha.5d55608d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.5d55608d","dist":{"shasum":"a95129b3ed1026a1f47ba5f26c68ccb221fe1b97","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.5d55608d.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8vNjCRA9TVsSAnZWagAAWsIQAIEl56Wnd7VzUVe6T9Ex\n6niduPeUGfULJo9IPYKqWjdyVyM2+nE4pF5VWYFzfggVXmE0euFtHzhkkO+Q\nYbkP0qtCa+hahoG+/NrfHtUn1Nuwki81p2Ycejt+Ev6GihQ2XeciPuAIYBKQ\niKQH3EtSzUeZkz36P8BwbTI6tCf0HBlxzH0SxdWja+GL8xfzy+hHxYvuw7Ch\nqOd17QFZwyxRcVkAGnTjGrSyFgKdWIDIw5xfup7U6ktSEQqiWX3Ogiu3DZ/o\nX347HwmLXV0HFD8JnhfMfobjjIja1ILVaEGnc7KEusJDiAD0JQ1+KZM6QXYm\n8kXstSTgsEIHtHBhIJFTfwqxYsSBLSTNks8uZDhB28P8pzetO9vPR2qk+It6\nzJ0zorWWbJdCLhW2lw/MrlYvcVuYDyksmpOVtziswJF+Zyu0Ncptr+bXa7Hd\nyjfYkDooPTOMIYkO0B71xuUfUlkDrXFy04fcrrg+O6UhXO8B0LUCQOspzmtw\n8Cqul1QFJf5e0BeFtByDhyyOm+n/cIfS+Vr84kkWoPbiK7nKMZumYH0e5brC\nC1gHBqDu8KDKniIJ39wZ3nB0w6s0Quz46iQdxlHt8f0AoK3ci5BEBUbH8OT+\n1RFllpvJqD2sE3ftY2Az8Sgwz3jLlPTlXX/Vd81REDaOykqO+S+9O5yLkV3l\nj0R7\r\n=47yR\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Kx77YRSP2YZKpqcUH4LnmAonk7o03A+SzjwSFOQivpGKvehJp7wB2J5TluKSBcGHZEkGGqf0O0hDSU3/JkXsww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICeUho48H3qUgXBmxmvKSlB//ftJy9bc/TZPYTO0KIQXAiEA4kDxRKuTbuKWUoy8+9liN3Z8bwCdWj2x3N9RyqddE44="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.5d55608d_1525871459539_0.48887830829079215"},"_hasShrinkwrap":false},"0.6.0-alpha.ec36c80f":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.ec36c80f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.ec36c80f","@crave/farmblocks-theme":"^1.6.0-alpha.ec36c80f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.ec36c80f","dist":{"shasum":"c3dde8067c5e92f648e12e6a9571c913633223af","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.ec36c80f.tgz","fileCount":15,"unpackedSize":21770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa81SPCRA9TVsSAnZWagAAO7gQAID9IJOl7N3zleA1NC7F\nV12NLIfmqk4RliVLMdH0bxIlSJIaSjd/Ti1/NIY/yHj7aU/RWYfr9wUmOPBM\nRgKikaDcInwlBcnG7kfxrBetnXxt/0w5NngO0mdY3VmrrkU6MXaL8U/S2LYJ\nFCTWkxRk0FEEGrbiuZXqG0NwHbS0EDLp3mp9jXZWDqhtA+gNrMjnhh7pMD7F\nDKFm70AotB39XcB9KQq8QpILB3KZMGxntaBjIq0PRb0wurXNMEcXuxjl9+PE\nbCPsR+aFldpWiPseN1J5veUhYrVPJhdqznyDsPEM60CgaLCsxNxQenwhMlxV\n9L2WaJMev9+HP4lV2WPoKRsh/B2Ewp5FSj7hfezUn8Hixr2Mq5oQZDrOqJwC\niNXyzfTrP77WC2N2+Q7wtqO8hFp40byLUAG+ZEtHUz9iTU2L/fmn8Ph28weY\ncZh4ppyrhLRASBu6KqbdlI+lCQTnb9TtXN3fDcvEkxe7JqAg8zT8OKAzsUSq\n8TkUbNxEqHh7nfESaZVGZ5M1Lg6F5uTbh9tCeNS2nbxj6CQrTA8Muv2pqoQ0\nqi0Av1zj4AzC5Mo5uFWRZgXlhwHO0ZCrmWcvZz2abcQPO2qWIs6IET9s6T/l\nBe7RpPoNl3MWx72cZNf3EJud14Oruq4RmsW+De6OVJP7H6j+5OkMpngD96OM\nxI80\r\n=iTZW\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-R7slJZyaTh8W015zK74yCLWUE8oyKmTerJN140M1pri5f4vtVd4avHyWY3gM//CWzmrUSWECxaG5NdgmxugBBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwcH59sgdq0iJA7Ub7sI2818pp+iQMaFiJkpjZNMv9NwIhANp3lwK1RjMv71rYkK2hkyWOLMytkF2TbyVbPltGVZi2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.ec36c80f_1525896334796_0.6816352519664444"},"_hasShrinkwrap":false},"0.6.0-alpha.e0b35a1d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e0b35a1d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.e0b35a1d","@crave/farmblocks-theme":"^1.6.0-alpha.e0b35a1d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e0b35a1d","dist":{"shasum":"0673a5e573e7fedfc165a965121942d04e438511","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e0b35a1d.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa82z+CRA9TVsSAnZWagAAE5oP/AvcXVsGyArE/dE4e8q0\nd4JFbOkTueEWh85Cr7jh0k9qaDCRqdo/i00UZapvOt43Zx9VxWdhCRgOxXRb\nLgJvQA5Xh88J9Mabuzmr0IfbquaS+DdHnsRmeerMky/gT0pSRAWV6TG5FAiP\nRv4Z/jx5itX0v5zUJxPIjLBehPCQNAG8UcfPqaw4gOd0yoqoHI9N1AL8dl9m\nZP3Ztb6ppodpiRp++wdw4O31p5YHXEEjHemtBIwWd9lyBDPRQvngLlK4waKj\nUP3IBQG0qbSK8Del1nXxH3FuUDY89hpWEFWNGhAEUas/H9Pfi1pgGL3Wox81\n4Hx+zUUz+DvKasptxbF0nWhU9eFDY2mEOIBv+sjsqfUAJqNHC8pySzCAE2N3\njdQE7gK/Cl1GJxqLPqW3I8O5Xv/EdNDcCdCmfL8mtkiaD/t9ACFJernojhDy\n/Il1nZtKU8rXqwmCR/OuzuUS9cp/3mxbxkQ5j2M8BzyUiE5A8QZfv0ZXaUSM\nDlkkz4YIAhwhlvRM28ahiazgyy1XUE9uxnlALchIkPCyG9VqwIvWIgf9iaLy\ncfZ1rw66lftD3blLgOkJnoCNY+JmWEdJxoiOWdvMThXyOhu3G28+EXX/KdPB\npOpx+oJWPSuC02c1HzV7IBNnvF9L5DoUeEzcerJJNIyhIQtioCfx+9yD7ltY\npzP0\r\n=Vpgq\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-lO9u1pgLP25QGpYvC+MgeCcdsROszdj6gV9gRry/goJtyHvxB19FBfn2BLLMyDp7uD/ffnDDaVFt1zRMPWRirw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqYEPZHye0i35+ZOn7g4W4k6l9v4DVuJlqmU4M9IuXGAiEA87gWM2teL7rSGebwOTWRUW6xdyZTXKE1xnMdjJ93ouw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e0b35a1d_1525902590568_0.3925192367929262"},"_hasShrinkwrap":false},"0.6.0-alpha.e85f3855":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.e85f3855","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.e85f3855","@crave/farmblocks-theme":"^1.6.0-alpha.e85f3855","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.e85f3855","dist":{"shasum":"4b5c76b832dda4dbe84d534efc85de17d737f63b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.e85f3855.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa87RVCRA9TVsSAnZWagAAzT0P/j54ueb+8mQ5d6q268Vo\nQtfMlaY9sgJ8UAnY7bPGHS4YS0a7HV1bG59tZiyFwDnXO0QMaUb7vjnYPILI\nseppMNPux+LMILoMirdxOK2vWIefQvKPAGXCYJtVVmg+gXSHA/j3AvI27Nuo\nGtti03WX9hyvNmrfy48STrri89TRHS336k+V16jM5OwviiE3ILYw+k+jwo21\nLN5s3HM2rgXwOTTUS2hn3ptV41dokxWQSmY4q+fkYfuwZ5mWdhHG4YBjMcpE\nuBvLyYNdqgeP/1C6CWmVYwajXP0l4G8Q9/UMiU8jzZJi7ECw+jaFiGQPy4NF\nPWoFISsx/+KS+tSc/6ewM73DBTiVKTO1Sz0Gwek08fKB5+JdvUsY5twGcF09\nXGOATcB2b0iy05a0ThNSnHdxBd8mh5FFB1MHQTCHyj/DqL7TAon4dOyxafxS\nA8AOGUaX2kcrDoHGgWxdJGgb7kfsZc33C29w6fRchnwTwFJmXNma48/BHpaY\nOipu6ZR24FCweQaHMTtgOVS8UTUgXrH5wr/Nu/xDSlB7KHWTDLn2O75vkLzC\n0nq/7E+bbdWLhVhImJy+wy6BbiuV2J+DhdoOIyBL1G+1ky5cejNzIzpIQsCS\nrHArT4YQyuRNoqrgwo9t4AX4VYEWeozHd8lrOvr7UWH6xoXtdFTqHZR7lyU6\npj32\r\n=4psr\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-gzwt+lsNX6zldbRtZMv4T77IjmkHYF1HrXbwb+yQ3s2gJBE3jBYtmi/jglnsWb26cFPbNUwTjgeB/YryqITPGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwzjb7sMKze4PxHzhwrurGQF6pFO1xImkmlf7wITIC4AIhAIZi6j9comiEMu1QKjzSQjBDYdBXI6hur51zv7HFlZIe"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.e85f3855_1525920852905_0.011941360889828667"},"_hasShrinkwrap":false},"0.6.0-alpha.a38583d8":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.a38583d8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.a38583d8","@crave/farmblocks-theme":"^1.6.0-alpha.a38583d8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.a38583d8","dist":{"shasum":"22ee2d17f9714d30276ad24c49c9f74d54211d19","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.a38583d8.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa87//CRA9TVsSAnZWagAA6lMQAIKEP8bCv3AWdIVYyJuT\nx1Y1pbvwVLA8QGNYWGqt5GsOYnYkN6CO7AmQk5XGrutqspbcAyho3FPVyNu2\nUfUsuEdV+XU/04Yif0p23YYhH4cyfvy27WYKDaUN1xYY4UNG85JDxZTKmNnK\n3VFbcWfdTueWYZCfzVLHrkZ5+dluU9cIkTGjrm/Q6WjAeZCf5dNjAHv1s1po\nnn3ozcCHWxplkZewIKXM+x2+GDh372r9cty4QS8mQNF1+4zMGB8xPUWOn+lK\n21Cyu9U+ywqTHtxiBVYxsLaylHlRabhKW+++0bXoivuWyrQUg2Gk9PjntgJG\nqEbypToE/L1VBUM+0MRRSb7OUpGZpwT/3VWuVpBUApFnO4FdqTZLD/sKPYHU\n8YH+FYxOt8nsyUV189evnYKQuhv1P22qgul8btyODdH8EbWV3WAg51YdVVLX\n+fzfdYqJlcV4UI5IzyR0acuKU/vNvW0u/bPQ9Kk2hw0iHVPAEdsm8NsyYY+B\ntMyc9Ch+mJfof6zDotTT44cdgWvmmsV1XPeXsXlnA8kmif4fob3sZhH0QYi2\nqZXi9fNkz1xkg/TGm5twrE66J4z5RBqEMVYJo6jQXbMXaotUhL4asdvVyXCf\nBvYc61vjOMrvSr6asJdA11xAgG5pTdd7X8QP0vcJX988facJJ8bHdY3JlUNL\ndHUh\r\n=L+7/\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-AAi0SR6pSVkAvF/zuPCuoEwV0pBSv1P6GCJUG7UsfeBNqln/TGfIS2qRbhbK8QG50eA2kG650eAFPZW2m6SRjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDw9d/25ukwoIaUD3/j72XkbC1eRqHQx4iVYuxk1WlUAiEAx5Z4AaKs1IWeYvVYMtt0Mx5uZFUTuGCfBysvkXgg0YM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.a38583d8_1525923838997_0.12740359439136828"},"_hasShrinkwrap":false},"0.6.0-alpha.0bd8b165":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.0bd8b165","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.0bd8b165","@crave/farmblocks-theme":"^1.6.0-alpha.0bd8b165","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.0bd8b165","dist":{"shasum":"6926fd9a24f013c95ae08bcd6130abb76e70d8c2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.0bd8b165.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9EdyCRA9TVsSAnZWagAAU2kP/iYPpKUCxCYjv6gW+3V0\n7B40gTMb2MQ3AXQ/sn62mO63aJheScYM8I1+uG+4Y5zuEyNSB9BVyw2+kBoD\n8eGU5T1bVYgyUuzaJ0EJfcEtp4T3T+oMZgVT+wY8E1yR/NVk0yxmBIMI/AG9\nxsFwZ8moMtNXXlf7vA/ID1Md/UrM+u4BKLypP9aB20JZ4MDuQOBga2o8M5iG\nKlrFVpWEXPn+8zJw0FLPjSHGoVhWNyasAKDEDWwU5H0gSTrr5W9SuduEsK+0\nGniIiwO9ib3wbEWizuHT85+Elu5OIqHL7wYI59mgtVNdl+BIKGyvRuxRlZLV\nO/w+3Gn2ZyWunLzQh+0xbLlpBD/VjbucHBQOWuq5GP6F1hineUQwMQYfsp1E\nq+2P29e6NCW4OTR0IVotUy13wNI96+a/VsmGyZ5XY8Y7YXK9h7Z+eG3MOtGh\n6ytjjTj/Y/Zb16GAnjnKVw+i3GCh4l5YtYJD2gBMxkkGkoknvoTLdU6Yg2Mp\nl5wvLibrRHcW1p/OF56aNMgBD/763HSxiyRmfPMrogqJp1Ws5zH/na84vfwt\ndekH7RgtQkfz5S1ukjzpUR8lXM0xjnImzNzZ589yVFJwwEx3mGP/dB5sE/UW\nj1siksezVcgKrLhfanLqnua/fH8bdjDe1/FCViRI0lQ45DSP6FPJH43jUJJ0\nMa6Y\r\n=pKc8\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-pvzx39QJAyNYY3xb5fckC6zKvJ7XpkvEMisgAWo1g7ofswrGkvbYsVEN0oY6LwtwMDUAB98Aia9MBovy+qjTAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKYtN0h73EGSqhjc3jdBo50dfsUQkBMg5lHR1r1sTgbAiAhMyvWJB/jdqTOTfWU/Ikm+bClcekYZsEPredBlgsC1w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.0bd8b165_1525958513693_0.47841461242930716"},"_hasShrinkwrap":false},"0.6.0-alpha.33e525d9":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.33e525d9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.33e525d9","@crave/farmblocks-theme":"^1.6.0-alpha.33e525d9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.33e525d9","dist":{"shasum":"5e3e9828117539ca8e036f33cd66e72230382a5d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.33e525d9.tgz","fileCount":15,"unpackedSize":21770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9E2oCRA9TVsSAnZWagAAxRMP+wWOxZ39U3r3IGGXMtnn\nnvFtNzcBGoZMEc49egD0c53GxqGYP58Vpg8M1mbweZJCYDycK+zwFxbDFL3Z\n2GqjNgb27JgVpta4qcYLwplkDF5iH6DMDjzEhPKSBALZHYoP/0FJsOa3jM54\n6UDNACSkTliIddlA6kewA3yZqf4zbWwUBSZiEdVV5UwtmOmcUU6rHe5ouGdq\nQsUdko/spHqEzSvSwXeJGZsu2l08alYfwACpLY0aYNKUPlUf15QH+L1EMA7i\njQcsltofUGSo0mgfnObGMQL0kCd1fi2f0mEvbSuIluoSPbDHievxnlsqmi6g\nJK5KHKUylDA4YrJ/6vSjb4OzReBj1fiITCx4igr3GSRD6ND6E3p7TIrQbSak\nzojjgWl631vK6SAoRUbxREZGat9WxKHWR7J31h0fpTq5yrE3Rn3CFoIazFoo\n58TacVmTQvqPU0j2FP7JQbPw1TfWl7WEnRuX61c5LiXHSNWFUmBMdGxkDmSg\nMTUzUuhftWML6WQFmG4cAa/NEj+7Pnnekl3DdvESrNjiS90z1hLom1UtkAzv\npsn+6Fx8onAUkohbB0p6EOH3No6SMwjm39+3j1u0WzQVNBsLHoR1NJ7E2ojj\nthXWkixJbsd/aA2rJ/rJDX8cuNnvRb+kVZSTpsnpS97pwhqknVKDMisq0W8E\nhuQ0\r\n=1UE6\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-q3vkyBoDKhpoJ1aizf6/qp/2wdpPSUEjYsdkEbaGYgKwQW6uogMzjV3BLG/vzjCB8phd1iPqfKdmOXvAbpnfMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFR6YTdm743pdnZANRmtT80BGYBAjVChAz0BcraP5MKOAiAU96sn8W3tf/nptX7BZKzTectdqDaD/iXIYhO77c9+Cg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.33e525d9_1525960104497_0.672324060241325"},"_hasShrinkwrap":false},"0.6.0":{"name":"@crave/farmblocks-dropdown","version":"0.6.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.2.6","@crave/farmblocks-theme":"^1.5.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0","dist":{"shasum":"9eb8edcefaafb47503466d6c269d4fef6014c5f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0.tgz","fileCount":15,"unpackedSize":21680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9FLmCRA9TVsSAnZWagAAKCwP/3EXkj+ppQnkbBsJcuaG\nirDOM0EyUnx4oTqcWDKEZTePd2VIxAY9gMvnNVkqzM5An6POelG9hI0a5zYp\nRpc0nmyPLyqWK3yQWeyCz3UGQm+3HW89N0iS0A8TuviIXnra8vhdEO3Q/Z0M\n+RVnrDOKZDYGAAb0GHfD3se+fm8VZMlQLdRFJ7tjHZRzkKAtfuypVsnPbQPj\nzOhvbYTCYbOB8gxG3q+D7I4dVLIEHanROiq53IIAaMzFTCSLFpmN+Yl+oM5L\nNZSOqgTzRKbfiZRNh9BLR7UhVEqUyzEaYXiLnh1Bf46XMCie2P4NyLOH3gG2\nPvZZwfPNIae20DCmYk6lYLyqE+9Y6hZSwGnnrLGcy8/JjRB11c+r7hKV/BpP\nXx86WpJpFUcNeguIA3pJw1UCzZ6CvOlfRX1kejXSUR+bTNiNCmvcJfLHIGmM\nrOhOnvgXK2J82393wH8dJqnCKIYEfIMMtY9Qia/LMeWCysbiDnS0bdapvIgY\nU7A+p19CWw5s+S/aU6cZxKqkOU3OXGT5b0cj8COVtc9b84fQyyn3XPU2Z0hZ\nQinqy8/gT86GUHXVjzzfQrbYCFw5cPiiGwDj+UEqp+RKPzbDGQcKMHnmRyVd\ne3XArAmW9VwiQEyavAso+usIInrmapAo3OdieDXxt+auw+E0foF92C3e+J5T\nkO9C\r\n=qHbQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-4D7GXfxjaqt4zGn4w8CksUq8V+kxz1JNm+8z8rILDSK/abDtwQGPfwdMf7eFAbinCy0J3Cn9HESKuam+VBByeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIada9WFyG5N11ERVf7e1PfZjw0XwYos28vRHBTG+lCgIhALJkphJ7WMIdI9hldQ7j6bnaiSXsCXecNOTxgrFslqh3"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0_1525961445739_0.4109572425208978"},"_hasShrinkwrap":false},"0.7.0-alpha.1d892ca9":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.1d892ca9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1d892ca9","@crave/farmblocks-theme":"^1.6.0-alpha.1d892ca9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.1d892ca9","dist":{"shasum":"1c8e27c911ecb6b3b3355290d1fc93ef83f02366","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.1d892ca9.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9IT1CRA9TVsSAnZWagAABgYQAKJyV99DeWp+7/V+wkBX\nPUI4eN2ywy4V8U4trYnkEK8ujS3W2StbOfwLiRKsDg5ywStsZsOeIDwl9SRa\nndPhGlCF4FLeow9wdtmK61ia61+n9FChI+74vA5UC20XhTrdFV+efiwHQY6F\naqy5oRbbFYcJ9kRk8qNTwUnsV/isfvefejw7h8IW7oWFM1HmbxgvMr3/+O5K\nIpPHNnAMXywBjlhkauOzv+rfjZkHefDj2Vm9NXx0undvkuZocomM4HBIXxWC\n3Rke9MUvgtJ7uB1mdNlaxu6dZ7I4KjDj87RMiSazT2yvU+msMDMTy65avv2Q\nl+joCVEtZfWcyghgGa80wmj/fKBM+n7AYq1PPvo+wW1GwkYfNKSo1pMb9Tuz\nTkxfdoZjPqA4OZupqD2wEAwPvl91xLUlfomCKgLY6Xstmxi55x00PCXHAn+w\nUBc73XCz8ei14FviBc8+8IBeDwq0qFvM+E8h9gCFfIHobJq83hZPfh7qgl/B\n8Et0oRfpRoyJEKjWv4+wp1Zf3hWssEctw9ZVuAdJl6weTtUEv/SPgCNsKV0e\n9xW0P5i0Sd5yZBzN6a5AXmINPWAed8xzwOOculLredJvLFjOfMhZb4loCMdy\n/LPhjseUlcshKa6bNwH0UUqjMBowRFY83OO5UMHDKqCFqVUELAVIoSoNfGwd\nkabt\r\n=S9Vx\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-aaMiY3CrMEvjW7LZ052CUymstHOOgqWtkgiiEhYEW1oLmuYnp3D1ENH7gcpcR/90QBQJX2YnwmZElDF/gjj94A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQFxU8c0Xv92RcVUWHqZ1zhgk7V+gbq7rBCqTKre1q0gIgTCfs2IJKg4f/sSiseOmgqy6YxZnLg65kO7gf+p7APWk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.1d892ca9_1525974260754_0.31065434681274984"},"_hasShrinkwrap":false},"0.7.0-alpha.3887f597":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.3887f597","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.3887f597","@crave/farmblocks-theme":"^1.6.0-alpha.3887f597","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.3887f597","dist":{"shasum":"972aa4d57f6c406fa91596bfc2d75c20455dbf71","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.3887f597.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9IuICRA9TVsSAnZWagAAx3sP/290Q+i3PFUdLPv7Abgs\nnLntiwAmpyB1cFEzCwJk0sQdEcRDjMRGbYg6KMqMcZCyUvVtLsYMF1KWF1ym\n6ogui3dWiDFfQHaKUwa5Ehtyqq92977N4/0JWn1fSwccn58PTPIcCUTp6lwb\nh2cwY382FybzdX9yaBNWeZdMlAQgU8EpayYNqVgiOqp0prJj5i0bjuPfzczd\nE3h/4KJB85DBGvQxett+MdILh+TwGYtTAtCZpTGOjDiReBoRW43YuIPt88Cx\nBRCfGytR6bXzzwl8N6fMK3wpuNfFRtlnniCTcOdBMYxmmDSfh+0Y5qAWf819\nzUempaDwWw9/xZhqGV92F3EYKH+iUL2C+WkkK3CQa/2sHG3i7F7qlteS96oo\nfhp+AP8uE8nG+nTxigRisSrKRun1dC/EOKIhpAjijalKoP3d0kdKRR8v+iiz\nZ4KRQe89QkVUuYhOCC+Voc/kwlaB4bAV/akG0NslZ9yC9xeHczHKEOzeQ/j0\nJhBy4+wCfxKKFg0J4026pUaLUxx84ab0MfQHScTRWjt4Eg4uqrzg20KQRZcg\nrDHb2qnG+NTPgKxrBZCCgfDxlIJHl1Qifj/Bn3xL82JCnfToNJKELDQOzFJD\nMhkJTUuKoKqzTJbhvptVTxGrVjMzsbPyKUjqGWLpt6GE5PO7xsNMu+eUgfxR\n1L7D\r\n=Ujec\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-jCRaucHf1JzOOGqlO8iZcmaCIK9misc6jtUNBh/pLYqf+u6IJC8sM4+oEEkq6/GEp9E9i0lkGOVaecdPW46KFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsrEfJWWfEDGKOIpLIkVDfJT3KN0ZcPkpyTfa/lRknGQIgC8gE16VSXSgI8SyRnp7Dqbyu9+NEGV5J1dDYpw4Jjj4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.3887f597_1525975944233_0.40351479882080965"},"_hasShrinkwrap":false},"0.7.0-alpha.cd38ec77":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.cd38ec77","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.cd38ec77","@crave/farmblocks-theme":"^1.6.0-alpha.cd38ec77","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.cd38ec77","dist":{"shasum":"994e9324e8d502bd9bd63e9f7ab8b4c32633bab6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.cd38ec77.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9JdbCRA9TVsSAnZWagAAzGYP/iOFHYPzIxIlx12j0OqN\nqHhu0iUNbWMNjoCC8WPfpfaHIiPARRYa5oaw9IZXqPmMH2a67tkN6PqrhTTR\nJ9igoN16QdRSL2xBJqW6b3alW63lgh7BK2G46trdPq3G1GyqnuackqI5nb7V\nVEkZrWZEnPEjTevpF8z+hCq8ZEZHXmE+831DivOE8SVIOt76xuXxXTcVB3Lt\n4gzoaT9mJebUQQHFO+UbLTqSCp3zuVDKpqt7hGDX2Qgi9eauXbakFyaD3EOx\n6GQBXmikI8QNmKYzcqDbr2na6K2Qrdh/gdx6iHWfuglXGZtJPVQj44PvEkTX\nN/keuQBtjhdlVslHP8Y3tcAvvDxrSCxpNlSTAc+IEDV4TqUxuo5eiiXHJ49Z\nLwY2KWwutNW99d5GbqtlGPWK2HeSlY2sgT9VDAl24r3sRR/SxHOpkp3qifnV\nX2b6AiLYCysp8FH0VdZZ2uZ/qd2qiBBlLWN9UxvRGU0Ch3tzu3P/B0PrLrg6\nZW2XCuVHxzNXNBbklTqWc0CfVVeDFZxX2TmnY5Lw2ok9/xtiya98nI6L3+ie\nPkulOEgvO0ANhhsIFlQvwFobkWnX81/I+tHoF3sXotkKfJE/xFz1Jo15VwR5\nsbBjs+F2ec4ps6ARJBtzDnmKqx45zdv9hhIHlgXrUYKrVS8hlGMVMhmjElZq\nOTeE\r\n=tKXH\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-YF2TPJ2WJhlRhDkCuyLk1uGj80+pwswFB9ZpVAVSC0hNw5RAhlX6ZYH12pi6+JBcpPJp6qhjbR/I9RYM7db3jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8czMg7t9w0FSnoA+guBfV+G/M2TApo7GYPDM6sQ2HSwIhAOcSQ/hrrGJVIpoBLIwH9bxBuyO0MPmwtSLUzeWZjuQM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.cd38ec77_1525978971369_0.9321170602923932"},"_hasShrinkwrap":false},"0.7.0-alpha.e18e8a8b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e18e8a8b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.e18e8a8b","@crave/farmblocks-theme":"^1.6.0-alpha.e18e8a8b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e18e8a8b","dist":{"shasum":"edf45d96e3f415c5551ec4924b4a3cd6e2a09876","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e18e8a8b.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9Ki0CRA9TVsSAnZWagAA5l4P/j4VeGXUpodzLTPTOg+3\n0lFc1OUtS60GknY/+Fby9yTAvuSm7eLRyUGjACkG0h6lK2v7g+UP1uaqKvnC\nfuHd41hOagnbNsLTimfAbG8rhyRMu8aqxxHU+BH+ZYQ19wJYhdK4FK4eBR4T\noVUAfFwuWbKkamlDwyLnTfbv34PL4Re7XNcaXicycnhEpNxYrHYcjesSGzS2\n0koR8T3z4FRMspgJuUobReTL1Ft3GL60PtLGQbIGJYXHfGZ+gESBdw9Dk8Qg\nhJ9j/sSQF8nLkJAgZGF+DRlbpzpxIKpn344No8YWovvXJotxY/bdvk+0o97u\nznYwdv1mo5RVrkcjoL6H5DlwebD83ICqs3+k7PpOzi7/JHp2ZeIMiwVQT9Hn\nPcpdoVwH1WsauF2ABH8xKArLofQZqw+CB2gVLTQjbkx3u/fYyKXZ8hkRLAKx\nCdVv1EsiBPvnJMx9Iu4opTdpsf+0LA6BsSPm8Zu1vX4k6uLgSYspArxYvnyV\nCD96Fmdf36eJ4FAryAvAkfn166RsTdl4lN981so0VtZEFYtKLDQk+/TGgLBI\nSoAV/xrfqtu5rm12IAqbTsTpqRzbQzjtjpkV8UnAZHO2NagzuqmA5CAXRDOo\n8Xm+sHIE41khUIoy+5/luA6sFlIvlfZRhNsvtaunsI6AHsP1N5MOlSh2/c93\novD3\r\n=0roY\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-SrUXR9qRx/+olrokDrRUpggARzDRWFUrtEwwc0XH63QP22HVUkz0bXX2N5mTiKYkPF0ZqQPoQTYMGY1iIjvl+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmXhQ3Jp2zpaF2WGDniw5Fct30G9rghYt3aVJBfZ3q9AiEAzXKbgC2R9wZPsIPdWg6eRYxzoj9Gyb7cS4JfdmrVM1A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e18e8a8b_1525983412576_0.7775496178289925"},"_hasShrinkwrap":false},"0.7.0-alpha.4b8a1066":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.4b8a1066","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.4b8a1066","@crave/farmblocks-theme":"^1.6.0-alpha.4b8a1066","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.4b8a1066","dist":{"shasum":"be0ad9e297801eb243d119722a4921396c7dfd8a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.4b8a1066.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9Qq2CRA9TVsSAnZWagAAfXoP/AmuuJkOuxQN0tSzWqe7\ndIvdAqhA1PfrtV1OAnBppGhuf+YqKChxi9YuRwrladFxbSunn0m5uEKm+m9O\nW0IuzhLg+WjtrPTlP3zxql1m67Xk5Uvc8zLz7jcj7ZSPBOmhvEP1ihrJT+Eg\nOteiiIJWMv3/l89IHYDvTwmWM3h1P20ksfYkzovmCF1587fmyMjLuKSHKmjh\nqFXao2iVNraJGReyznOxE9Vi2i9BTHJ+WI+8qqG3PKuB6ux/GPqpsVY84lqN\nJe1Qpi/6JYQt/ctvRJDB+cvaBhsmdwKjebZNj5Z5DuzDqAeXrOKcJFpV5sYn\nx9jY3MHeLKEGsxcOnMBwoOc5SwvEEYAiZ262aYXjpDBALXI2wV/MwzYx0zuw\nKfnDMSwJB+vkvrtJVqxxSO3+Afg0rkBfztwj9OrULayxKCUh07YTqevXSmej\nOesXFC9+prRc649uvCNnz3EPVaNPFFKFeXgQJUFxfm0mc5sRx7BR/qGyP23X\nCX999Qsd3xypFicT38uDnciNckakOzPr9Iek9lFHiua2J8ZFM9N0MJi4hZpQ\nRmrFBSc4SjBBw/LTnFxMZzPy2uIVqDeRsGr1J6qkipS5bTCTyfu4vHUTtP4L\nkPffRo2SsgrLb84pUFMK/jmk3PYGgqrMdgXes2+FK/6lHot+PopySzW+BpBj\nYo5f\r\n=/g+b\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-VbL+JXx59+m8EHpFJ49P7M2JsTrNxQoOol9aDP4qQvACtF94oGZKoqXWxt0sQz1J+K/9fOygz8XdJmXuPN43bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrPnd1fUAVP7Q08dt+MjLUPd9Ya+hxrTfs90tHkUEzdAiEAnZeCW6X+XazRd6tSB9Gdb8NAPjz3iUkAamcgwMp70Jo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.4b8a1066_1526008502310_0.09744198973279072"},"_hasShrinkwrap":false},"0.7.0-alpha.1864d583":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.1864d583","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.1864d583","@crave/farmblocks-theme":"^1.6.0-alpha.1864d583","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.1864d583","dist":{"shasum":"aed73a1cb977be134291bd36ac1e67d520f6481b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.1864d583.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9bAXCRA9TVsSAnZWagAAixAP/Rz4MHDz1qtu3X50aTU5\nSqv7MeLfmIAswUIe95PbggFJmxru6xQxC9dgg1xDSkmldC+zmYBHs6ioyRNu\nYBP3ozkGF4wkaNeSyJMvVw7qACA60Jr/97dS7fBBz9iB0dfXrFnQGbmqMujW\nl8sKofccbPKe8PeJJoJ0bPuJdvcp50CkA/0/h3w0a40aqZZFHNaiQlPkH/hx\nyq92+/xJPQJANY+4xRAq5ao6YtcJ9g5J7dOcaloiEOBvnuGhLIXDDS17jLPi\nyT3UowAdW7qUnCuMR4x4670gy8hFrTk7Q7oA4v7EkJYIpl9I7ytGtnKEIwQB\nILpxWrjxythiR2DU0V9tY/6OeBHUTU/bhk2uKiF82c1MnLIrtbb0+oi0CeFU\nnbsgCmi4vUmj2LJ3IoMdYNqL/CaahFmniGzuAU4cAbb3JI5g4Yeh4THmCR9m\nUIElfBewUgbWwfow6pTmVV2P1Cdtn0lv0zkf6412KfWvpKsX56yFHFXbwui+\nlCzYgs1e/yW1T2tWRGQ5x0FlWD/xYXiYBvb7CjbAJlEmFcgG7VO2hG6gLMD4\nW/b5kAdkSPT1tIRPQYrGzbc+0YBOwTpB65C9T3aOrgDepyHGim8MFVzP6dXK\ncosWS5DjzjJlSSHg7C1GUthrp68+qZiK2nELkyxnY9R2SUlhrwIt4k/6mGqW\nrAZr\r\n=PEnl\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-jRUnIsrTjNAn482+sy6tpl+Z+5lZdo/RdObdhz/kNQF01j5JSCS5wSCY15KQ88BU/GPCl3OxKdiEy3lKufMZgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnbIeV6ApgR7NiZnZPF7CzXRt5+Sih8JizdbI2SHXzzgIgJirXh8TqaIhnLkBKH2LM1GboQa05sUNqxBxd7xEbLc0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.1864d583_1526050839257_0.9034812834846726"},"_hasShrinkwrap":false},"0.7.0-alpha.94b0e8c4":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.94b0e8c4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.94b0e8c4","@crave/farmblocks-theme":"^1.6.0-alpha.94b0e8c4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.94b0e8c4","dist":{"shasum":"db4fa04c2ca48b30cf1f6a36567ff507cc9aa060","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.94b0e8c4.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9c/KCRA9TVsSAnZWagAAFjkP/37p87q8udIe+Xmt/Woh\nVyTBBDb4L2zL1uzq7ZZA3iudv8Z3SA7oyAXQZfwYmuXeaolQ5DRxUzeeczrl\n0cHnqmQBD8zE3wX3IRyVJA6/Ib7JZUffId33E/qZm9RStAw0EGQVNohfEEf6\n8qvBSWUvBz9h30vJVbcTG50NGndA7a0Q38JKNJ7el4RW/gSV8MBPqFbLmhGS\nvkV3WqgLKlPbtwwlbaoKadNYYqGKy5tzlIdwlKHBdI3IZt8R93Bawvhn6KKh\nJG+OoGhgOydZqqR1ydg6Nv8UFT6uK3x3ruUEeLH+h2JK8sH37zM/uJThorXz\nVAtY77ECSZtkAcX2HjHJNJMWyWfP8H8YdVb+zvevzrkgo9ZV8AsBo31oMt9Q\np6hr1dq043nYvuabH0uaOPRDp43M+0UrCGf4eimeSFZIftJ7ikywhE1fO4CD\ncjoRSw7nntVjDLLv17NeC3kNQ8yP0aVRmixU+RXJII6a9hwgZSwSGmobK3rU\nXuhtRRap+zpHI7TSeI184Nn63HG9Br+2Igzjxigvn0+orSt8W9gMtW7AD6IH\nGaYtOIc9bS9wK70KJqmPvdDZ/mV7Da9FxfbR3MgHEiObIkjobY+dAiQ7VbFB\nKUSy42L1SnwJW/h/ocPBqu4c1FPPTG700Z4l4dmncGRpadwUsyKpdUa/H4HR\n6mJE\r\n=G/yC\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-FTlY4+QtYdqpHhAcnmgpNGTrdPrQenKSFcVaDkeEuSw/Xx97eK/pEm0mSLi+N6Tc86uQrHxrvlI64CtqA578Vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEItXktVkz3q4gYoKOVP9N0ROQLpELmNw2xHACNIjFbAiBN0xWw80saV/QtWJJDrKRSAQOEisfFtfyrftVL6yoQwA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.94b0e8c4_1526058953837_0.1184005041213938"},"_hasShrinkwrap":false},"0.6.0-alpha.dc0d3bff":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.dc0d3bff","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.dc0d3bff","@crave/farmblocks-theme":"^1.6.0-alpha.dc0d3bff","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.dc0d3bff","dist":{"shasum":"df496d5456fb3545dc3f643bb468ba58aad6d2bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.dc0d3bff.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9eVWCRA9TVsSAnZWagAAXAkP/j/TNRNiMSeZ1y8qJOFD\nINWdQcCPyS2gfV4AaBf634yFb3rAm89SO3G1SyATpat3oH6hvi9J+3lhWyhf\nG5DQmo4suHssfO0jQLRCRnA+9zIWYxPt91jQlUCmPR0ZFizHwnRt8OdmQLjE\nX3+JXnWMJpl2UN29Q1dkQ8qVN90zjUdwRV/hiWKdUZ5rD0utzXQpRsSBcKUJ\nlxE5BzR4O+nikA0qn8/3bOuuEU99u02Pw6P14752plG/ayOWf4QSSO95WROw\n4GU0ZmdgAgY0gAWVttotkICCW2EDPrAHkeEsyUhgVzdBfw4wOCkw/H6hWyXp\ndOiJOV4NL1AjJdUz1OANfn7KnseHwiSmaYUe4C6prDRmbme8y42hrGSCx1R7\nDjy9vdMK3v3w/lLjwZMB0K2x12w8MBZWie8QWQAPPSPfOFZeSt6vqEmex3FP\nSm6LhekChkwUuEvCpyGLX3LgXAopKvmBKZaKfQWY79t5SfsZWzgJIlT+j9P0\naF4nAJlLMovZYzYBzhiGPhdstpsiyFCCrpKMFcu4NLy28o4rr4dt5H6wPL9v\n8NW2cFZkMJPjDBt+hUUI7jaJzuJy2/+U0+GIbFO7F0bVKNldeCIAdoex6YF5\nMwCs/S9fQ0EZCz5FPK7Ko1fzfQwDWY75JbgJhfeonWnvTP1RhGw5bPOQYWoO\nuNVZ\r\n=0Rjz\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-xrOW/qvPX884IoiQGGlrtxTuBUmOAdJ/cS4fwv3NFNdSZ9qF8YWZm04fl3oaqrHVxatS/fXN8GYHIsTPtxIa8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7r4e8lKZSYGfoCj955q+6OI4uRJKMtGBIaoCsjvQJDQIgOCo0/t+6QhjQBBSiZ/46OXhRDNvjuzpjBNxMOehT4Oc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.dc0d3bff_1526064470402_0.14869949235374436"},"_hasShrinkwrap":false},"0.6.0-alpha.c727698d":{"name":"@crave/farmblocks-dropdown","version":"0.6.0-alpha.c727698d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.c727698d","@crave/farmblocks-theme":"^1.6.0-alpha.c727698d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.0-alpha.c727698d","dist":{"shasum":"28c1bf66287591c8d89391725b42976281526082","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.0-alpha.c727698d.tgz","fileCount":15,"unpackedSize":21575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9emjCRA9TVsSAnZWagAARk8P/34ILY5QZ9cj2THvktNE\nEWRbbEx+dfVp6v/BPOvQLAnGiyVPmqtfqoPN1QJJAPDteLwq3C4p/8H7NfxT\n/CTspuhszJZaXcenvQZgw+FLd9tPNsZhUkFkddfOjc8yX66o/CnuXrUzZUnx\nhTCEq3+gMcy4FFP205NzQSI95In5CuEAcl9mEXZTXzfDNghgqE1+0l/Lv0Sh\nrfQHHlC8ekE2iAq4qqnE5MbvreGlAaxX4M/lJO9qirD2KOs1P7+BiEAKs8Fy\nH3Ir8AQbE44bH9LjDttUJdHmJBnGluAks1Vcp0K4uEZ/sP1Z2cQwP83TTl8e\nFELkqirl75/PaGy5czdW/00bktlZZ4ei0C/ZLPd5SaF92zK7toujoAKqFjSr\nq4mxhwX4Bo54wRNQOagIkWFI8ew14d5s/fN0iKKWECVF6Bux8rqcV/vZG0wZ\nYgEfPOREadS6M/dbMcDYW/Hkf4YCUFVqKneBdQm+iZ6sAdZGRIHOs39Hv/c0\nQx0+tF6bk+fbumqzJiLLrP1tD8McXCjJSt1Mj+OalLveephb9XRfkezw4Hbp\nz7qGqk4QbLqVb9nTxk0ED+2B7R/C00nqGT79AOLNrOIFjlfW2mPoFLfOM8JJ\noBfieVkRYdcyu1CoIjAntTt5ZAGpp945EImKccqmDE0eyH8jf4+pMlBHC0za\nS0bn\r\n=Dz7Y\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-owDMMjnGCcZmqzeu8PaO1awQngJ28kLC16GynIpowWUBGTSrFqC24OIQwjYkQ17UcQqwv6Owjg/YTbjwfNhfHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa/V33H7LlzdE275hgwndx7RmtwDOJhoDQQSGFkC7/LwIgKExqlfMhpW+zmMUp8nkpZnnVJ+zYd5PWdXrGu4O6Yn0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.0-alpha.c727698d_1526065571693_0.7619818165628125"},"_hasShrinkwrap":false},"0.7.0-alpha.5219502d":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.5219502d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.5219502d","@crave/farmblocks-theme":"^1.6.0-alpha.5219502d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.5219502d","dist":{"shasum":"308a847cadc50e0599bd820ceb32884f6585cefc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.5219502d.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9ewMCRA9TVsSAnZWagAA8UMP/3ikTacKXCjs/YQG5IHb\nchxNR6Rav/O39L0ee7D4EMzKvZjg5rWPI50uwyXi+/wnuc/oL29k76X516yP\n+4t7j+C5GjSlcYlKiLCgwA8j1usb/qzs3R+3HIbwti7dczROTDJvgvAcuuEu\ndKTX11YbTZoqD2tOjQfrR6roWK3kdZtfJmH/Nj4wGpECZeiSs1jSY8mifnoH\n1IaaaQxBjPfziW5aa+f/07xMWQnNRmErGSWzJXGXJFAanqo7VQLUhHIGEbwD\n9hsblNxrSFjuWvPeyH/jTKLoQceDqDbvEKF9qYNRFEH8GjgOb7X2zkLfcMi2\nvqsv/FGX94ro9jSrQ1kbxR63qsbH4X7tZo13WHqsRr5hdhsh65fmuUA9FzLN\nXc8VzRy5AqRZ8sh8r4TD4VadPISzww44nCv6tAhnbxf+xMyToL7z3bMEDQLe\nXtne7S0H3IP3YQGdG7ha/nT1Zbs6oItKoPuPMSt411ZajRwR1Itxbgp6gCIL\nMXO3cZJkqs6Z465wI4RC8Ozcr4AbRGfkRZfdkz8Tu5mAOCePb0FfVaRvfrT/\neBZ2N/jWYh+dVr4fDV2ET+bnBACehuOzbBt39CsNre5lNg1UexupXCnFTpql\nWyzd5VvPOGpGqlGybrGadseEW1YecUAE1xhpjSlGTnoQKGQWWBRwFlnPJc8E\nZD0p\r\n=tJKS\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-lwxMBfiSgUkSzOv0VBG1Cpx/M6C5nZztHykMHZxD9qpD3lrk6UeyJG4mtZx6luMFOGKO9ZQupcTyp81lTRAF0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5GdP7zDMBEdqdZN36As3HVhPbqjrHMHNemvpUq0fMWwIgO0ZfDA9qUKCh57hpXOw9Nr3+krZCsMgU/K5yXye2h9g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.5219502d_1526066188391_0.9577598043567532"},"_hasShrinkwrap":false},"0.7.0-alpha.79a9202f":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.79a9202f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.79a9202f","@crave/farmblocks-theme":"^1.6.0-alpha.79a9202f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.79a9202f","dist":{"shasum":"63e19dec25dc4abb9948d2f588ec7eec9d32f55b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.79a9202f.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+YqGCRA9TVsSAnZWagAAn58QAIWEqAhXPXfp1vWA4IGd\nAZ5aAB9fbpGO1+fS3x+dhhT/2Io308hrHQDOm18tDnB6uigTbHDPcDbYd5ft\nIzNJ9ubGMUKqEwJ55jQ+XtFSYV1TqDObP+uNXmlTH0gA2JKCHvuu0CQ0Ukyf\nQd77dHJISA1NWPGRkEmLcDByCD7wJV+Y9bjKEmE7Zq8BmsCoIPE5R65Nhn8d\n/Sxx2DU4AOeCVFS0UgUKOOUOUkhrB8nFRdMxOiIkaR6gdHDNsAJZFKWpsG1+\niz3hAOf0gb850uZmW8e0pHdDBuUcghbgd9jkjyBCxTzVMvE0w8cjF0QOc6N1\nNcGvcjBrS753v7OlXKfTcXbQTxsYkD5szWCjh/dlgv49WYp+5oFeuo9LcPry\n/WEN1RW3yEDo0m1VRId38xmI7kKdc8sblFxpEejqKf/+UcgPl0JOJ4BdPWCQ\nHcBRIhKH1wnheNRbBHdtAn8DijmkYXrURmEyQM6e3wS71hNpyqizDp+C4O16\nTbAeWlQWSMS9L2iGqW762K9WIWws/bGv/NRgQUxXUV9G/yHfm+tTPp8FKtnF\n3SEKlseEp/Z3e+OFRK4d7bo6xwNCxjR5VonvS4aPaaBYYCACQIpoBC2GY6zw\nwYhcen6T83vPeXGIWKa9IEBIJ2FDldRWWsrvCgnbyI2nj0jTmhWjbdDglqVg\ngETJ\r\n=mScN\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-PIGDlV2Kesdm2b0xW6dKuOC8P/7vjsu1802iEcyeELBiycpTZvpb5N2KIsmUXiybZTWApW8ZzmNRiaD92k9KNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsI0lz6THm4V8h3FhXEFXyTrIYI9AX97h0h4QejCL/ggIgacUyG/Ijz0cwcTSWri75LS91uvtIu0vIubT4BS49zVY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.79a9202f_1526303366165_0.1818394019532199"},"_hasShrinkwrap":false},"0.7.0-alpha.a240bc7c":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.a240bc7c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.a240bc7c","@crave/farmblocks-theme":"^1.6.0-alpha.a240bc7c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.a240bc7c","dist":{"shasum":"8a10143f64e7bfb1b96968e5e81126bdddfc544a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.a240bc7c.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+cDTCRA9TVsSAnZWagAA0RkP/0tmq/iLOtKbNaofyKla\nm0XabQWSP6+MkJ40MdFAH244m6BVv8n7cVaposkm3k0Gr9Y3lPScxBhSG1Ou\nUEZjf5eh3YxLUTvbjaznjifLqEVI3Ap0w7JYJrDUGUA1MDnsN7OwvtvNpQMU\nc18/7Falj0bKuriiRJzJYPcVWUtmclH/kZAxW7i0BH4spgi2N9/IOPbjlDCs\nn810x9ebEH7k6Uk0pDjMqQp3fz0NXRPyxijLVXR0k2VQ/Y/GlEs+7Np34mYz\nMRmO5YEpSf7bCPfVhBQZerseNg1GdxoCIZIH7MLlfUucBc3JycN6VstvW2S1\n7aCirMLvBO7LIcWMwZ/M9svacPbnEjsp5a4U1N2cYFxcub6Y++DEWymIfNnT\nsdYe9sLyjcO1oaNUP4WV26l25NR0RwbSpwLt2759LKIR9uffNtJeKGU5tPXP\nOQQjcUWlE40z722nLLGl1byoAyboehVylIMgwjRnCTs17AltLyNWen/oUM5n\nFPjk+KbVxE+5fMa6yIGMVdAy/2dNb4joqYZAkHZsb/2ftsQFJ/kb/lSSt0q1\nAcz332iJD2gLDA3QOwrV+gmJx7tyN819L3BasHDUF6PNwmEoXonspKJ4FHrS\ntOK0jeA+8mgCv2RdHcwhP3elwehvWKW/c5oUEt+N3sjv5uKErfMOxK/NOLFv\naTNE\r\n=xJUT\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-vSlDdaV+PEG1vrWdg6DfFnk/hlYcaRqLdRofXWuInGzATaJoYMGZjC4AbKOMQty/8ozZUhurCfYWN57EBpabBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXVIzUqg5OcAYelGViI3h7UP10u1vfv8YT4BSo+2sGXAiEA9zwoi3M6XXeoRr38VCcQp47AVAoMN4u/6zTofV6lTXQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.a240bc7c_1526317265852_0.7162976799229777"},"_hasShrinkwrap":false},"0.7.0-alpha.fe1c30e4":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.fe1c30e4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.fe1c30e4","@crave/farmblocks-theme":"^1.6.0-alpha.fe1c30e4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.fe1c30e4","dist":{"shasum":"0913f15fe082d38423608a86f253f15cc3c3dcfd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.fe1c30e4.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+uUZCRA9TVsSAnZWagAAk8oP/i2s1YNyrLGr1c8Ov3iB\nkSTtzUZMdiLVle9xykGwRCmZwMwxVnvhNeimvKAUYp+sbESweDy7eumZfgdg\nKILCAtpOtL8hiAHCoW4gE4uTGkWzzKPNYDOb8pb5AV0ufd8U2Ceiuap7S0PR\n2FWHPnRb53XFnt/7sATcxYLgpdQvdZeMjIe+7YrGk6yrayXdi4OBTajE6qq7\nQG+fWQpHGTb0RsM55gBQRUG0nc1KejyFV9RLNI8bsVKTB5x1YNWr30ohIb1p\ne1EQe8HZMgg96uUj/EYn9rRUdRiWfUoaE4QB/jlxdTyLkqMzc2EwGxXo2PXM\n4cCw90UlFdueLaw7a6zXF43QnVIxq6cY8zs7vXXTdtPkX3IiF1eE6mOCwVz0\nUypTMsb8oUfLdIjwJTYmKPAEizCuTwTE4Q7CJ/5WSYeU7+38ojmP930HOIjC\nYmwGNsO0eghqC78avbUKyv9LllfEf1uvg187JRyELociIeXNvR2JWd+BeGzI\nHu5sbcRHaAKLMWqBKA8N07o5f0QmfrSGeyRan14zfjzoo0psGbvChQ23iBLZ\nBMAHvuCy12Z0Gwx7eunDZscfdHbIV/jscC6ZWI/Fa5/0b9LQDXyCdEwacb2F\nxEtRupEtNQN/EWoEi4gW3JMpqmhrIpZ+jLcthXvYzpnjjnbQQw2uvtdNFg6j\n+ebC\r\n=IjRN\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-BPga5L3LOfMrCuQesSSsFPpcxMQ4w1fe4NnFYGQ0BZFL0ATAV6e23sgbdqJsO0XifqLMJhhf9Bu90Ot/k31sAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFH1h92b6tG2Butb/Kw07sI2TkCyjOZmodhauKK0UemQAiEAyAQ6a24r5kmNDako0PzZHR1YZ2+sTElffYVQGiE/uRE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.fe1c30e4_1526392089020_0.28591156253947947"},"_hasShrinkwrap":false},"0.7.0-alpha.ebdff3b6":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ebdff3b6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.ebdff3b6","@crave/farmblocks-theme":"^1.6.0-alpha.ebdff3b6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ebdff3b6","dist":{"shasum":"ff9873a58130e4b0e0d92c23c6e520bc712e3877","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ebdff3b6.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+vUQCRA9TVsSAnZWagAAxcUP/j/uC26M3+/mRwYVBBz/\np442IWHJMLAXklatAtTJAT8r4z/eIGGhxDYCtb/PqVJT3QYJZ5I3YW0QMZAa\njI/UkXEZN0NO7qbxKnZGBJyfgViZi1dRRsyp25VygGJ2aQ1X+cf3mOuPmI15\nvuc4blvUV/K8hAnx0iPrD+N/ySofsHqp7+PrpNmrqjqrBqbjawGEctDwiSjt\nO4N1gwr/fn5m9HgYG+wtpzkWdt+aoVoCobmeyPyEgkGZr0v40rvFr/MR5THG\nRZ9lLpUh8PlcdJSjBEmNTVlHqwyRBPY6t0YDWSVrAm5SLAYXkl9MV4Bge4m0\ntUsym9cD6Os/KV0KsOmHpvZ2au53So+0qRYQQOZJKcxAhJJM/AC+smMiDqMZ\njGuLPH8Ex6VJaF0oYJ26C1xVzHCi97ezLF3ftVpkJtAavsLfszng+W67VWFL\nPHrZfUtzFQmXWDmGFrUJiWtVLEwdDLGFZHuSnRfEouJXt4EDbZM3ypoNTWpn\nd5GhIft7fadv5ICNYmMOl4gSG8wIFvfsnOrhOJHd9K+0gYeBEtJPStVBAnF6\nE2qrUMwFus8aKx5TKzmcjOQCJBXMyGRTyOkwS9pMdu7MQ/HzwBay8tlh5i2M\nsPfInemQPlVXVnKNSqE8gNtFzkVTE8cNDW0gE3ZM/v7bw0neLOZyK4JYU+JB\nPByk\r\n=cKUN\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-kGYl8gVcDVaRF+4cIcgukGTgzYG7CizpJH2JOiri+Qljc2K8HrzwBH5Nki+wxotoa7UvlQNUKiEhMWPtpSxYow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+gsPDG1+plNwxxZzO9kAGVMQhH2IKqqlH+a0GgQj9XAiAs3GwffcNHb30akQGJpVovtE6u7be4RT8JEeqSyUNt9Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ebdff3b6_1526396176086_0.12396408127137093"},"_hasShrinkwrap":false},"0.7.0-alpha.05c39b0b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.05c39b0b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.05c39b0b","@crave/farmblocks-theme":"^1.6.0-alpha.05c39b0b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.05c39b0b","dist":{"shasum":"55e2ee839b7b0a3c4bb17a2e2a084a2c787e010c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.05c39b0b.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+vm4CRA9TVsSAnZWagAA0NEP/3BQorq7FlSR5SHvAofk\nf5MvJHed36MtFrJ9GREFL28WFjJUgDulAXjdnVcGyRTnJovlGAq3Qo74BgrK\nYRs4uBjI4nM49hcOI1XpjPCcRMfv2LZemtdp+J5kiHGhEvc59PIeTbDGnKDx\nIBXq9iBC6tnU+sfLchEDNpCeZaRririw3Dkl+s0dSvhLAAyseQN5C/Kvs0uG\nb8/GFerxhqw4dAq9lUISR0884nWBmFTkZ/pRXXyADEatilXmmecLSpMyP8l5\n5mN2lo+bLIEAZStblbujAsO5akVlAaN3YnIr+YPqfcArBkkWIROZHYC+7sOV\nGxdx2w2FhJ9oa7R5cz0hpvZ/OtwuDJuebB30NUK/WFfwFQm77B2Hzrn38Uhd\nvxsJ8pi7skC6g9PNkqNBO7HWkVN1G5MAzRMkw2stVyFem2N1zyDGUfxnKOtg\n8KsljSTF9/DCxS/HHfogqxF0/UvL7pq8PNGVWHRgNHpx7AmTDAVsLQ7IbwWK\nSRnWxHXQ3Bdy7E4kz4ymZTbtZd3pZ9m+Dxb0opPvXPbYwTGuKBrRljBj3LqX\nDhFDq9TfX+uvDZDSZff51/vIGL73/RFanIxQKamygeUcDadEcJP/AEYS8f3j\npMC2l6MKDWeyob1v5cmrj9Vtl0C/oLFDUX/sZgOg/89yzyppSy0o1G3QS3LM\nwP/K\r\n=HIPW\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ZYZyjhACNCQQdfkyHQBYdaKUJJ3VBaAFVoYC4Biv+jDsr8UwFtssdvImjtyp44vRwSjE0BxBMZAi3+NZP6kQwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4RigvV/gUsB/HVFiEE70KTLK+rokXWoGe1tQiOhG8AAiA2H4fFIB0BZrGTv/Pthnxv4fd11FYFWBOot3JmMkF2tw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.05c39b0b_1526397368080_0.2433696005669792"},"_hasShrinkwrap":false},"0.7.0-alpha.283f3e57":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.283f3e57","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.283f3e57","@crave/farmblocks-theme":"^1.6.0-alpha.283f3e57","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.283f3e57","dist":{"shasum":"e9580a0cfdf2c041376bf0a14f3dea95eb27f1f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.283f3e57.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+w2pCRA9TVsSAnZWagAAxCIP/1z9Svv0XZXG8cfGT2PG\n6MuHnCbGPSYY7us6z9stc4XwxwDOlBhCZuQmLwFcHp8KTNkkoEtHhYOBoOXA\nD0KkC9pNq+qUmzLRr6AOuatnxSugCfPtPkXiEI17uPLFVU6fjDGJG2XMyHjf\nt7abaEeFygxQhSdHMgVHgbMsgBK2xw5IAWTcJjwvVev/eN+iKmlT74Zcjt4e\nVpG3BuzAr0ZdSynry+16uOzdK0eiSd0iYnyKDhzwtZ3HkDDaDdLDiagNElAB\nGloj3OH4VvHoOtwwOnog2Gei+Gubkb2OMf3x/sjnFnrweOMbcNlAP3nub6nn\nseumFBkJlXWGUifMj8EMCQ8pytzwC+vu3DcroPiweBXZJyOCyGYKFq1yNnZ3\nbKBuSOm/szv7YXGSTgUjvP3NXteD+TbbIJObn9tUALtYxYEKvMJzBSO9jOSY\ndeDVo74D9ez/bfRaVsD43b/OlyO9wKD771ZW4Oyt2eMhMEIF9AxHllVrndAc\nj2RsqkxvY3eSeuOgxMK9smZ7X3GveeCjVr+2zjLGe6b76h6ShjzS9JjwA7H+\nHek2mhCXrMTaf7a2ivkBBNgwzNYPAVl0zKx/pWqSeV3wf95vLXgNDw2K9zlK\n+PFvkb6bCGRMV86cEHGpHg+oJXdlEo0545ls9ygxGb/mRJIMvf3NYq8tDN9O\n1hUN\r\n=uXXa\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-DgCPDVdJkudn8xerBeBToQhfGPz0G7rKkmJyEYPR0LJ8mcNCz72u+CUHkSTbk/OIYqpU9ez2nE1YCs2eiXiKmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAu9pepLfB6aPZ5Sq58bNKuF8xfViETBWMUUji31952AiEA5MF50FcTh6jEZ8+W2nvW9bJbX2BgOU5ZOHMxRlioBQ0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.283f3e57_1526402472985_0.5585808231404936"},"_hasShrinkwrap":false},"0.7.0-alpha.fbea593b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.fbea593b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.fbea593b","@crave/farmblocks-theme":"^1.6.0-alpha.fbea593b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.fbea593b","dist":{"shasum":"78b2a02a15a1e132c167bcfdd60e0e40772379a7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.fbea593b.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+ytrCRA9TVsSAnZWagAAer8QAIMorMsV5Z5Sysu+gzif\n98fs3bz9rBwPQTfoKNAMpAsPL2B/F2yRP36T381G2osMBvMdz69jJUbr9U5s\naMC7dygae/y+Lfj6ZK8RJ6b0GpmLxZMf49xocsAerCDfAdlkRArPR30/HUMo\nN+MEDq0xVe8oWLuQ1K1eXnu9XVK1CqUNJxFNcEDznEbGgBuAWGw/DvHsBJ6e\nAhTz/8bcPGeeJLh+f6eeOOcxouLtHwY4HKUgMd2RF7SWH0UnOkHYH5bP2BKI\nrIQyYq2t/Fi1ijf/t3XWFx6JAPH3kcpIn2qj2mz32UFZgqUh0v1/qb+Lilvt\nnZJN3BVz2TDcESO0NltIZ+p52IeStcUi26XhgmWzCTb9sNbjI1BSPf0+V9f4\n9mgcrIJVP40BelXaAghKU8vDxYshId7X8TwDCtxN7DIutziTb55zRukWcrAu\nx6j5YAa9inqF+NvSQimuOyB102ivWIrWk+w81fgnpAGIG7aTrLbWglD+JHPf\nhwcZo1otL0HxdE7HAj7Rkl/945Cb5dTmYOOeKoxVJlylA+oXiRigkmf/dS11\ny9a2CGFk8ADaswXrKYlkqO8WuCzDgpFjwxoW64tH4EHxj778oBUDTTmbGh82\nkktPFtSdfbrz0XOKqhPF5WFZDK8BQEMeba2o2CVH2q1AKbbLArFVMHN0Cfzt\nq7Nv\r\n=fqy5\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dQbLAZrPkhcCGGXbAz2EC/2B7o8U2NQPr+AxfT7B/SsNkMBXrmWpIm9PJMX5mrF7L2Tqi2nPMJcHIYRMR7SVbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPzyFmiLJ2k56oXsWzIc0W+3WZFRTYLkw5TEEsWergpwIhALUVVVAAQItbl+ia8lUyn2jHy/scBsWyXZYCXHoaIf6f"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.fbea593b_1526410091105_0.6172902385424683"},"_hasShrinkwrap":false},"0.7.0-alpha.665fb022":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.665fb022","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.665fb022","@crave/farmblocks-theme":"^1.6.0-alpha.665fb022","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.665fb022","dist":{"shasum":"d40d9a6935f3c8572e45d33ddc074a7450a2966c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.665fb022.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+z8LCRA9TVsSAnZWagAA4xQP+gP+KHx51q1erTkhynNv\nOfE+uu1GARS45L0zed7ljoVGgfDnybDwskoEfexdxzU3g61J8FibLqFUsX/P\nVahXG66MUBo5Dy8drhs/2XmxgsFo+P8bsMxe8sFEFpp39rmSvDuKhbagVXN5\nzc72GgFhhk4y4hVymmHuNJcxHGPN7s78YhHGEEVa0o6+vbAbg1a4lsxx+9zB\n+eC98mfgLUnHpM+FbciHvdtED8JWcksjiB1BNFzGqaEgASdoXevaOG0SyRhl\nwp7QZlo706j7YdpPgMfCz8svWhR/GaGwZq/LY7DGmjMd1ogqEcRUqfVxnd2N\nskwMRPZD+KJnacc0hCpWfC6xWXDvxD5k5gXfm3p7M1RcP8BywGuUyNlDAnPk\nkud6xn3jyOcThVcFJLiUX9EUv7dT07luqRE+3Q2+AjeEYk/VcDjoahPm+ZjR\n5sxIi4OR2B22sBuuml/PJmWbMRfhxoZ/zY3FHLAU91F33chFyrpbZ4bkZmdr\nhIGFTvFsZbJCO7VjwEqmvKkzTlCGaePiqJHJeMclGbd5gkl03TsEnAfsS7ZK\n5lk3dIPvHTBLe7lobutFkWSezByivFo2fqdg3iQ7qgTKdTudNja8LU1CDiJA\nZ+aPO8y0a6XzZdmDE45xE7Nc5etl3YMk+/kA00mhwIWtd71QqkcsUQGa3uyE\nleuI\r\n=2h3q\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-nYl9dixib4s8fRgI9dmTU93SfgGvgTsgLsSNcPM+PEIWMfXJ9tfcPQQWBD3BALuN29iArO1BGIimbjw6Kuaw/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4jKy6k7jbzqNAFTsbn6V+brSwCmlzqLOsVZ1CVVNhxAiATNW8H7zkVYKAms6ctOhJ/GSFjSummAjyddftKU0YJOA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.665fb022_1526415114700_0.40356392356895054"},"_hasShrinkwrap":false},"0.7.0-alpha.d34e607e":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d34e607e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.d34e607e","@crave/farmblocks-theme":"^1.6.0-alpha.d34e607e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d34e607e","dist":{"shasum":"31c5d428e962e8de95781203993b99c07a60e3d7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d34e607e.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/GSBCRA9TVsSAnZWagAAjjwP/R9Ui4CJ3gHePoo+WmUd\nZNvzKmECUjUIq3yNs8ezhpF6yU9iW3dP2RuBxx2gMr9xQiIR580lc+7VhMP/\nTD1WNnfSyeVcnGRECLA33uHzmkozGcwlHXPUVdbwtdZwm9aUyj8sFXPr4yVs\nCT5cJjzVJlPtNzDrABy8KUgFeURJv6yyujKLIvGiXHym0cNTRrPrL1jU3Gus\njNfReF7oxgC1BJPE79FR+kJ1stJfKC5iL7p8D+w6diB02tP6QQcuKQx4PF69\nKYAiPw+I7gzVhR/lM4zXl+GblSSTWz9hd+mx7UkTuu+BZaJ8wgQgyHbdiNSv\nHz6o8KB7VkddSzKeF+EKWFKJLBpBUs3neMCpmbsv00Bmwo0RR129Bpvwvhoq\n2biQquhSyAZaLD/U/aEb0CV/GeWzCor+yoaxhnAPZSntTgCJnYelE3NJaLbl\nlcXWOFuEfMo82LhyI90F/bEjwfd1oR7YyVlWBuMbYD2FtBJh2//9TYGa4rQt\npVIIZf8DhkWnzucVlM/iltKil8JmRs/cxGM6xcc2Z66KjpZdXilpCafU73p2\n9iiUmjvDAgEvt60U811ZGYv6AQTXtB2AgIB2TEI5kL8n7iIa9QGMBo0fuPgc\nZrLLMx/z1DJg7DMk+1MCtZZTjO9VQVJrl4k2nQKmf7/h8O5I0mI6xIFL4PNb\nSXRr\r\n=ieMR\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-cQoshOUAJUxWlYUZ56KlLkXIRIUxiJC5Tyze3FfvYIqP4G1xez+ECdKqe02fftxepuZkqJd6B0rRxu3sv6in/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAak1mK7OlvyzYndH+8Nlu6VTmSaGJr82kragWpxExBSAiEA08Z+eO422ZGk/tj6OKSgbAsoiDbHrPOMy99qZejY8qs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d34e607e_1526490241598_0.01576409434050574"},"_hasShrinkwrap":false},"0.7.0-alpha.b21299eb":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b21299eb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b21299eb","@crave/farmblocks-theme":"^1.6.0-alpha.b21299eb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b21299eb","dist":{"shasum":"d310a572e0ef68db39f3a5e73dbb432ea778c427","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b21299eb.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/HazCRA9TVsSAnZWagAA/zoP/0tvspWDZg33VQQZNL2e\nhfAWx6xJiM71nyqIfa5+oBQx5XA17dxDcmIW9Xr/0dyB+WPEFiNr70c28+hi\nleXM5u/dhU5Nhx7FYPVU4PEGB9zp65zZcuu82/1GPUJSTXpje1P3uhiih9tn\nG1D31nbsqH9nwN7BFa4JI7CuxwPySA5q75vFon72sx8pSuwqnOT3T289u5yO\nIec0jz3JLgOEBxhEhstEzXIuQIVS14UNNVQKjF0PYeDtJIfw7/DzowkhG9GG\nBIJAgn2+i9CR0+mht12921o6X9q+w71D7qf4EajVmAKWw2FmTDbnM68uMdg1\n5jHSuGOZ1ZN97+xmy00+qxA78TbBOKcmmo/5wd1Ar6CnQpFWFDQrrWclSunQ\nLvLysbyd8jiZnz2zLtgiNcZtcLOlc3mJ9GEtcQxGBOUAZ6KZfsirTIYSpS6E\nxYG+7dKTaMdnc9T1qqUKkcALYlgY3PprcWGRvhefxzzuKt7RRyY6hkGSGKx0\nWSZCymVgkIn/MJjBS9J9xCrYs6+TffDXF0pXpW5lStF8/73TNrO6tscxiBn6\nwrFNKqV4tq73gHOLqvi6ggCkTKzlQqU6EpQueo5dH/MNGuo/BrkKHGe2NksE\n22FlkRPqEn2+72tCxB/sRl61qVrcRkMruKfdHuM96d71Q8HSWtBXD463OHAY\nhEQ6\r\n=hGzS\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-G6MGnnDIvc2M8idUk85YWwfGpgJVbEyNhZqfXLbwOrvf+7h3fkGZSo/oeK2M8xFXw4SdV49+08yOv57Tabk9RQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlbN/xb5iXlD7mmm3J9rTDEm5fWKJ2L5eR5zIaaQJfAAiAuR5tgpWUWP0JisURqYkZFxfr8+dF6wsh7LoTwyvWeoQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b21299eb_1526494898386_0.31147231534609454"},"_hasShrinkwrap":false},"0.7.0-alpha.27740892":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.27740892","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.27740892","@crave/farmblocks-theme":"^1.6.0-alpha.27740892","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.27740892","dist":{"shasum":"55bb195e1a03187f12af310104edd4e442688991","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.27740892.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/eLpCRA9TVsSAnZWagAANBYP/1eH1mK4Nbo5RYvS4npD\nDEfzAXrvP6IJGpHMGaJJgIfdb0Xl7k3lESVgeHnw4cZsY/paRKdTUHug4PMS\n8edJS+8N7A+xm3cTugkhHbbYiH/Qp4H9exp3U7I1cIFWduRAArDxNSFj3NDA\njfeOu1PNxOasi9VI5o+VVrKx340MS7qkf16LIsORSead6frQoYpC3kPRb9AU\nyjh8b+4oOh39RFSTE0iLAgaejX3Fd0vPoZDFfiqSg5l7vFOVr53Xa5lWLSUZ\nIv/JineTwPa+b17Sy+bz/EFkoduXy5yzSB9XdoABRX9x/S/8jGITe/ZwZvwj\ntDmVF0CsEXPwyuSrHV6lLkLx8s9RfsQNg1zMuwXp/Cu2ulprFTK1iut6e5XQ\nqUonuulOwcv8bOO6fq/JZvTcttTnzg+7GnLAK4qgusVrB7ZBt3iwsIbQraTe\nnuocpw4LrUvm/t6/DB9Z4LljUd0owIeSW+/vk2l4RMmR7LkgMvFIbLPOKHUL\nJd24g2Jej1mGxM8B5MQUj7BpeAc4cGVgAfBS8MTyBSEfAbs4j/OY2LtfreG8\nbRE4CUs22m6h058MfHGYzbH9K2ULqJ6bj8NS7MMgQFN9miUUx+DilMvZUNpt\npUG4XL9Guo09R/WnBSnrclzt332K6AeQKRuTXJTLbTEgPG8csbKwPaHuhZHG\nuewh\r\n=dWzj\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-OAszZ3HHPgaT4z31HyrIIN1r4hTjv1FR+ez/ntsndcOJauFBGfeo4fLWLw9QJf6yBWK+3gVkT+zfUQWtP7jDxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6glZni/0fio/8FZ2aAv8nYNRMIoRxPMUd91cqtHnctwIhALYzPU8C7OrlybI/Skyz5yB2nh0DxRPAVYtwA270Q7DN"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.27740892_1526588137161_0.7337677153496698"},"_hasShrinkwrap":false},"0.7.0-alpha.f5f67192":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.f5f67192","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.f5f67192","@crave/farmblocks-theme":"^1.6.0-alpha.f5f67192","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.f5f67192","dist":{"shasum":"77ee06f0776f4a84b570de1c870a54676aa325f7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.f5f67192.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/q1GCRA9TVsSAnZWagAAWcAP/jwhfjk5RVU/4zB7RGSH\nJbGn14HXPIJ2AcpRksnbXwLivD+a9i1ruWJ3Pvy+rwnVkKwHVzlvuY7LPO83\nvTmOn3atmgOnFGewxuVQmz2+Zh/5tnjVk7o0YRBTfkNndnGffJTxjHMQ/Gv8\ngK7OU3riBKbC3A8J1XqBowy6+/O67oi+XhRX6/Q/uZlVCAcNZcLEYErCEg9P\nyhNNJf6rS/HRa/zuw/+pWyX6OsXcGRQMBTgBlgyoojGjUn6iZtHhGbfG7xx9\nip5NPnZ6ArNgBICCxf2nt3tqaQntzsaD7u8EuiTa29uzZfKhASdSONjKrCXI\nJ89CkrbiED0iAFQIt7kdWjhc4grWu7WDywf5mK4bkgBxUw2dMDm/Ycq85v11\nA3pNnFIw99Bmn9RzWmDwXRng2uLc7L0cgtg8G7FO2Z8DixgVvvlIb1+g+hK6\npUxqu0k+CCUFurX9PgFWKJUBlfLHM+gp/LhVLjaoG78aA9sQd637xx3RT3mE\n4v2DZiQbzy6ypcIjOcimgLmixAcZSFM3v1L+ef8mCfUhjXixv3oIkStO14jB\nIq+1FGneKmZFloCyMlUh1EBxXp9XOP4L+kI9Lh16e3/79vUaj0sMT3tyDPwd\nyBS6+SQEPTcStF/MsbYUG9KrouPaWuD+5K6LPkIO3ZQaBgCE/+73K+d7Fham\nj9i/\r\n=tD2j\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-LEhkrzlVfRIkqwC86e1YYUvnT7SQ6poBa5d7xkl3DdQbAufk5laOjCdAq9u9LJZSLqycwydobV7iOhRFBjdBRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBl6rox+EATjXfACz7MGZPbZEnvJemHCPj+yQe7dSUbAIgLP6qsWRUYuOkk2WyN7ot/BVCQx11fbhKMkx5CKAzwjo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.f5f67192_1526639942003_0.47949244759605025"},"_hasShrinkwrap":false},"0.7.0-alpha.f0a754a0":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.f0a754a0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.f0a754a0","@crave/farmblocks-theme":"^1.6.0-alpha.f0a754a0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.f0a754a0","dist":{"shasum":"270d95b3453952e80ba22a5ec3a77f756d1091be","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.f0a754a0.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAsQUCRA9TVsSAnZWagAAqr8P/iMSPMKR1WuoqPwF8dJu\nDwYMv3b07i1/7VZuyd5WyTSuaVkzIUepuaJw+7GXxjlAoPT3Mggfqd9CNiYi\nYAqgwNzA20GGgxy08JRYxXdwjCVTerg40Xz1i6fU3ieLTbj4CV5zIrSnAn7Y\nXGGVOQdZFQARvwa83LRIthORpasWU+F8A27ikVFcWEeeaQPQrR3f8epGDAh1\n5G1tTG6Rb/QvSdemCDUIL4aeOjb8+oWWgntreMy9oilyk3lnMZj+uqJJ6q1X\ngy97K/UW4nvcElkEb71+NtlRM/KOhTiNPw92de6a2qgFntmbQSumNwcG/twf\no9SvEXsVAI7kcArHojJ8VM1Vt9aKbVn2vyaufJNe7cW2Kswj2UehMX0/quV7\n1k22RLMyqh06TryTBOCpvqPAFFP2TjhbZKMs83Gq93tLXs/EvB9No5P0/mvF\nW8WqDjoJFa184sIoe0pegi43lQED9lentax/i2fdPJXkosLY8SaERbDLmWdT\nN7+3rQnYhvfQhl9aa9TnoioHsS4XTaHRre7Ch5k+dY1GF8vaF/pbd4haypye\n45BLcfRE9W87LM+fvAdpP9vrXm/cTaG+qrP7sxZQopacIKDe3UoOIZOjhmFR\n9isa8FeM+JsIORiPW1jOekecULV4SkSGKgd46/t1T5CoI4VoOrEApJar/Wcd\nRLqH\r\n=mNWQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-oaRMoN90prX19PI6MQpaYvKr1yLr0I2vslMusA8ZSJzSSNeRmn9U46wa23FSuEn7YgDWt7YsOP3+AsllGa9K3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXhh2jvTsfBvEU4YRQmuzXVnwPJWyFlhdInCJOiJmx/AiAxUJC7p+3ghcFFktWSdZYOoWE6nOw3svFHeidL7BEsJw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.f0a754a0_1526907924054_0.9573749832033009"},"_hasShrinkwrap":false},"0.7.0-alpha.03669b3a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.03669b3a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.03669b3a","@crave/farmblocks-theme":"^1.6.0-alpha.03669b3a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.03669b3a","dist":{"shasum":"3d9820291c2ccfcdf8cf78baedf85db8dc911fa3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.03669b3a.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAwq/CRA9TVsSAnZWagAAxwMP/1ZCM+uGECu9JfwVoeua\ncgIsZVp+WZkeWSZ20gbwtOFCXl6buWxeh+cLnvPlL32QCKG3UxC7UAafG3CL\nWkQesnQiy28+2uYJK4NMUXX1VEoR0f2cknTKE5j7cg0wOt9p5bKrcJ7ayvUT\nfTf9bYYJmcuMUw5ED7jSoHgf6z/6qKMpwXdewqYdvMLbP/vOLALOFY+lWtg8\n9QkDwBt4YUYNfhD2NPkYAqzD7Hzis3Zx9hcVuWdGQu2bAbxSkZlVRwWGpK4J\nkONGxJKdXl5aFekuQrOsPPkixb5BXXzN+VGFEhFnyd9syXufcafkruqFJS47\nIpx7VFsfCVJVnxJxeWTuLFEp8V7BlOnl/Y4JwjdIDIQV06D/pPz60vBam62x\n8/DiHBFuCQkNbPcrn8OtY1ynEwOoTQYYc7Cp6gywUtjZ37yl2kUX6pedD6vH\ntTZ+IoOIP+F5sBT54L786Uanm+WVa3ueQLHCM0L4gWq1tirWSqcU2cue/TBb\nBmuZxBSOFJeMKs0aqC25+ijT1Kq1iq9eDkaInWJXHk0Z+1L+1tpp+FgR1I5L\nX/7BubHH0PDrCsM19fqBqTqA5MYdziZaJbpTwQdADxNPS22NjuSyF19gTMMM\nTAABqjjKAg3JnFnbAZ66OM2sR6Si+m7WD5F8hUnKxGBvFivir4ie2ZTg7tKi\nJgez\r\n=LEKg\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-PVP43UMNWJ+M3EnLI4l3VMW78SS2yfYqjl69Ksnj8/AIT6WxTMqQstnx7KTFnwQyirraP1xW/GWM5qRuAEMMCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrXTefcgKGKsV51YYgHa+i2I1z9953hQlCYsPXmnsLrAiEAy6QBnNnfaSc+p+pjOHU3YsGo/l7fDxZukPuGGF54USA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.03669b3a_1526926013686_0.996126167238554"},"_hasShrinkwrap":false},"0.7.0-alpha.b98cb000":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b98cb000","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b98cb000","@crave/farmblocks-theme":"^1.6.0-alpha.b98cb000","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b98cb000","dist":{"shasum":"2c259ed23169f7bcb2c57546bb509f89eb2e59aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b98cb000.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBBVmCRA9TVsSAnZWagAAJ7UP/3GPUCaArdUHmEYDltON\nXCdSKF0cIt8N5+Z6EnLInR5jBDeIMl9kwwgZe8LThnKM8r06zhqIs4ApKoxg\nHUZh0gPLez2ZYaU7gqhIGypvp95AxD0XZOoGyVjnUbIdGOEh3Ck/f/TeRUdr\nSrU2QNpa27op+FPANttPOr5Yfz51k/qdlGujTip6k22GGylp5WlLBziWij1Y\nSbg8jEO8X2HIKksCcOHFYJoSklqs+D3nv6gaZfApArljnAVPp06/FN0MXDaM\n1RLgrnEFdxMuv4fJrdoyFWt2t0hw5SHYLpyHZu31AXH8btszw5BUltOp/feP\nHYLzzhm6LJTiJV6VNOz8JipfQbScazr51QfSLOmQgwfW6klH1Ds+8D5FfNEy\nsZswKdDx9DH8P+G5vzPTwAGMeW9D4tDII8JNDoJHYUyD2uEunVJNpSTLMFD4\nWscuFbJHTrrdxesz6Tt/h+xWmHqu9MM1HPYAM0qhIeWFy/B7J0eG92fUq5dg\n1+qJsKd/asnk9i710dqKpFt65HO23vFADLnIc1u29unGbz5HX3Aak0aYJPkt\nL/Yx+RvaTpb+7xvVo0LCNV8CACd2YOHEPPWiqmVHtjf9OvXd6iThQe0+Tkcf\nbxSbtzer3F+PBfHnNeGMaQwGryhOR003uwOS/fM6NNx+8DdYdca+bvV5cw8T\noi7V\r\n=6wL1\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-nwtPCE5ZaR0Cz0OIU2OlLmV8qxoPXh+gKFmHe/Lfd1f9IUvphIKtyg7csJz3Fv/Dj8ypAudvZprSgm1cOb5fQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrdNNzpAQwEZ1cItDWDFTMiOaspn11y8MThKJfRxJx7AiEA+a1BxVDQfwWUOjoxjjxuS1QUbI0zihDqODDfw9pSqeI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b98cb000_1526994278323_0.7822870384165339"},"_hasShrinkwrap":false},"0.7.0-alpha.976fe4a3":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.976fe4a3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.976fe4a3","@crave/farmblocks-theme":"^1.6.0-alpha.976fe4a3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.976fe4a3","dist":{"shasum":"452ba6de63ec4119393b41dffcc0b8be3a782727","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.976fe4a3.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBFbICRA9TVsSAnZWagAAj8MP/RrZQZb+JEj2Xu2LXX9s\ny3t8jtck8oO6Uqh6AmPXPxwzUJd1wAiOJxa5I/xf0FL8J9FdKfE2NJgoG3aq\ne9+IGiwqHVrK6FTtVJxqYJ5zHYuVTX0yp1v3iEwFO0ImIGRI9vtBE2MgyN9p\n/O+doYpRKfQC8kTXd7dLor1V+j6Ef2SWde8dYAvyd+XVLyGeN5x2mt/OOMai\n3HQd01pD1Ev8WfOwFCVGvIImCc2bxBl3VRMHbEbEQqxE8fj31pMhcm7f7foq\nj0ZJKgFAVkcMbs2gZn4yody7sGTi68t+HUR+GvVF1dzRsibuep75a/VdxlVB\nejpcYX6el0hejoQAcApAMxdKaduJiYgSQGK/I1xlplfYctZojGMycyMIZsFv\n9uEYUbPAKjF/e/H5dYVAQKheLA7y7VK7AUFyg037f3SxVQKXmLnpAamWx+ut\nhD3O6i9jQvM6PNyL/f9J5esFWP9gIP0K9GG0dQVG1nxtH33flwJx9xb9cgc+\nWRpiYn1L8a2RSsZSRNdnjb6AaJ5uoOwCVJNsSK6SGtIJc/4A33JSIhARkVa+\nC0bFb/gy5VqDiRNMC3ZOfbD6l7Tte7gjcCBkjMRnDGw1MiTkjvRmMatZHFu2\nparNfyk2m8mGmeOQy7N0w1OKuywwQciE2xmT9a6YgeupPIGt15zzZ79fK9Y/\nOOJR\r\n=SThd\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-xN7ls2jF4ei1yYNHQJ/wg5PnOQcSf/zuRh89ldv2pp9dUjyRpmmFAqU7AmLLkFyIIir/8DuC9aNIkPWGkkT+WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAegTEL+cdBa4It1+pqVUj7D2Nlvp0wcZ5KZEI8OsRiQIhAIEN6cO8gM+tYvquxKFO9Qr2yoA2C9yT9sZhkWWj+oo4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.976fe4a3_1527011015859_0.7815078894525793"},"_hasShrinkwrap":false},"0.7.0-alpha.493dda93":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.493dda93","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.493dda93","@crave/farmblocks-theme":"^1.6.0-alpha.493dda93","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.493dda93","dist":{"shasum":"577d01ef9bb2cfe1a4109098eb68a582535a00fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.493dda93.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBG7kCRA9TVsSAnZWagAA/1gQAJqR9l7wCTQ6pzGKsvSS\nOmFfYG3Zc9UgNp//VgCM4QaRi8hmqS4rlYLhg+I+qui4cAf8iNBmCXrk0fWw\nKlYvJVyZOAVhLTwRHwgc9KyTx9GA9VXRH/EOgcU6F6XCYyTpLWnL5b9yiLEH\nuPaeH65XVGLVCpLwfpkQTj+XcHqCEeXE1o20U00joJruFLastngHchHjAnIv\nk6nc6rDmunUGQKg9eHkmAMoyApWsGZssBiMwAvn+wzGb1Brz+ebwTP+uJ1ox\npKZZL28A4qpBIz4goo4hHelk18hJ31wQs9wIrNCjmokyiEX5q8gpMiefun//\nKyeCffwx0EBIU2cN/Cb/Xup7AhNBdnteIvJpaIHg/+8VN/Jo1k/dcBN5+VYU\nP17wYfiHzIQuXmdeY/yYCXkGVzzgrvvhQeXfEOOk8YM07isnqHvu9X5lLjA4\n1dZ6u/dDd6QgDhY859ve13DqdRCCN3sOhz5NRvjvgI7Qr0+8C6ifBAdxHNpq\nVoKqJudSvlt96xRySmFY9FFpvGKcyCTgk7dm1BOAw4mWrAcg2z//EHftoPCt\nTQTh6crIlEJNcIzhDg8fT4+nbJSfHQ0E1SnfoSxMdIVXtOnr6YwRx9/Qcp+4\nHiMkUKhiH9+4+QaxZpz73jhrQR5s+osTFdREkPHf9bW1nWKZm8/Vfw8Zcnkv\nEbKP\r\n=ERZm\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ObFTm+H4WULWRzbPP41KqgRz0IaOOc6BFOx7jxtEvbvwWE2dm/AXpCDF3vjlf2dZCJ8zjqezrroRGQvEiZexeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgS4He8/sEKgXKq8htx0Y6hjzCQ2XDD2/JZZY8rx6UDAiB6js0I/C2LyB7QjZADJqiKW0RalHMBZjNXLrT0PKQTxg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.493dda93_1527017188534_0.3105225636644591"},"_hasShrinkwrap":false},"0.7.0-alpha.302e188b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.302e188b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.302e188b","@crave/farmblocks-theme":"^1.6.0-alpha.302e188b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.302e188b","dist":{"shasum":"37da53f854357c653a4aa18cb30f9192850aa826","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.302e188b.tgz","fileCount":15,"unpackedSize":21869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBITGCRA9TVsSAnZWagAAaYIP/iorPiW7PjvC/d4QMB+l\neMZcHpcxfAAVzOQB2ztNa3S1PJG8acnYO00qFwuToQR7HJZ7WyvwfeCtFfZh\n7xPN9zjxm4e1418zr/cH1llrbjbLrrvArDuvyonlgA1E9x2rRgIcp3WKQ/Et\nLKj4MNRiotXvoJiIq1O+K0gMD9BzQsoJWVOZ6TKgrYTO0dwL7zQ2cKBxCj6r\nybwarG2Ve2w4KrE3Kxy0bIqdp7wz+tmVnjci2zg9LuqB54a/dw+gkihFQ1OU\nzQCdoyby0xENzBezbDMI5Y1klhGm59wcHxr9opMM0G8WtGbdkL0FGVTDYSxo\nBqYp4UG2/83cENU7Tkf+r8Pib9SHsxlqBfTTRf7p/Xyqf5r7K0H5gQnduW5T\nYFg+gUIfMi2q3xztJfDHqtXZZc8EuY2uox1UuEn5DdMw81mCjoGGD4z1rF1h\n80R/CZvh4KseKGwREUteCGBzpL0EexD6ZEaYE4h10cSLOZTPh5xUI3MmXAOW\neVrPI45Dx81HcQo/xAYZ/4RfJerubPeKQEvyLFRksD4XwGkhV/Vq4LmZ/2se\nxMTV9JnPqamwEz5vnPtN7N34hdZdr8ZYFvLPI4WpuwI3weNP0P+aeuCRW3WR\nJ7ngTOzQl30KsraRmlzSYw/6Ne1NjdUmdLvjYq8rdiwKKvUuDMKwz4j60G7I\nqMsh\r\n=NUpk\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-9dl6IQHMmGxFjZoQQ7zEfJHLw4Ecn06mVB86OtDtmaEVSU5kxlbZRUly5b8skwRN+b+MNxk3rsOHYZKEQoDR/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFfzzyEsJS6Ex1QahwwnuNtKO+dztBzTiPvQxBOj8T6CAiB7gEi/ICxApWq5vkzJPLGl8K7ejHtSrdZY3ls3PhKBbg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.302e188b_1527022790472_0.6107415488920453"},"_hasShrinkwrap":false},"0.7.0-alpha.b431ef2a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b431ef2a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.b431ef2a","@crave/farmblocks-theme":"^1.6.0-alpha.b431ef2a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b431ef2a","dist":{"shasum":"1f9d83a76d0e7c93abc35ab1313051e8647a69cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b431ef2a.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBIetCRA9TVsSAnZWagAAURQP/1sTGn0pmrIqAWfV9GM3\nN1DCFCWZph9GHdICAYmpwohuwXiyh7G4bBwZO0JPvUG3RIx92Min72STQtcj\nkGRCLHMWKKpstY3eeQulBXsOC4GwGS8W64bnmOicjruvaa31W7RDgZ8jFXCc\nTkCjPb75OFDOQlSsnEz8veXjx7BQWRUSSMj1bUfAtxSTW3O7+9sHAyvvcfmt\nIaR9qZapg4QWc6cEuAnoF23+HyQK7XWF1sc76mzhGVRbQhXFtsYun7YXfApm\n8kFP5OE+nJk3cW2fFeNr9sjZyqfHMCVWkf7AYMFJd5nZV6jY9QuoP70N+vNf\nnKcHp2C/KohXh74qmC7tY/eeCVBZAKfTu+kVEhbYMSI6zUhk1eEuLb3BFryg\nokOEo59hWBiEcFTOoH68fFjXDrDQMs7moiv2yWQnMPg6X5QxFSBMYp+rtYcm\nnbO+BVQVveeUk7UU8+WU19IqPdZE7EXAdzLcZK38nibk2Z32Yp1h8UEG5TfV\nrHsLF28RQ9hB2iWgzvPlcTDt+EJN4a48LtBfkG84g2NoJcpjJezQX2mreZfo\ntUyifaachd6F4M3+puDb4Fn6Yoq0BWCHeSo59WL91cfuo4XIRwxIRBAHgeV2\nRneeDfNkvOtLRC9ZqlAyPevOECUPbbN1PJbYZ1j7cXsgsrekyZfxaa8g8G94\nsfaZ\r\n=ND3w\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-3PAt2Rdb3JUPwaGmyIXqqGMONdd4Y16ml7ZOYVcAprYeibM2Q/5in4lVSGsl8Arli96mwTq5t/I0M4xrCDjeTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7GJVheoyZIK9Lz4ygmrty7pxRB0z01+sMASYLEmJJhAiBTNtBfR9/WnSOQTGuVvXU3bKt7PZhIKFhbzVdEzNzjOg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b431ef2a_1527023533267_0.6266284253693479"},"_hasShrinkwrap":false},"0.7.0-alpha.5fd51193":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.5fd51193","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.5fd51193","@crave/farmblocks-theme":"^1.6.0-alpha.5fd51193","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.5fd51193","dist":{"shasum":"ec7924f3565658e727dd8d302d2db5fc1036d2a2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.5fd51193.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBIiBCRA9TVsSAnZWagAA1YwP/AjcdnCsfKYppBNSrDtk\n5pFxHHAJR8k5qeM2YNGH5LxGeCPGRdwJKCYrKkOERogRgNoAr2FhH8JcchuP\nXzuovzrkEE+xyi3Na2RxGoYDB7NWQyat0h37/bAkB9045K01K+M8LpPPBiOB\nVSorbAaqbjIvmkSyJebVWE3cbSnctkfG/Zssj+WkjAoioVq+/JEY9upXoyNh\nIau2EvLoWOMtWlAdCq1v2WEuPY04/I3AwZ4eEVp6lHLUXHz2XxIccwP3XvDs\nd1Gn9rYq1nAUmBEU7L3p6OE1Exy8QzqoO5E5nuuX0NnlVv0Kh67T7ojC8Fwz\nVxA65j91/ax0wSA0dhBcqWCJEulrJ8xjqYcpwn65s4waqBRJyfwPHxOk36Ji\n2mXjzogt9Pwi8ikMABs8Qtml2lwbiJrJIxWmY61K4WE/+0n7HPtzNVEYLFYR\nv8oxNew2MOMVWKwPiqz2bfBIHOmCPXAZiftmyCqbYycjzBrESdrDHAtpvba/\nrMoG1hwJhUDVbZ12jGJHpU6jSBnh2qd5gTgV3kq7J5xjTBkCThobF1mQppPQ\nCM+0nmDTO5Sawqr0kbxQvFbmfLVy1V8Qkt5ox31nTisqLFetXjRezV7Rkhh9\n6EazuD6tJBboDVCpbpdxmX5+KKAWZHyVZzjnWot1Jtd2Co5YsI38rDOIT66n\nMWm8\r\n=jj5w\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-nSOVM3TChpIvqW+/jYtSt9H0VkhSBBuzqIjcGEmS5wh+16BSg0X/hfsAuZL9ZEWXCCSRxnw3NZzBgFzJI6EOhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYk8KY3SmhxtqOfM9IR8UozIGJHP8ub/Ny1bmlErA9nAiApV+MkImFJkJuZ1XdylcgN0ZjXWNYVXO9KS5+CvljcgQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.5fd51193_1527023745225_0.45084455777940535"},"_hasShrinkwrap":false},"0.6.1":{"name":"@crave/farmblocks-dropdown","version":"0.6.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^3.0.0","@crave/farmblocks-theme":"^1.5.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.1","dist":{"shasum":"c481ddfa61c7e6c2f3d213da520eda5dd4ce50cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.1.tgz","fileCount":15,"unpackedSize":21914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBIl+CRA9TVsSAnZWagAAS3QP/2t9WPlEFpsmvOakGi3Y\nvtsR9kpwTfJsiC5IjtPPkyvXFziz/TXEFVvNcfGRYP/NR8VQTdZfeCUt5Cdb\n+vvP9ZgSHPuUP1CZRayZDHBVo6JuLGVvUrzumEjBc+duY4FJpKUvDRDe7foG\nq+sDYh6zU1bq89qLJHIURuVHCqw7UC5jDy0lKiBt5JSdJChmeG9dbYQ4PieH\nNGXexakHv1za7Vf+0+9g5dsdtbcDg3H6WQCZ1J62sibF+GUefLzswm2aFPnE\nw49c/C22IAmKNsf3Td/iXhK+qLU809Vn3i9/2uFsYPN1/LY6iryjsgA+f3xO\nmii+IOb/Nt1GDEBQF0B+xpkLP5EfU4uiVehFb58g7ds0Cp7LPFsJCjvh5Z7X\nGL9nowXwOU1typBtQHQ8ap1e5PBu+fC7zuCASWk/ASII997Zoxxe6trZAUG8\n6QiQb1kxgInSGNuDuyjY6Pz19aNUXSXAKiS/Ef1vZjTskIxn6YHkaVG95TWK\n7/aK6GwgZdE+w8Fsx/192E/jhzEhlt18KIHgpGJDD5G/91Qf3wMq2HtrldWH\n9aSjMLHIL8Yvlab2DdJfBAkGAb0ncit4k8TT2AN1jZ2f/IW/CZdrubwgp7Mn\nVOsa65kTOijisqwQ4hinCZNZO4JzBVvHbnZIRYWZIFfTRspPDCRGUxM+qQt6\nW4wK\r\n=iRX4\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-AS0zwFae7qd3lqp//hSpZUb+eJEtTzf4ThAAfKJZFzWYAbU6RhlFHPKBztbMR9Xt4+Z5DqlazOOFc9nZ5MZJqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhSsdaq3JCrMKbMoMLgYawwqevuhbDRhzEKgtC7RqoMAiEAooV9BKgwtZoO1VlV83GCe7/zVIRVUVCxFOpNWLwHNPM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.1_1527023998744_0.47053741033926033"},"_hasShrinkwrap":false},"0.7.0-alpha.8df66644":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.8df66644","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^2.3.0-alpha.8df66644","@crave/farmblocks-theme":"^1.6.0-alpha.8df66644","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.8df66644","dist":{"shasum":"d230422e6a31faafb4d7a155196b9ef0d946a73c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.8df66644.tgz","fileCount":15,"unpackedSize":22003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBIoyCRA9TVsSAnZWagAAeEUP/0zq4GWQT5lfE5sc3+WU\nlKAykDkvSWW8r1ZpSak3ZXRXeaRfza03abRQ7Hdy/lv45GPTyeroC6m1UzX7\ngQTsT9Ln1aGvB525MiVbV/8Oc4ywazOzz5tvL23mFYG1rXXv7h/GhZt4rgZM\n5kRXokARURW44b/rAp1/03rbWQFDwgIBydMoT1oyr23juUhcjkvjG8nH7U2T\nN7rog/YlR051F7reKI8NXmzBDfxeMVNSwnUMYio3YVniv8/as7MD1RmSzeHE\nwEBTlcIXjbq1QjfOobjZSGR+RlnxW0aURCmbIv6TK2MMtea9KXQ5nay6oeEB\nA/BJG1yj1AeLzICe3IqowkVGwr2KBu1oqAwiDdJrAFbJNK+pfTVujzIYkaPN\nu02vfcFVuR+rBkOSqGQ1EeODoITzmO6KSDWYVxUIz8G36GWqbKlzhNPyTNf6\n+HepCgec8xn2LM9T22FbhwP/8E1iTe+36DXKHBelRW4LRkDvoSDEUjufhcQv\nW5akUjj8vIu7o82TVz7YM/TvU8hBq4Yxg7Oq+uvk82MaKiKYfBhXj5FxPO6l\nZPaqeREZOtkscXGsVrvWZ+8QRvXWSsG2lz/EyRBoEbxrjbOGiKM29ZMdIxNF\nbpXuxrG4wbekNEXuH886iYOIUQIJPWoZUhh+XEIa4kpE+RI6xQkgzh7qyIFO\nDZ3D\r\n=+OTS\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-05bgQ4kjOtAAEKU9QVeWmtvkeT4zsvqXKxpKMbHbWrfdvVoZrK7A2ZSD+iuNEmZnTFNNhvNwOUB19cp7WX21Fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjThC4CWrzLrD3KFS7hkYOqv+xquKOVfYOgQmKy/8Q6AiBgrfVD7tmFApIqB6zN4vQ07dQSSgz7+m8H/6Mbmipn4Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.8df66644_1527024178054_0.6725412008478582"},"_hasShrinkwrap":false},"0.7.0-alpha.3dd61dd4":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.3dd61dd4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^3.1.0-alpha.3dd61dd4","@crave/farmblocks-theme":"^1.6.0-alpha.3dd61dd4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.3dd61dd4","dist":{"shasum":"f2e192928342b9da51c1a4e180f434c7e373e3f5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.3dd61dd4.tgz","fileCount":15,"unpackedSize":22237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBJu3CRA9TVsSAnZWagAAmvEP+wWIherN6Iw7LcZc/lUy\nmAeSPlYFXpp7TO0Gt21h794ZysNf1OqWegdFUsgZWbbtO5xdC4WBlyaPme6b\nJrXqxIeR4QCUw+HBL9bVd9lGOXRZv5pSlZbcuy5KxS7uoJ/GwF5pRzTUqbc4\nD+KwU8hxGEQpWyJu8qqCa1fHEIkH+VlJnjbQXpuxaGsOXW0I1X1EJyead3D8\nFNChnKCOhX3KLythnj0j56nHEibcINPg8ntVQ7uT0UFi5wnuDSzVWtVmpY0D\nU8Xmp62dS1Oe37nrt+rnTx+Pa9hVSu7XkznPf6wO+sgP4wKHRKZa84y5G5lU\n6k9VtTSq4LKwIQ+dA4XjiOGyrbA52hYVVO8fGNfZuVdNbHpE9umDZQkR2Fvg\nyj6uZzLU34yYoT4+JHOD6z66bZMhfdyMQesTgCfPP0uCbcwxQfuENFTIp244\n7Gw+Dul/FI7sOzftXmKDzhJyun1bGpRIsWu/pogHO+RkbB6LelRTydLRl/x4\n9g/Q14QGSoy01/PB72ts35xq1k5zKHswBMe2eqGvVpQnFR498BOut4/1kWyA\nyAbiyD3HZ3KDDC1yFuhMlq17fECbuAyzCypAV2GCyt18vhs+auzYTQbz/pMJ\n5EDhMg94Y9Gt3FqHnu2mR6fKG4GQ+PuwN6Sv7SFGdmv0d2u1ecxwJu4TxUzu\n3J4U\r\n=Ixcx\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dabZow1UXMJT381FWpacmRknxMU+tH9p3rLumpeXiQ3D3dtYcKSgW/eu8xMh4oqTUaAHfE6RqG3KNa1Sf/9U4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBknEADHUZcWqrK7RJppDCsCoh6bLULWMMq5aMyrSvkAiEA5ejk/Mtt11GgKzcwsPs8yxTWkr1QxixmJjFm0QPsAmI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.3dd61dd4_1527028663286_0.4476213102500808"},"_hasShrinkwrap":false},"0.7.0-alpha.4b8910e8":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.4b8910e8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^3.1.0-alpha.4b8910e8","@crave/farmblocks-theme":"^1.6.0-alpha.4b8910e8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.4b8910e8","dist":{"shasum":"b2f7fe09d63d94900d69806eddda5361e461b31c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.4b8910e8.tgz","fileCount":15,"unpackedSize":22237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBJxaCRA9TVsSAnZWagAAkL8P/2/H/K60RRk/kHNsBHzq\nsts5J8kA4zDLFFeWsWUcY+Wt5Xp4NyDA2e83FKeyh6qSWbsKKxQI4in6rMIu\n2wah9SRVjTVO/tRQMWmikJfVnl38+hr1aNT3yYoL/MAIUf4YYr7nar8A3u7I\n6KT+xca95JjYTl4cxovEJalOj/iv1PbbLlYlOlG9mFZrSFqBBHlQqjq4IuGP\nQ45pdtH3AVP/LALcSBfofQc5kjBu5ZEebiATg7Rs4pyHqLcNwI5Qj3mJL+Fw\nXxW5xHLpSe+p8XoO2W0atHBrcuejkHH4nc3/UExo4k2LaFSTfEYXCMeLDa+5\nLkvR4SyzWG4BlwKr7TDHmWYcVozK/A+mpSJonAS3xNWH+yCxLarHnXgrQAtP\nWgiOkCm4rqH4jzhzTFjOUBFRTbKXgpFC3soTUj5CfJ8W70sX/hdWGfj46Uw3\nLOSofDJ4usI/FQ8UNbl6Q3pbXDyBMRTBBNWnAgPq2CSP7GAZIK3SBXZq3bLi\ndDmfnfrSPVo2tBMPCGNY0m2EIRkigugLaNrck1Hkn3hS2sdNgtVvRHgvFgz5\ngsLvLcueJ0o/tQXxBW6VplBut4LJrgD96XGoTUmo4nSNSikIFNVjRsPzHIOs\n/czIT6Vm70EEtzfj1L3YddhsWVwM0OLdUeklGBO9zq94z5ZCDH3YzbwB5umn\ntHth\r\n=vaxI\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-VVHUIiOlOGKAq6ftEEx4rJ0IIguyJowdN7ALQv37ANpBr39jjVumTPHP2/IsB+wDoMCPysu5Z9CLj9Fqhi1Tdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtWCToU2FJ2H+lgffB1gXoNqviXL4vbwfBsYyCL59yhgIgQSg2qlbXo4Jx9nRLiwLCVqHhiVGmCpcO4U9jL92XFQw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.4b8910e8_1527028826386_0.38004971823196754"},"_hasShrinkwrap":false},"0.7.0-alpha.62810329":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.62810329","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^3.1.0-alpha.62810329","@crave/farmblocks-theme":"^1.6.0-alpha.62810329","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.62810329","dist":{"shasum":"1f20796db4bd0b292d98c1d74c9f5505087baff5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.62810329.tgz","fileCount":15,"unpackedSize":22237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBMBjCRA9TVsSAnZWagAA3eoP/RDjKuIkjkrqZbddXrEy\nPNfiXBrxDj57CUgTafml5St92dHdNawlqdYPnFq2QNSdq37ea/99Fd/3ZTYh\nnf6PCI5zD4AE8Fy+Vg2Gj4KrSEBqhOae9c93Fr6BDY57V2X3/zNP0vuF1Pl5\nairW3N0gf2vDbZLpX59L4FP3V2ifUKhOk3CXl1nef6o28IMKqVfnOZtgeMmF\nWLliFhQB26KwffD8IXQnCgArQOFHw4TNyU/bP9ZpQoPqUns6AVZgF02DI/oB\nLmFOexIl+B9/oCdpDukHmyi0uimidYzp+StL39Wpoc0UlzThhcyQ3NQjrY9Y\n7hLmevdQGez4nvovhxfLzsGhjjmtHufmfEJWtCoUPV4UwV3VbBSFcD/ZzVe+\nBkeouC7IzWSejDOUtt6EOZHznh/Y7lRxnD4MKA3SjxRo/cKn6/49wINLwK7Q\nmpyHGUv0kwb8cQEC1sNRZ3qSToMUAdVsizS8jSkKN0du+3x+qUUdylCRGbud\nvYMojmFusmHTS8MpJbHU9+GJdhXLsybmITA5Nuv1tSDeIdtPgoZjzH59hmZk\nBLPksdCXMBxV4wWSWXEsbyi+Jie6eZOvUSir/1MKxUB9hasLn9edZbI0UmHJ\nWxlICYucODeFA+Sz3nQuCZS5OLEJ9viA4MIStPAw9ViYMsR/quazPOsnK7xb\nt5lX\r\n=c8w6\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-l9AAnQrGGaP1gjHYtlio5AqFN/JP+qSUsoxA6M0//oHtFaMIlxy2LWKywVObAXrLT8zb8rgXhNWekFv5yJx9TA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmL3wWXuylf8ZOoiYcDjU9RsglxBpHF5RZN0EN5SLTMAIhALCBkAXcac1AwTQjADRUv+nvcWiccnvdqaqyynL725er"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.62810329_1527038051187_0.7641570460352582"},"_hasShrinkwrap":false},"0.6.2":{"name":"@crave/farmblocks-dropdown","version":"0.6.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.0","@crave/farmblocks-theme":"^1.5.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.2","dist":{"shasum":"ea4902e1c4c85e8ae313de2d25c8943b5c7009b0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.2.tgz","fileCount":15,"unpackedSize":22148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBMtECRA9TVsSAnZWagAAiC4P/R5Z07rvxZNzCHXlUTmq\nDnQYUEhI04ajkLKWB4LopqgdqI2a5QQhslkG0oIdGeguqCqdXcGpKt+K26xv\nDzlhDpihrrE3gXrwyNXa9Dq+nDYPddvhogsjBB6K39RxFttNwDQEqEAAPiUm\nAzhQJPBrB+wPHDcuEbmfxhQ2l9UmeTCTB9axGnNCBXapuqZNzo3bE94YKRra\nDFLGGUgczej/h3JDIOmrNA5pagsJfCc7i4G43lmOvG/Q3EK8Q5PyMbY3Rdly\ng/ZgITcCkTheuaZ7D91QQfMomafFVZSPX5IGimiayaS15hU7AE5j8u4q26zr\noFNejDCpUjRxEfjk8oWztwCMxzAfn6pViQ2RVDRfZ1ZM5qod5/Ghz7aRFDfO\neHW/5tADOuTzDUY4LTbQVjVkYzPiW+OzyP00If3TcjxP6ICg4kh68hYuE3U/\n+u4/aPLvv3bPOk7C7JxrbsbbzskXBIVTsNq1SomahJuobCZmo2+/ErVXMkYQ\n5E4G7Xgl6kxs0k2VCk5ud/tw0PP0mQob1X68iFGrveNAB+A4IpLcEjSH4Y1a\nTkdO+cATY16YP/K+00SdvrdIr6cgKKryEqQ2qq22GKZXmFn8whDtxhx6sGXa\n6qMEC/5nJnUPlV7q+L2FIx6pF9GD3WdNhHWbUWTc0gppgi18ZuLgv5E59KK2\nQAkx\r\n=HOwQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-l9QUZAEZIkb3RUJ7LZeW20wtIGSUa70625EwFPZu9RHz5F2T83CzwxyC0sV3TQ9Gs4XVbbk9AKXQhyb+axVITA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc7FQ2wjK4Zqr90nNeETPRMP/+y3enOJykIi8fL72rJgIgGlrerDzfAe9McE4ndBP7zRl1/ccBg+w7mbqd9F49B3A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.2_1527040836376_0.6592454411079236"},"_hasShrinkwrap":false},"0.7.0-alpha.66c6eee0":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.66c6eee0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.66c6eee0","@crave/farmblocks-theme":"^1.6.0-alpha.66c6eee0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.66c6eee0","dist":{"shasum":"7b5a04555fdac6d28a3754104792d2ec4de027ac","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.66c6eee0.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBwNlCRA9TVsSAnZWagAA6OIP/RMDpcxO91HdGyBDroIH\nNmsuNyrzF7UoCMc08LuzZwpODxdzlEP2Mj3/9RPwYiZxKG0NKMbIGzlJSWhJ\nI+9ZfSPt3/QLIfyycr/h8DezcqdKOuVNLjJfzsgB8Lo5Vp2wYUbCsVrRVst0\n9JbNtidarkZKl6pMOBqnme92RFaC6Rc5bVt0/Dvv6WSfovJ5EjQYU2+EvHPN\nTTgAAzWZ13dTo69S9BKcTPrtxJwhHaxYuUtLi5WOc+DCVXv/LI9vKHfCi6fx\nGLZd0fGE4NS5KhtzkZtN3vLA0y0B6PCtwtU9hucsXUZCMLursTA/jv3Ps1PK\n2cE0RgYu1jORRTGnw8XWkDj5URC2nabcArjk3M/1OEKVbLvbm4tODSdQV2mw\nM776/3GuAQZHNqdRj5AuaJRokUcUBEv2CDotdTpwJTjfYQ4VyjHOBnNBTiOK\npTuUmiFECg7WuA8uN7yUC7OT81pvv4cVYS0Jc2phj+nkkPYoG3o459vQoIaV\nfpHcGStUebwYq16PSvJjhJv3U63SiJfVte2L9oFMvnqVN02t5skT9ZG4mMHd\nY4GzyNOxmSf1oMLOKMhYQamEuf0cgVXQsrvnh8ba21DcbWiunl3F7CO65D5R\nI4dIZH/gzQg6w44sUAiSHZhCbKJ7XJ3vOf+vPlIPbnbG3UIXzl03tzZE30wl\nAVtE\r\n=5ShS\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-qN5FTX2GU+K01yX6gPuENikp4BRqwBdsCZ/HxYwV9mT9K6UfrSGVLyI1v+MDQH1hBCuA+En9PI/xB8IsWZpiGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9oeETnYy4W6QkDvx8YXTmru294DSh5yLl0MuqKreNTAiEAy4nlZIvpZjGKIi3XndWmqgEwG6Ynpc+ArrlPTvwVKgI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.66c6eee0_1527186277385_0.620823176723835"},"_hasShrinkwrap":false},"0.7.0-alpha.65bc7857":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.65bc7857","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.65bc7857","@crave/farmblocks-theme":"^1.6.0-alpha.65bc7857","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.65bc7857","dist":{"shasum":"7f55e6e2521a56b7157206ee331003a16a9e1e58","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.65bc7857.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDu5mCRA9TVsSAnZWagAAuzMP/3wMAWGpYkoeWAUdZRXl\nPNEPyyFml6vp/T/h4qBXXNG0pDtoGfUXhubSfcZiaO3FENBu3QtLZcl1Xx+W\ng2hK2+J8D93GpRcEihbkX7OizQOo+Jvj6Kjmb+vGi9IMpdEAu9fUCPYfYVi4\nXJmi67gVDzi4JaR9qCQnVNfT6l0uuiw+w7WJ2cZvtEW+Snu2AgcZ4xS1pwFo\n0iWbIUS0aBR8g/t+6qOySOV07lh7GSHTbMEJ734YDJ02yYnkodiNH4fDVe1P\nqu29ppZmH1zhSg8rvwk0GsZGiFxqNCHkl4zaN/C43mfd6NFov9XJYqkuGN0x\nfuu6mHnl0QNFu3Vfukyu4+YpWtI5MwExN2bsN9rPDdgr8lMdFRB4DrO+/iGc\nH7MS70aztiP/tu+Gb/U5fYHhtqC5PsQTyjrwU1R+j9dFWRNRoJfdG9N6azIl\nOE6WCmyeEGQuVYT4mKtLmhCkHLLoWZOsBD0+jph6XmfXS4XfAmVdct18KSrH\nF1TzKtkzzRMrtoHbMEGr1TNM+zoI56i8MR3Bzv15ebkhk2Plo8ARtkC+ic7e\nP9JwfHsjXIO+50JOD7uHJBsscYPp1K/Kn5tUJZy1y32XoEjV596ueM8vd4Y1\nIzFqY3gVywd13ZdYJ5E5CNP4XcjyUhOCWRAgB2g0hhfndDQukGIwjf2n4exz\ntmAP\r\n=kGGZ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-UvntEkJQ5N4x+EhEBkHDC0qnJl5HqGniR1eWrLBjC7JFZULFeoRxcoUw+PD40wMIWDBLK2zU2Hg4fKfbDwFGtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCC3sExwpOCGNVYGt+50XJO38zVY0KL9Jiy2+nuwOGVeQIhAM/9miQ3pSWqqSWJpPjaBsViWmDAHDfjh1jtcSnf2+LV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.65bc7857_1527705190479_0.1840207919894934"},"_hasShrinkwrap":false},"0.7.0-alpha.9c90969c":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.9c90969c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9c90969c","@crave/farmblocks-theme":"^1.6.0-alpha.9c90969c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.9c90969c","dist":{"shasum":"706d62a5071fe546b970518790e073d8b97e52e1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.9c90969c.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDxoACRA9TVsSAnZWagAAkbUQAIB1raV5n2vSNajFjNd8\neqL1SG6Nkjnv4AzoKDZnT95RhN5HxRnu4ykoxsDzFanjrmmzSciyyAvRpsWy\np92ajvlKeoNt5k0n7x9/1ATXl9YrCTb53d9uzvaWd+gloThocdbM0biYRMh4\nWeMC4eyMRAEYfutrTWgXF/sUE2qkTNUDLWOYLSEd9ZkAC7Gbs5HgLp4tXbW7\nIvBg48uEm3C49gYDbOzhOLOz+j76y+QJ69nEqMtIaBM2sAzkz5i7VGPYJGnL\nf9Xa/T8nyWt5cVrDqsccOY/S8c4mP+yWHZp/txBsRcV1hU3I7zuNEnOZgXHX\nfcXPs7SHoNpXzyz1r4LSRS/3yUcdpNe3XTHtjcOQa1iIUMnRsLegHeyFvXMQ\nim4avb3IFcr6VZVsW8KggyYTBclfebIBCi6fKRbBuAgyWCPLonFQ7bKyuNRu\nhFtqXa/4kWg/5rmXdpdwaiztq09bPmfICQ+xlACSTgeEhOUcdUVtUmgUP2bc\nPHVOFpVbVzJNrKVqHskTTtPtQ8Mr6eoekP+x/zz2S6SiNB1ktzMkFGoMfxek\ngVMUEhqVAuhD6FnIBA4/lMxxrgeiCX9v92DI74Lk64XRtwv6EzsO9jZ9xCMN\nqN3c59CY4Xp9Qdjhp5keIA/0gremh3Dfgkt0DpCqnvmVNtXhlhkBq9vmppbt\niwT/\r\n=5Guv\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-G3k4QagWFS3AcKmgSJI+fWODULlTiD1ioQXBBoJeODP3MeEym7MBPJTK+iFNQ9lHXiS9TZJRgKBXccJZR4SZxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxhkpZc8rz7CJt0W8roHnEAt+iDY6rg6jejDDgsaGz7AiEA1nR9A2dtVHCiphiawADZKHaUDLdMc1Sd5Y7HLF/t044="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.9c90969c_1527716352186_0.3564955349660195"},"_hasShrinkwrap":false},"0.7.0-alpha.f8bf622e":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.f8bf622e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f8bf622e","@crave/farmblocks-theme":"^1.6.0-alpha.f8bf622e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.f8bf622e","dist":{"shasum":"585f87b7788645378b87b3e13a4e3cf38c4a7317","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.f8bf622e.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDyT5CRA9TVsSAnZWagAAOtAP/RklTgqKSOzZx31eC8ij\nbKUH9pdXXUlXgCpKx/g7GqCS4rQSxc1gfY9nYg1hFB5Cd4wwQNf/Tu2Ssn3K\nmZ4C1VlpUv1Oc81I0jf3xovwKxU5JKSgZTuKz9ulXpXSG0N9Ka2M4srKj80r\n2Wrec3SWjCNAEu9GGP1NbpMNsiVYko+64f5Njzo2hIKbFxCDZfJgPXTIEKuZ\nETASDF9B3Fd3E5ijI6wgJo8h/0EydO8UffuPD7+qeyHpjjh0LrYt/9/AChQs\nPaqfDddT1wx4UBcEmLX5eb56AmyniqLsM9CpQOuTUXX+h/JEksvD1M9Uc6Hg\nagHB6WzJ1FPwh84Y7gmm1cDE0ris/GTcZsrjgmFg0CtrtjJnS4WL/dSJmymn\n0/yL3poZ2QsW/ATQOqeevzGhvvRDeUQ6cpN4/FLVB/XwJXCPkS1rCNalTbnu\n6qJsmIBeMFFVifuGUNoMtJn+KeHQc/fzE3redg5Nc8pMyQDYISDmtdgagG5S\noFrMUSg7cvkLOQJ+e/xy+bTzT8kEMYgKg7VKZQ+4utZH272BBJCrW5wCz3GF\nN89KPP5Ir2GStePS/BNAt9aLMbOVP2F4ySbe6OLg2EX0BDbA8uUxXmwP9kKT\nyXKSWNDmdlVTuzmWnmA9bv9J7ssmZ0uj/FgdbEwwQ9gLjATejHzeIDMOYH+7\nGeVg\r\n=E1si\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-+WZGWPl31m5sCiDq0kaYvVBQyWorVfVG8SZEhCEoOpLzZYI2l9O2YfLDWpT/08Ie2Ei8lLEV592OcGb6z9cTwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSWo4nqe/GyCYORa121TDza0sia4iQDD9NNS5ljmGCwgIhAO/6mDMenGRvaMruTPNagg+ShTY3H7JMVsAB8DuUutxN"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.f8bf622e_1527719161551_0.9646150077988203"},"_hasShrinkwrap":false},"0.7.0-alpha.e2efe846":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e2efe846","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e2efe846","@crave/farmblocks-theme":"^1.6.0-alpha.e2efe846","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e2efe846","dist":{"shasum":"0b3b69a32c2e108ab92a1263bf22a660c0dd9f4b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e2efe846.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDykKCRA9TVsSAnZWagAAjtMP/2HsiXpOl/Zi8CDcffUQ\nPAmgFVf5Z6Iec2C3+jrPJOvjvYbL6HctReHobPfxzQFGmYBraWNWIVdETzk8\njIdJO++I+3sicVfLEv3ZgcnHm+jeBBHXHfLJcTKJ3g9FO5D4hgUEEwxWDOv5\nnaei0hqXzWOQuy/1P+EiO96U/ixI+NTak3LK+uyw593tx6z/aXWmf0AEASWr\na63k8916t24MkNwopME3XDoHMPcwyiE00QjJzwDxJCueAPs2146rbb5pr1HH\n9P7mbpMrblDtSpvz1o6S3W1ffKmIkXgC+XJ89rcePXqaLmeohuQkD0piUI5a\nBwGGdJaWCz7RAMyQOgjzgi0qi4JwGUFa0cXfSSuPyZV6MqLpHW9327YMA33z\nV0uci3NWsp7YQvAvqJ/CvrSKF7WVQ67O1FPG3qS4RgSMtR6JuI96Z3/6KHSr\nihI3NrypOrMNa6Mqi80xTJlNKaOehk2QsAYKHbJI6G6M5aJr3DfrCozs0VLW\nDxj9LaAx92mNebyDyYma8jUfl87ke/S17TxCfgx5/18tukBMLRqfiYfE1P2u\nXacjxK6wQz/hfgr5tyeexeWg8a2rfQ1liBBuieMChddm9+fidJEzcnnyYedc\nfBhFsb2ycfuIpBmJ3qO08n7DymqD3j2w5Dl7b44DmkuZSF+MJ2AEdF6QiM4b\nN49i\r\n=vcJJ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-peK6zqaFYWsUJq+Tck1zuteJv0jom8I4moCMTgLoc8DkMM9yleseYHj6kYTPjgCb2CltJUE8Upm0L9e79wgKEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD63Ri04XQ1k18IOQf0u6xVrQeYG1J71ma1lGHzR+6URwIhAJhS0/UkuiJiMT0UUiFX+GWoj8vCAW+gxwLr2hiAWjc9"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e2efe846_1527720202600_0.2994674892341218"},"_hasShrinkwrap":false},"0.7.0-alpha.4f0abefc":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.4f0abefc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.4f0abefc","@crave/farmblocks-theme":"^1.6.0-alpha.4f0abefc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.4f0abefc","dist":{"shasum":"a18b935f9a40f94b727b9f6e952109d096fa8636","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.4f0abefc.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDyutCRA9TVsSAnZWagAAjKcP/0zS3e5SFoA58c8XwQS8\nG3tbciJPcIi8RW+aIUvR9K+QK43Ve0Ny2vmsP3ElTy91755cdYDZ/fIvmpYO\nGSqf11+YZYVQXz2he/vo6ADOObvrTfUD/TISM2VmGQjZkzqfhzwqJ2ZRCoQV\ndQospBOPS3KIB2XmXzykumn6YwC1H8pc8xvYWYB8+39D2VMrlCApwVkCjDse\n5ugsz83pfhiw8v0jicXqCPHpH3ELjzLXlrRvCMhCS+7tHnh2hYAWrqrPNSFZ\nVJeITJIRS3emcx8VlmhKpCgf/Kwa5ft7iaMzWmMJNMOrHnjOb8mWyi24swfd\ni5YleapYz6sffEmYslApbL1OEqEgpjEMZYlql7Myqp8yLpMGZiDvSuE9/5fQ\nLz704HQuhkDH9xZNHJeeFW/r8u2fE08sqsi+lweeFw695r7KdS8QHSJRaEyZ\nsACGl3bq6ESUlvR86av37vDkeVHetmZZVqJCelz2pHziOZ6VWpgh8fVLWadz\nYAF5g8A0ecR7nTHM/lnAAyQ75hSb31DyscL1oYuobvR/A6/zhZbDb0ecWoJS\nUIwPwNdafo4Gs00u9i1uD9YZU3zQhJhP/K3VSs4xHyT/UNnR1nC6dwH3hV7J\nofHxD9L2fo6Td+HWxmMJ7P9mAnSCIotevB7b35DjqCCF4NI24cQ8kbBrNfox\nBGIF\r\n=d3Nt\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-EJujvyjVmvEAc/4bGJWaZGHNQSQMInQpYaL2W6gohHJttyw6B6n3+Pxg0FlBgYovRt9Ro3GhyiUbIBYOVOkfew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDN4/lSLFPxbGBeKWtGbaxo3fGP1ibq6OyExFEgJOzxLAiEAgfQUcb1qBdVW2cWIRmdMGpzRizu8gh2h57XXHW+spJo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.4f0abefc_1527720877369_0.8793297972807024"},"_hasShrinkwrap":false},"0.7.0-alpha.075a0b90":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.075a0b90","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.075a0b90","@crave/farmblocks-theme":"^1.6.0-alpha.075a0b90","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.075a0b90","dist":{"shasum":"ccc24f57d94aebc6cf841cd6b1379d949842fc8d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.075a0b90.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDyzSCRA9TVsSAnZWagAAEDYQAIqgGyUpsBme4fS73V0T\nmTRrMpXG+kSOb6mNlHk0mc03QVq7bLAHTGMBDi6v09P7aGqxaeeos9O0WPDi\nnsZSD3jH8p6WMm+AiqRMD7IRKpzZXh2Oa7+HQ3LmZcqtiBM7hLCBEGV9qjHB\nxBt64Ah1OT++zrTEKIxUpXc0TJe5tyjvayoNf1mVX/aNPvJGlAwLuw/ozWEw\nfBuXpWyDPNjnvgXnPMtxHmc1XzR4NyZnGEiv6ldEVHqCVrYhfKIBfX8WQGnH\nmXESKJ6a4xK4nYMg7waAjFvDNCIRR/zsDVUDeIoYAkxTRikuYGWAaM2Mdhj9\nfmhpawqQjPtnr63snCprgOw04we4bWy+l+kTSwanAPCn2coLBo3/bV+m4+QF\nncJk83e4jWFGuGo9LIQ2nRjyqRt69wcjFyU+Lg9U6eo9M+Yv6NuQWNf3Tqz0\n/Yg+iESTEo4oT0Luu47RJSf51zTtJv/yykhMTxcVI7fXHTeoRMWzhcKd5mnb\nPdyzybC/AcnKTtSW8q7GtM5HCCP/yGLyfpzITF6YcAs077bRhErcmx8I15dH\n2XXoFj3D3vizrxLb0TDmPlGPDfW3J2Lv5vKZsleGb5XWmTiiizLaA9E9HsKF\n+wi2ZszN9oGZrSW9rce6m/FKuipnjrbZcrTMgpKifETl24xpa2rCw/f1XBXi\ngOof\r\n=sOvr\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-8hOR280GY6mAjudJjZpn6wtqxG62RRgxS372ui7vO/ehTf0A2Ky4QHWQn5N7AwCv8tSiFvuOY0sQVWyPn9Cwpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkPc79zDEqK7jWg4b6EtSbk0pCk9o5Ok2Hszh+pma/lwIhAPehBhfngaUKJhKdUGHV9v5Ym7jgwMnqWLcEz5J9HN6U"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.075a0b90_1527721169757_0.9433099797987996"},"_hasShrinkwrap":false},"0.7.0-alpha.175558f5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.175558f5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.175558f5","@crave/farmblocks-theme":"^1.6.0-alpha.175558f5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.175558f5","dist":{"shasum":"7dd7a559b94f7bc3f01ba99be9ada35528d6c898","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.175558f5.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbD/cFCRA9TVsSAnZWagAAPVoP/islFGB18JRZTtIsvd39\nqjNYtUoIqbpUfwz0dzN5opd2lRaswHa3H27f8UYRRUmXxzWaRtNjLLHtdg49\nkyDftkmAQdd0+FFCynqBi2OHDlQKmXj4uPurRYK4liBaN8Lq6FJscjyqZTjw\nKuUUbZZ5EZ7Zr5AkULxaEXlVwa2CoPfR2L+RlFGrwnV4WA//h9pnS0kGk639\nQXpWk+6JflLojI2DOVbDx5VWTzatThCQVVLodtcjupubpzx9bBLsn9Lvje/Z\n8yddcV/VNRNGUuQh09G37pdui5ReQ0QAl+uUTTOynBu9pa3vScwQkezR3eP3\nStwKx6VC2DcyoDRZqgimtnZ3ONb5W93R/ppBaBVEIq+5yggQxph/E3XFs35m\n9EInvMGPUYc3xomtTzzGHfbIieFva/eK6AI5cC8/l5LoTqXvJydSmoHbr7k0\njdq0xRc610NbfMQPca1+jb7MAEnHw1WSuMB9gXPQ3vNU2kJM1qYstS1wK625\nyDxmu/lU+MaavN7zYveMItKbX+k9pPzS4sueZEi/91d3lTUmmGcMdM+TYYGJ\nsuwkglT5SHZCE9K+xO2JZq6XWJ0src0+TeXYXRRqRTNV+J2bphZFx+sjw9Rz\n0FhD/wvs2eckuNWOzlEuK3WzapBQzDOoy45w9/ibcfh5eT3v24o7Qh/Nlrst\n2jtk\r\n=fNZ7\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-xqleGjW0mic53p91YCntO0u3zDOGSAfkXbw4f8F1q5GEhDyJX9qPJwvs6RdkCxDcESmb7kEzWbebwZC+IuBbxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb9jktNGQ1LQod4CLkXLwsQEvwLe35nQ1Jd4VGGRQx1QIhAKTDhVezFDmW0dZUED6ZdeXnFmTu7rWyaWl9Fzq3SKyP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.175558f5_1527772933626_0.7253616857580638"},"_hasShrinkwrap":false},"0.7.0-alpha.f00009ac":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.f00009ac","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f00009ac","@crave/farmblocks-theme":"^1.6.0-alpha.f00009ac","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.f00009ac","dist":{"shasum":"7a5539324fe7a9165373897cfcb58e856418ad74","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.f00009ac.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEEk2CRA9TVsSAnZWagAAnO4P/2VVr4QWn466aGf0xkXC\nBDtEsKzHVwrPMDnRNcvEhozPCaIWDj3418X53YYPzQtmf/Mm3Xm9kxS797RY\nz2Tfp9H8eYgXx8/vEznDQiaEqSkUwYlW0cm5X5EI2F37kHoLmVwgchqoIRSP\nTjA9zmr7wd8HBCv58WNEFf6olSDYg/BfLnwka3S6yfhKwI8pqS89t/IoXJiM\nVf5qnBEkKWZSThQHnJEnAUT+ntNnRFsbVM9w1OKaBcRHnwUbS2qWG2bz6+cb\nhk1vOIruqH/qVCHfxeqj3eN8W7W+12MEvDm89RTdPhwV7y7QuBb9nMFLqecN\nJE3gVgY4pRHmqzNbc8fYIMhGx7C4Xulfc3mDUm0rJzu2PM/23Q5IAMt05IQ4\nVu3VXvw1dJfA6NKvnjZafv9jXtZ1/6NpVGfAmhEvWYt+OEHkPZcs6n12FG4N\nb7UIX0Lh0ikvFZO6LCV+YvQGmj2M9uN5yXmRe00Cfk+4cDjpX4ZRLpSmH9n7\njN2nDfGgAh1RQs5yH0qRxDhjBSMFqp9kqSSiMPb4iBFajqKeLzLDWFilDK6p\nLFu2xvqRvIfjmBbFn9NxaxZi1Otjj3xvmwNqJgEZTjCDCpGSHZv2y+A7TXHE\n/ZNhuceJiPQ+NtyMHxt1uvBJimQX8L0ODA08xrzd1aiW9Vdg3zY765hg+O72\nOK4F\r\n=joMT\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-afcrsFKcVVP37QtaJ0jmK0zwM2+geknGMmIlXr8/lvDshD7zoSGee5l/AIszoI643HFOK3AV2qrfaw39c12NoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2qwYdqZwkQqeyxY8fY4+uobYp2bbMYLUlfMHfXJQo6AIhANxVQvT5KRqVvJj2FGroXxI4zZ/8QmWv3WAdohurDrDl"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.f00009ac_1527793972694_0.703790968383851"},"_hasShrinkwrap":false},"0.7.0-alpha.352eb4bc":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.352eb4bc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.352eb4bc","@crave/farmblocks-theme":"^1.6.0-alpha.352eb4bc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.352eb4bc","dist":{"shasum":"217d1163783b10ed8f8b7f51a8c4c37e8710a657","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.352eb4bc.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEHkeCRA9TVsSAnZWagAAutgP/1JWJq9vD7U821fL8qwY\nWUrMGk6IRFSAmB+ZUlk9j/O7kB+cs2Vgvgz7O5r09tgGWrOQeLcVl6afeeOG\nkGlOExnIVzbSFoEaDjPmj43XRuSZvCAiKt8CdMORdhis6UxwN6+pvqmO/0CQ\n5aytwdZqqxiwq2z/DgErG4+K7Q2Grz3Hfx0431MBNerG2h6/tG4yaoQEFqlW\nZE7vKy1+lO2o40/e9X5noq5xH/C+DTzGeme+pY0H/ftp3ycP/OkUAebOdMn4\n5OlJDJWILYArwP4T5tI0lfu0A2PqDk8KlRSk+J4BQtVTLbqRoExSr+wkKNDG\nprueTRJqX6PZW98+08f1+aKPDBJNnXyVQgHeAW4fRJonXdf1o+85UjR1ma29\nch53SDVwU9UjnYaIoEBN2hoQFZVKiO5D8NUbX2e4JS4RCK1LH6qxMuOiy6uT\nA+WMEm4Ka0Nnqg91OA6vunwKi0WCwEwppjVCvMrbIf6zUxI8WibAGz8mdHoZ\nS5iydO+CbKZgV2pFmQJxsdyjM8JKpNKB8ZzrUlFHQ659AEHvqN7iQFE94E4H\nnag4/CPy5oXbDuwm0Yz+jyZGHjFqoeUwMZAn+vYS1TZl192hLUl7MoE8osFb\na/CHgyoa3R6MzWuTbejdcvqkBrPs4DmxN1po/N6jcRTPLryUJPnCgiToV+0s\nYBS6\r\n=8o6m\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-aEYn2kkBPT84xulLFzR1SQkAdAAAnlizHGq5IeTx/BFYcU0yZ8d1i7LHMmg5M8DayIbFTgMsO2uT/IQLx4RqNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6hDAJ0qITWOXW87mg3/FZ9Zr0qymHL41sH3SDtngf9AIgW6Oe6EdCLlEIYdUkHihA3niRpqd+NsA/l1ZkhqxbfYw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.352eb4bc_1527806238171_0.5118483345028375"},"_hasShrinkwrap":false},"0.7.0-alpha.8411929c":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.8411929c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.8411929c","@crave/farmblocks-theme":"^1.6.0-alpha.8411929c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.8411929c","dist":{"shasum":"3986e5f3fad8561680464667c6ae63de859cd582","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.8411929c.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbET59CRA9TVsSAnZWagAAAUMP/2FFMjiVWEGoaA+rrkkd\nqdalyVhV7uqFExw/vKHlsXSvemqfiorVoOkqRQhzFHgEB5/jSxYSZ9zDPDG+\nvAdVdqQ+cMZXw2jdQK8KbQP/2G2bx1abNgp0aKTkzzwtegMtU2G1gA1WyvXC\n93ekkfDCyZuqcieGrfrgasfHrMbiqs9Yh5AyCUI6X/24kIlpO706OeDeMYnh\nuZmHH2lX+QNzJz45Vr2f6hVbp/CJBXIslfRKaozcMLXWvgrTPz5AsP/HYkFH\nxEc5+Pl8AZ45iyyJBI2YMX6Sv59oljo6xGdPcbaG5SvOR/h7tQCSTiegoKZ5\nyw0gqdjTGaTGVCfliFbE5HkLAjyJOtI/ajL+yBlFFGZwWidf2kpE6A3pd54d\nkxpi5Jpx1w0BMTxBx/GJKtY3LCSd4oZpktEoP2v98Sw76cN9nB85I/zHAXHu\nSDqwc1vuSdOut2/88Fez4XxKdelLjMLEAFWZk3DyLlT/VNnchnSbQZWZTp3H\nSJRmn7MddVtmvsQDdUSIU3D/kNwOEKIK5jbyKYsbBhgFlAa3nhSVKrm0w5/I\niNb96AP4PmkZJo9jNFP+Rvcwup/sAQXHbCBBzCUKGlH6VR49jn0+vB4YzFN9\nbDxKjurhAFFc9CBlxL3AJnwyOqKIzsbUAhFZ3b4RF4qzWq5bJ6LM/wUqOsaF\n+m4R\r\n=BeH8\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-wt0JnvKF7iIkA530+xuI+L/rpcdZX+lDKyLcszOoGrgfsJa7wrgHOYD1M1iyfl9bynsGbRmdhgJrAcQSnAT7uA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4Ih8Grs5IdDnvMhurHBTW+FXqagDU+BvhhtF2BEWhGgIgNZAq6APNQjDFS1otnVZ2PXEK3hFPgujowPcESkp5LdY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.8411929c_1527856765621_0.7971153877486856"},"_hasShrinkwrap":false},"0.7.0-alpha.e2e9b18f":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e2e9b18f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e2e9b18f","@crave/farmblocks-theme":"^1.6.0-alpha.e2e9b18f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e2e9b18f","dist":{"shasum":"bfde1ac75551f3d9f59d6cf002a8f256089ad33e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e2e9b18f.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEUjQCRA9TVsSAnZWagAAHUQP/3/uciFCbjdUaiGDCAc2\nse0vJDWH4w/oQE5dX9SrSB1Yq7xnB8/GSguPtqBdVl9/Y8HrkI+aDMBs59EO\n3kUWZLWyuFKxTUrpOzpBlhVaD+QfGixCR45PjqgXVufGu06PjZsdubt3AQ8v\nr1247RAXl6ESCRrdEoy3y8eBTax/d12roESytBrAelFP/+puCBTk1pq9SwNX\nYv0oU3x89+uVfyggcFrfn7Rydty8xUu3SpI2877JRlgk1sCSFkROOEKB7Zkc\n9u8mF+8ZlKeCjgUTiM5gyiHvknBqrhXPsA7urOCRZ4TD91b++uxHxqgio+Vf\nfd8YdrL/gqt70INcUOqjoK0DJfAv63z/cUVsiOiz25ZKLPPi9cqMSiE4N/xE\n/AFm7X/3s427cuQzHomDegCHJPUyIv6ibYDGZzcnjcBlhWGqLAQe23+VIBfI\nGBu0b8nwr9rH5HV/AiRkMOuZU8vck7WILiS/9j0Va7hR8ntLg1PlOwXLk1zP\nLxOWWv97+Kh71YdT3OxGdO2VZk6wi//G/KHzprB9/VX8Pr6zz9uxlfGcjhM5\nvHPcuDyynzj62aINySgORBGeiBpkdUPi4kF9+kStAqUlx/cI/r1UnxtCU68q\n+YvxnKm3Nwwksb7jP2llft87aSnKbK67IPuge0RpD3Hky0Y13n7CwQaYFEBU\nm3jx\r\n=G6Gd\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-pmtbKkWI4SkRvJ244CtIRLp7qtUvJSVhG6KHkuCfLUtwM6mJ1MrEI527uB+Jljh+hIF/fBE/km/GIXHriL9oiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRjoowS0epnozD0jut1NcQCjVXbfNdmEqCDD0y2ffqYAiBWktidVeAEOVLtiJhJMM4bt0F9ff3V91/YXcV4Wje0yw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e2e9b18f_1527859407938_0.5690786068079559"},"_hasShrinkwrap":false},"0.7.0-alpha.5c70846a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.5c70846a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.5c70846a","@crave/farmblocks-theme":"^1.6.0-alpha.5c70846a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.5c70846a","dist":{"shasum":"43b77b4df6f92ccef08642254f283597737f195d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.5c70846a.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWBKCRA9TVsSAnZWagAAaEcP/2NZdoMMghVAe27JIi9V\nbeuIg1Ngb05hTG1u7JHEVI5nfF2fDjalr4M5aw046Lvbvg7FqjnNQswqJcpj\nrkTKMBV0Cpl2YI5sq70oDn84PVuPqkN4NSk/LSt4dd/LHEynUC0bDjHoSCrN\n7QUQLn61eTqDoVq3nKUFemnppBMFiDjMg0BgjrVPz3yd1MHUwpWmLk4RorEh\nJiIwZvN7y9NpkUvtHKjOu14dz8j1EQTk4W5xtQ9qgoOCwxdS+y0N0ldJtpy7\njgOkfmwuBMzK1lkdsENBpUpHj2rcLqrgbWx1VOON2jm2WTXZ+UgjAQtXwTf4\nx0O3qPF7WFW33Jnsah0o5ApJcO+/j9eW875mIzqtNyz2C068MwLbYyTnqfh1\nDtwcN2gd+UhMHdqyHv5s1G1vEByfYEVbnpcg2y2+raWYr+ZE9uVC5Z6b3ntm\nil4jcy/AwAk3iVUfiBhcAfF1cuzRc4qT11SYGBwW+6TdiRL2Tk9xMGn2Xnsw\nNhVPx0U+Z2xRzWKtTinGBwVqpUOtHlnznPlS/L1CwTJPsMJVDQ+JpanlS81c\nVNQtO/cfEkUloQx0J/nEvtlO9F/m7DOowYlrypSkw6NRpVJIMoZCy8n7htHz\n4Th3fVmObvvJT86PYg96YVzc9rOJg5RHPlCLAoApw204CkKG0M/WkaQu0AcT\n7UiB\r\n=9308\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-58cfrXLwUQ3YjMWnEgdDd1JSX1lvLlI8RyukpqV7bHe/BEw4VE1Rm/HTYyVQw3J08fU4x3RmNUkf+AYHvDfDHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErzCuyvZCFVJStnI4QSkjM15TzpUqTboq/k0IVqOTt5AiEA61fOnEJk0M17ypb2jWltz/KH12gXuG2GawOkGYKMymM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.5c70846a_1527865418051_0.556784864439021"},"_hasShrinkwrap":false},"0.7.0-alpha.acc047c6":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.acc047c6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.acc047c6","@crave/farmblocks-theme":"^1.6.0-alpha.acc047c6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.acc047c6","dist":{"shasum":"48d90c62740c239ad8d998da7f094a6c168da399","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.acc047c6.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFTXYCRA9TVsSAnZWagAAU0sP/16HSu3HLPmZqK0HQYhQ\nb3uvFNwV2fTZNtI0YZQLNLhgVOmBdpa2ZWiAc02D4Vjmy4YT/WmzNcmMS/gy\ndI7WpAQzCx4aSLuLjoacbNnYR9dVwLb6lkc4rqlLPA2Ky/38paxTM+VEmCNX\nRha7EyZ24I+Wo2SVW0WI/TDjOp776W0cWQqXmAVT4rzbxhPVlJmnX5GcE+fU\nsCmUfrgnVrG6mhgFMdomfC2zpEfHPiDTB3+NwQbVXMKr5BITSHsZ4wCntEzW\n/cZifYAiZUNOuk6yUe1lv+0DwTSWAvKYxGgoVts/BEv+25+cT9wESCWzQ/Gr\nj3JyOhnDgH2upNdypQ/v0FahPVk8pAPTjlxq2VrY66GWfP9vi+MJ2Q4K55ld\nnl1NhxVtJNw1lJu5A2tNMLJRjw/CbAU9duC1sTEpED6hXnbA026M5+DNhDZj\nvKwzpNOZXz9gzrAAMQTG+tYQ5GyJb1xxOOmMGBcCk2ykHz0NzuaUFKd8xBFx\nIFGLqMmbFhIneyxDJiOYIbGv8UP1VeO90asJ69QtGynquyXXYj2b0v9zm2qS\ni7uTFTR/UaW4LnQ8WpzMpknOhIy+NwPwT+f2xj1hgCrcN7u6EUUDdYY8kpoC\nWMFHp8Q1cvyNP0X5vx/3mJr5D64Wyg6XxIhirWdk6vQOj9taS0SR3ogWlb4Z\nMM6j\r\n=RHUQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-NHqT6MbKmk+4ADOds71jKX8f/AaGgM3+gxau/82UQZVxJENsrrios7OWZ3VKJ3JW+bzMY3Py5yPk9BchRwCADg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCH1MVBpiEDYgDIQ/9lhDBen40mL3E38zYa6qSVZ+x21AIgPE3yXQ/OWxu8zE3MOg887HCfi2tG3u/jj7T5/3Zytr8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.acc047c6_1528116696273_0.9307406822788931"},"_hasShrinkwrap":false},"0.7.0-alpha.7831b2c5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.7831b2c5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7831b2c5","@crave/farmblocks-theme":"^1.6.0-alpha.7831b2c5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.7831b2c5","dist":{"shasum":"ceef9461093965e41ad0fb8b77e397a28ea0b2aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.7831b2c5.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWNdCRA9TVsSAnZWagAApKEP/3JOf6F1Cfw4jPRL+PjC\nV28+XrqL9uVws7FWrQcmW3QsCxyw2H5kCVFClyghbzsh1wHlQv8boXSJISCd\nYkBHY/uuHt4g8SJnASk/tz9+y8Pqq3HUGuhwzHJEZ73Qq9Y8AUJcLYEEzUPS\nad6M8w7m1UNOav15vzl5rCa4uzm/xv3UqscXz3Wm8a3euhi19gLQfEs+T4sa\nwl4CVJH6CcT4prw+FE8/6r2vKh1VGTvxTlSDGp6s/B4MPLSbNuXxqJTPz/JE\nzAW2jXJhOgnLmXLtIpEuWQMiosmngnHq/PHS1XuHoeqIqdn7dosbv20DCz1s\n/EzeZIROaj+vl7hGDVHpUwva1VVFO1qdHKIZNdVIHesPDIXzKffdkzRW2bQL\n+bzwhH22FBIFgpug6SEJGOG5wJu6bQAVh/ZTd3f/q41PKkOEXt73Npugacfq\nPs75/Uajx2N+Y2ePXMYLu6zqJfkp8mQLYqTPe60vZFFS2O81TlPo+GeFjx3o\n9ZabzjQJlj2WlaTnlR/Jhldie/3vzoX/vS5XcSXvF5e0yaOjfgFvkH2vp/DS\nGxTJiQvsPcxAeb0jArzN7Sh3qN2NA7aEljG9HL+brqX19L9McQ1qxvc/wqS/\nsRCJkosPmzrNtMg8uSonLjiZh8aZ/1qZppEHGWCn73t6sZt+xBnrkixAip/Y\nA/CL\r\n=mBjW\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-o6JGkb071/iUvqg56oUKLGhwZqqPzv4mjG7HvVHxt0d7cToy71PpMcbwIAVRh6IpDnNN8rPz1C9TPF/n0nhlcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8HZAZVJLK3xc0nv6LrC0qFLER3F7AJj5AhBjPeiBrSAiEAlRdFJh5Te1wTZLfFScaCHM8CqMr7EkUD/M18TSW+2NM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.7831b2c5_1528128349293_0.0067704766444964815"},"_hasShrinkwrap":false},"0.7.0-alpha.7201583d":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.7201583d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7201583d","@crave/farmblocks-theme":"^1.6.0-alpha.7201583d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.7201583d","dist":{"shasum":"afe419b497c42e5be7f61522f76f9c25b40f48a8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.7201583d.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWuyCRA9TVsSAnZWagAA65QP/AyW9zkxgvgN06XgISc9\ngz1A0Hx5VG3m8xjqjirjwWU/81j5Fqb2ljvG2cqf1JKZ/lPXdsa2X6LZwHhW\n5XvqjfUSG8AY+oQlfVI2ZdUYDUxSbHh56ixnO2LzRtzZFJTHF2PytYg2A0Xd\n1cYwopmi01zHgj2Pt49aPpW5zubG8isZtngTtLdNZJTsKy3Q4RhpVQSUq2FD\nZ518/hew26MkiGi/FqtVkZqJKM6fMFlxE71GyMLCeyiY6DL/OYuNLC5FN70z\n4S+cWpl09oPRTQs/0jIOCi1gJYH4mAvl0scvzX87fSkRExE+L2RePYA8HgsC\nrvSBKNOIvIT0qJILYKX8R9ZcDjJynzUkzI9gayCjG7bC/4GOeZsMhwGPbr+4\n8bvxjXsGT5nS3TxEnCHPm5iRPAbQ0IknAm4H5IeqP6GxaHf9+ApOPkEH5ZTA\nRZ4CerGMKwC4qtrsr8axqvzZhkjxPI31ZDsvCDkmlv7xjXF47f6OD8NCKeTP\ntmqAUMNRX+DtVQA2SlyVt5JVvOt3xDGJf6vaq0B8T6WTaGi1j7Uw8PsZeCXH\nnXMTW8SMKWLIg5oIGu70MasFDY5ZZSjWiEZiG0S92FExAlylpjbIoA3d8jCA\nJd+33PPoon+y79M3GoEAhEmtL7N22eZ7O1nTEmhCqOfYWqPhS4rkd5uI6h1U\n9/Wv\r\n=RFvX\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-c0EiSogLLn2BGGqbJfzCHWJjlyU3eT69giBJuujko4LvnNFKdzoA6JSkfmBZF6/MQZKGk+R68An2JeI+rjjYIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuLIzFodxRvNZzIcTd5PgTeMnLrd4eeURlteoAodKKqAiEA6wrPGzkfJsQCX2hb2iyLLRX6sJdxpza8Hal685e8tKY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.7201583d_1528130481931_0.8052370586112059"},"_hasShrinkwrap":false},"0.7.0-alpha.8b612f58":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.8b612f58","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.8b612f58","@crave/farmblocks-theme":"^1.6.0-alpha.8b612f58","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.8b612f58","dist":{"shasum":"ace1cd426be97f5825f9030c652e03dd0f8fcc17","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.8b612f58.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFatLCRA9TVsSAnZWagAA2tYP/3QGfqZhzG5NLAeEfXrx\nCZhPPOgc+TN956O+P8KNRijtlPdRfSd9O+XKqMj2fBUBsCqnICnd+Jc08Uzd\nU+rd4rI04+W+hlzCVGcavxgWtlm537LGnfp+VOEysF4Gu0HyrpvA9TPehOq5\njpUa/R1CjbMvvoG9tF3qKWLcddeBYaXAHna6s2tDP1FS7+HMDCYI2Zhq8Kqo\nKQPCYtQKNdz1zGh3kfwFK/DCjZ2W5K9T54G8sJrdMPoxi2okffnvIT12BfEQ\ny2ROjiWtair6EbGicqjveIFQqSyeyA7CZLhdtpkDV6Lik5Ny1o9LnhX2f5t1\nsorTyDbuS6bxfIoKzc2yaMRQeGzNJFlD9E958IMQplfEPKRWmHVDB8/zHYkc\n4GM37FeAcGWZF4bubF3aeYGZLp433gc5uU5byt/fExoGoOdj52vqbAx8wqRE\nGAMi0m+GhN/+GbhvLhEiWchL8nlJNUcEWhL57W39A9WeCOeazQ3FLDIPWpg1\nmJdMeM+kvnX78MgklehYX6BN/K8HnYLiNyXQURF9lFx9rI0ocFReq+82D0l7\ndFSp77u9env3E/Bkptxja5JB0/w8IcxTWT/+k7fGCHxH5O7LkeIteHLiN49s\ntk27gEMnnY6CWvaUt7SusRLjAIuKgks+FsWDTXcm11W8yB7EvoIgJSFg039U\nxQX3\r\n=O1dl\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-KRFWNs7F3mb4/ztRXtYV/UZQUAI3CMDV1G/znhH8GrmWGoEkoELhzP5Vnw7s9UOx4ZVIErOVCYBGcx3DKMIEEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkhvXYZ70D3RQ6d5znsk3zc2ypECKgBB1r4bhOBhWSogIhAOcMjbFyg4xyuNwI3RQYQFhEhkxZXlkvKAQHQnf71ppa"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.8b612f58_1528146763116_0.967009515682828"},"_hasShrinkwrap":false},"0.7.0-alpha.ad2b319f":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ad2b319f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ad2b319f","@crave/farmblocks-theme":"^1.6.0-alpha.ad2b319f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ad2b319f","dist":{"shasum":"d19bb5590d2d338b5b471f0a9be7e9c2424d2269","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ad2b319f.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFa+WCRA9TVsSAnZWagAAPCgP/2K5DnPdm6EvYFSu8eSZ\nbGdxIiT0ox9Qk4gv0bU6m98cfCD9twsEAn1G2M+q3ht7O0clvn1ZR55Qquii\ndIPtb5BL6/7YHpltW5OiqmS1G/TMR8pH/8fXhwH5qye6iwl9hDcqbpl69PsL\n4Kf0K4FTos8l6sdWCTsUjeC7ZFSyDQv6Tkw/DJNRfGrJV5flXgfQjIg6dLpF\nGkzu+aLa2epN84oucYxZARYOdK9ZX94gPq26seNDxvyxlmxgNQo6CrfbTA9U\nU3A2cpksNs8CyyyKzESIQJVsgMY20gt3hqOJIp+k0WGlMKtpq1kWL3yKKyOy\nQjzxtIIaqAaRYY2hzh3d8hd+OAcG2ygDOJTxEMcgg75QZ/0kMk4tFnE6vyKB\nAQtVrhbrrELT99p96sMjXpxMuRympSyLSnvEvP83EstKdlZFjicbnqBmXf9x\n6TbfNJUFgzFD3TdDwmq8NCM4mASd7LpVjphnC1ExbpuGOrmKsGp84O+cRIDQ\nlAMv8EjcxhkHCFASanmqB8Te/x/Q9ph7+o1R6PwglIHlKqyczqhosDskJhJ4\n4D1zs9wFX54W+Se0Iu6RaJDQQnoF6C7h1Ilu6FI4Bg8MfQUmBMHNPvRWjl3I\n7pYqvqKyGasYJOhMyZ0nfwEDx+q6MYrNBmO2nX+V/N1gNVgN6LxgL3OwBhL7\nq+Lu\r\n=OMTi\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-BTZqckqfj0BBopk92xJdlQzV71Of3m7fiAWjKr3PNivE5yEShpUS3pRYkOk2l0oZj3n8vqt/oyyree90phX+qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAS9YlY5070d6uFocPvLzgQ1QPzFcCeCI4l/mL97C6JJAiEA/j4kWXEGKLsoSBCt2SAAJpq0g3FpCnhMrVUuA3obxTQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ad2b319f_1528147862528_0.1923429592417074"},"_hasShrinkwrap":false},"0.7.0-alpha.0d62d4d0":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.0d62d4d0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0d62d4d0","@crave/farmblocks-theme":"^1.6.0-alpha.0d62d4d0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.0d62d4d0","dist":{"shasum":"b6dee643053029b82cc147d379532117b297c792","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.0d62d4d0.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFzWLCRA9TVsSAnZWagAAlg0P/3sXaQrgp/6+ucm15lWf\nQ6JmqOsBSXXRGGmF5wHFAohSu8IsWG6Ma/CnJ4ibJm9dkGsBqf99+YPJWPmM\nKxQkjsG+WD3JixuDXaA5K7fS/NXBapWbhtZLAdsgCN6ITy/km6eyor85oIUg\n9zUbjKJfTItWzAvreJGaPsF4om0NqTOs4U3rzp5GfzpWBPE/yJycw3SujqkI\n884FO/iQROYdDF8YOM+I0JrzS9fm2o+hlCExder0hRwn6c9PlAtwFQYADHW6\nxejIaeOYgdve19PPQI5E/M9vSUd65VRN6BaZPryH/63bCXixMXkeFLG3C8dp\nTVxqHbQMFwEeKXasyUJQAivHRoXUojiQIB/URRbHLf9n8TbcNKhEybxbmN6E\nT1tHGfq4pRkLF9R3pH1PPKo9A7hwYIF3tovGBURnzutzkLWtNwVtYCVR3DNf\nsBtePwznJ9xnDuYrJEtbPzfcnMKpjjkF0DKXTMfGQ8em57Xfk9nkukBx5WoI\nQGI84PI04Fdu6k3RxqBBXDbY4rGUHD3ai+Z+Vz78tC3GHf/hyFso/wSzI+xi\nu8GV6HKFD6RRCBa3Z+kJS45H+RGBGTmdl9fCLFKPtreEY9CK0P/JjXFnqEJH\nfP/NVEQgAewqkneZkKxp3R+ZUB+4TSGR6alfBETXPAfv/MtQJgl91DCIH/bM\nlWdE\r\n=H1bj\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-6Xzy6wYjkZ5VZrO/9PauVdX/QKo36b7ZOGJNcN5ZJKSrc1v1mvaThfVoIHKBPwwokMzoK3y8/PlEzRrwgx4kuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeZ/5oJtB/AjhM7z5hPglPyO9oeMg8KXhB4ha0aD/l5QIgLEX7g0AGiu32r1PaVv3VFZ9AMCOKnXepKdontsW3hiI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.0d62d4d0_1528247691366_0.1690652202747549"},"_hasShrinkwrap":false},"0.7.0-alpha.8675d26f":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.8675d26f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.8675d26f","@crave/farmblocks-theme":"^1.6.0-alpha.8675d26f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.8675d26f","dist":{"shasum":"0fce9d4968fc20c127de49f23ed1b7e8b95ffa86","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.8675d26f.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF9tUCRA9TVsSAnZWagAAT+AQAKQKlcDQlPaZ+n7372qY\nbfQSNS+Wmbi/vhwjs+yNzjlEbYfX/Kg/d+v/RllRm726OIhVOnL7VSoecoYh\nGa+7BGP/S1Yn0qn/Miqu+cmcmw6HwVRh5f0Cc+0oCLXNvlpXT60l7AIeASUO\n586J3p5ieYnGcYTUmoHbwpWYstmdYbEmAGBSPoNUxdv0FvdICRlS/wIEbAwx\nnc/voCkzhuzxwlQ/5d1DBNUVgJE3HSSPwcYIvZhwsl8cN53POkyUOx7qHDo6\n/Dhg2j3M/pllKdzqrZTy1GnjXy9F8SEf0LW1145xQ6nV5adoMv47Hys80ymN\n0mH0lwu5U+nC5QRCwlJWyzGT1SIfMnjuypY9z++3JRqxkHz11F1AYQtn01E0\nNnu2no/4Sh5yVE/AEXA1rky1WzHsnKmjQF5UsZroDE6SFwsnOKXShDX9HrQ6\nE4aHjpeF8rkhEFq1wErKoBTQIdOUIUzgukU67brFSwvpNoMusDc0LEjsBfXS\nfZDFTzdX2WGylwwI2HW0nPLpfj14wUPWZBjy/ob0EIoaOCspKosK3PRbM7mP\nzQhKfzeW8KVbeVugV11V5UJeIizAqKWukNxUzZ6Yrp5YB7tL3O2xnPdAmBUH\nCcRGKFzCJI8sLHwXhf4oMW6IxthH6inbsh68aektNVghFquHl/6C964fRm9Z\nNcIW\r\n=E1+6\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-z4ZMkBYwd1RQXIBVNdsbZKNpJVE9xw8mMww3BWFythJC0NQ/eKwD0O40LPXzdOPFhXE03kA3efkg1Tu13ZMXOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqANiGD87N/Ntsc0i6cHVDX2MxBOIKCENqcNv3cOFQoAIhAKDAM/zOqp7RQV7njt5C/CUmJPhe0aF1gSBZ7H67y0yl"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.8675d26f_1528290131710_0.00528283124926654"},"_hasShrinkwrap":false},"0.7.0-alpha.1660e930":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.1660e930","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.1660e930","@crave/farmblocks-theme":"^1.6.0-alpha.1660e930","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.1660e930","dist":{"shasum":"62a1c6f7f01baef2e77a82b3af413463f2d358fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.1660e930.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGAEjCRA9TVsSAnZWagAAeBsP/jPgZvEhHQMUGeUFzGoq\nSOvu5zN5AjQXB6y2P8Kj3/pkGyHvrZqP1jSpogQ9hzWtd7HzPh+cyq88FoKt\ns7YFXDP1fK33xnErMWqBZ7+9sEP3dmoByanUxzwJLUaODHVk3W21Kv1l5I3J\ngaS2VA3LliVistfyaieLCSifuHavOSrH//pjIqq15hMEWsyLuLWxKPcb+5E3\nRrrIRLqjNvvKBhGXa/jdnKgZFmzW/23GDDOEfMjUejBkH4ZSBLRXbPhrO8YJ\n1JSGWEwTRNpjF9s/O0BHVseleGDq342iM9zaSy6rbuvHAGBB1C1KSS+sFE6L\nMkYlbSrcUG2tKz54vzhA2edhqQknnXXUEqdlLnuq+GmjC0tr8UIBunLNSrRN\naeOu2yPQXG96GRT5M0rGWSKxXvhaZLTfr3Jq+QPcZ5V3l9rQe6Hrl3rZSYlS\nDMQST6En1SMQBdQX2BT8RPFnwolN6FWHnObsv+Fd0MB8O/JLCjD5chnlqU+s\n9K2Wp8/1LpfweTusNhzoYRbmzOJFQvXUDwoiAAXdfuZryTTdg6OAhgxEdDD6\nPjGes5CTasIh4evQ6YWeBmQPXEduCfnB4o0VztJ1oc9HuboXWWaWPMFm4PZe\n8I/v2x3FNOT6R4L/ELOJoo+nj0tSIe8cbr9r3HxnP1cc7EuBFcteL9YMm7UC\n8w+E\r\n=uV5T\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-wEnyKPXYWbyQXlDtAS5ttxypyIzKuQT4JftmfCy1oHhuGwAIDXF4MmrNlpmvbuvxsZmMbOr7XO/u3lW9EIKbOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQqTBSzobV/1aWfUNdGEbqt/EK0F7/zRQ4Jb/453zkDAiEAjW3wE8TTToGOTv5TNYaiLk+R2CuZD67p1IbyPnbKTwg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.1660e930_1528299811291_0.546664089315599"},"_hasShrinkwrap":false},"0.7.0-alpha.b47b1f3a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b47b1f3a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b47b1f3a","@crave/farmblocks-theme":"^1.6.0-alpha.b47b1f3a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b47b1f3a","dist":{"shasum":"36c7e9329778eb2ab562dc22eaa03e0137940edf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b47b1f3a.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGCpCCRA9TVsSAnZWagAAiPMP/1F9YfUa8M0zivTBGYFc\nPl5/eVm0s0b8DEYftRymolorHDmyjx8cdx48UBVCGbHXI7mVx4f6A1HOr1Dr\ndXgDkQIAYKopi41SoUXz9cXl4qs1HHyzhlLljpgaSgp/O4HR1vR0xicpuMtJ\n5zfWeH6IF8LWmCR6ZY3x1FwGHjgysMPS14x1Q1VOGBSBaliNQaPCJHWvUCM8\nwz8MHqhwVgJW3u6b6Lmx8pRyWTYuJYxgDZFnFm36KEBYAexeP1knKD6Q8RTY\nQfxe/wyXEQpo5nww3JGrgxJcO3vruS4fPgcCgHTETUSPyzxoX+fe4UVeda/A\nkYQ9kQlawMeDn3SXW447z7wx8nllwXDA8RiSTe/BHahWoIyfLCHDr/qBZ9+n\n1eIdfjTXC6BJHjV/27nWiXfBMY50H0OxODxh/pL21CDuGwRwq7EQMer2aIIE\nRO3pm6D1kA5Nmz5rOpPHW/ZZ0Vr3muOkNWp0TcijEBZ2gQItaYiWJC8a8YfZ\nEMmFLg4b+ES4KQ5p6VGIm9VRozGpCfMfTMRMwZUklh8TfRj16/wYk2HeGjvq\nORgKVjIe+KlOxhn/CuWNWfQe5xPe8/ne21gks5RaC5bbUnZBbZUxOPVq5Psn\nMoiNmu9XkKAHUbQBawMQiqPzFNsXMefX+vkUeSiVZUb+rTNm8xICtgHjZeMs\nX8LH\r\n=QGQ0\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-IrzgbPBHUcTAUXzNa04wC1ouZJrzfErxCdFI0NSL0UNVYNbkoEN/JOiu0JwvddW8UWZqXaFfBYqLkDOTMHwAVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCGPU5I9BcUYJMK5VpWiinbAl4+QUHWLThY9ddv4HEoQIhAPP7RPJ9H94SGu9Il8haB0o/+AdTP2yuzVBt7zSrJieK"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b47b1f3a_1528310338556_0.13599044176799624"},"_hasShrinkwrap":false},"0.7.0-alpha.0d24ee07":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.0d24ee07","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0d24ee07","@crave/farmblocks-theme":"^1.6.0-alpha.0d24ee07","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.0d24ee07","dist":{"shasum":"f1ca05d3c29ae29159913f38c42f6dd1411cd9b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.0d24ee07.tgz","fileCount":15,"unpackedSize":22337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGEuZCRA9TVsSAnZWagAA2x8P/0Wh4S7RrnpRf8BLlDfr\nevmPihZTwdPe+OkV15EuYHM0zxR3roPX7gjiGzvySjln7zuspki82TGxioGh\nIOVGA9i1DCcBDfHW4GO79na1bOcq2K7Kust+BXJZ9RgkymIMInmK6uxVd7rs\nhA4QDVj4lSLXI9BSqY4U0wXoPqNtpzYgDyabIr7E7El4P/fU9nLfyORA3Qcu\nWv7qO7r1EX6NjKFJLGulio38RSIzQkN+Xdu+AA3U3OvqEPAPs5E/i6nqMUnV\n7sl2nieCvqlllKcffJ3RCZOjzMhMIgsLWsOHHe3LhqzNMMcLenRUikAqwJEe\nehpzqneoE9V8f8QoqfaBZcJc6QmAkjZUiASnujx0nNShJQ0q/Em2vibwdzo+\n9fRQWSGnimvCzldrkirfzQAWmzdXYPS0RQRui33TY6Tx0MSLn+nxFUc3/QvO\nQyM3XWO6U7PgpT+zjsp8uA8qy4Se4oyNsgrHVzg9O4wgXsgADTiHQ3jlsyYG\nlD0dx78U3ktGY8ul8iuaJc97J/c6MMbohr2z5A8gs/w2soY/ubL3cMfjZwVs\nexwLRHxnUCsCOdsWRLGuZgPrpT01QNaIybUdzKutSvxEUgyb6m0mghbDZzlt\n4jriO41zC1LLb6Rwi/eenGqKE1ZRVdxu0ybEkJHU4Z9cUZ9NBOV1pznWHkUo\nQZDb\r\n=uPqU\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-H7MRT5CMaqKHtMLB3m8VMVhoM24cb+QdbF+zcqQ8z/6La5yE7agaMCLKvPOu2a9XPIAbdAOZsQnBH4GRb6O1/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwfRpQ8tB/l0wK75qBXTpXV2eXgM+rQczi/PHa+/0sCAiAZBjzVUqTxNBhNljR8ABJw3TvNMA9dch7s1jHGfk80HA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.0d24ee07_1528318872763_0.9787024860974189"},"_hasShrinkwrap":false},"0.7.0-alpha.eded803b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.eded803b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.eded803b","@crave/farmblocks-theme":"^1.6.0-alpha.eded803b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.eded803b","dist":{"shasum":"271567f9e7432385c0e777dfcad35685731e2d1d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.eded803b.tgz","fileCount":15,"unpackedSize":22337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGFT/CRA9TVsSAnZWagAAZTsP/0DKm/xNfbP4uYECTxIQ\nhn1kq5bSnloE+dPTKgnFkPx8R4fD7WL8gaDqCmm2I0pYmAxD7ctO3uglWN+o\nqdxWTUDNLlWQ3w+xmIYRkj/ad1GKHygRwy7BWbJoRK2DKyJ/eSbVPT8nN68n\n3EY880fUlsLCsgcyjCkUR0HW7kOFXTzFfkC0Knr3xOQHvJ/jUP2Q0xDBl/Ec\nUqRYSy7lH4ZeJMwrVbnpdxHazz7RncIK3QbDER/E+M97Uj74o5MT01lF95+x\nCIdseBV6cJK2XP1acRlejcacgM2jXUVQL/Y04LoZrfLyHq7bk34Ub38uhVyO\nfWQM1h9HWQgq7iqRimTrN4ra+VGjlY71tIBwbVjerr6v7vOJq4BS4GxtF9PK\ncnJwU+JV7Kcr4G+ms/1KdCaLslpT0ghioIWaCzr0C4Uz85Dq9ERDbgWclGQI\nEv/Z/6fOh6fWLBM2qZEUfPVraYCQXqWvwxlUIcuVNbjZOXel8p1vXWcqlQZ3\nrKJVKcoxM+tUA0zWEqUtx5COEwDfBzSZo456N0ohYvvOM6sHTNbEGy9mxa7Z\nD4FqUiNeOuVcQvRAdWfzY2YFLZnqSLdR671qFrdptXKEilFeFmw26uGRlriU\n/t7NXgT3i/m8LCMAVQGFi+oqV7PKIQmU8SBDqgaOq/H7mLbW1isOOA0Bc+Yf\npbId\r\n=Y9J6\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-lazq/DdHQp6/x9DNO23GIyH6bqeFq3FNaAzCbraxo/lEB4wKYc9QwbTSpbkakmNSrTlP88qpbgtnASEaEhnYcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdCoNEJZD4WJBLaDEiHDA/q+xhDzuRlRAyjtujaf+leAiEA4eNuUtzssme/LnFrs2w3xJTDFsQg/5i6VXiOJlKq0ww="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.eded803b_1528321279346_0.7868297607988592"},"_hasShrinkwrap":false},"0.7.0-alpha.950ba985":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.950ba985","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.950ba985","@crave/farmblocks-theme":"^1.6.0-alpha.950ba985","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.950ba985","dist":{"shasum":"7543f1e27ac502978fbdfd2cdc6d04510d8f72f2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.950ba985.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGHeyCRA9TVsSAnZWagAAjvwP/06Rl/HLuXaPasT53GTd\n68ivnJdIwxeze24Mxr7E08yK50IBJCI0nTS95gjkZU0Ei5z6IalpHYJnOge0\n3UJgWztK0oJYt2UVXg4tciSPoscOeBikeRCXpg0ztFVBiLeC+41NXbvqHGBW\nCN4nAvtoAi2fy1sc6k7o7qdzriC/LRBZO0+SQP9OY2J3kATxETnoK2Ua2f8Q\nJtlcJqxlbpvngYi3A6SRzLiusoiY/rWfSI+FQhkzbt2ghaXRUnIntyUihieh\n0RHzxRD/Bi3xwY60wuUX15myL7uYsUGjlgKKwYOHvK/HvnNmK6U/jOLZLQ0j\nkXEpyIO5mbi9ZnYcQeG9mZQaOywNR4G36uhT83GN5h4LrhK7nqfjf7If2wL5\nS5ftmVNTQumfkgdoYcbIpRNj44pTtj+7pucjg3yA7H8WYYICPhzZVzb4VeOU\nPe6oWP0uNTS89EdcrBU908KWQPIob/8CssWDpQQmZY/civvWLSNm4SlLp1eu\n42ipA/gRgp7qMDH6MVzKcHgbVv32oE1v3uULp/HoYus50yCTBFslLt4r04YS\nEtBRq349aT6JciIqdfUL9Ps6RqpUXCVEnR1PoA/8ayUrEqq4zZ7rgDS/ncmc\nYy714JcDb3VO+pBwWrapWxc1dDL814jZsK7XnoPmQZXN9v+XsLEaR1JrbyFp\n14Ij\r\n=YMwd\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-F2FgPsnvaHl6jJ4IQ4WwL3S8wn/KHLaN5ESoBFs7krd/Xx59nDuqZTO/dKoONb15TJxRLZYDUEmZ2ura8D62EQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLeWPz9JtC2OGUHyKY75Q0doTT4bHHpXnzMxhe8gWg8gIhAOEFtXCI6SGoiY/4sPjEU4TpwQuM6++BD2tpVd+ejtXj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.950ba985_1528330162143_0.9741229208291258"},"_hasShrinkwrap":false},"0.7.0-alpha.78eaebdb":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.78eaebdb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.78eaebdb","@crave/farmblocks-theme":"^1.6.0-alpha.78eaebdb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.78eaebdb","dist":{"shasum":"ba0a5537444b23edf593e95ee58a3f7e620df9db","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.78eaebdb.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGHt3CRA9TVsSAnZWagAAYzAP/jhyWmEql6urjohXXRKc\nGMcigKuVFrOpW0dRXv+4TWN0xVJMLRbYGXHmWYsEivmZjj0wsm6Bbg3qbsaB\nY4/+coIUWpRA6MBebWxWB2yy6XgrH96JtlpDW5yn7VeaQOeLHMfUtU2Dnzj6\nVa/Zov+bOCsvpbpw9uUg6CXOdu5raKy59IDpy3WAtHPcpjuw+cEsoG7n0dKz\nyuzMRsw1FhamrI26eOWMHfoPa/H61avqcRMcH0Z+V2xozG60yPl4U102wVEx\nmvCyTxKUBmDMNU59r68I83wR/XZsZXVEUiDATCkPXrOjLnNatSdOuRTfdVBt\ny98S2GxTua8fKWAPxLK1AK0X/wDWL4noqO/BEVvpxDJWADXbM1grykxy/oFx\nVribTvhB2J40CRJY/UumgxJxtKauvydjHGZ9Ub7dspM3dd8wGm3dKnK3yVBu\nBVr3bnJHw2tZmcWrJ2TVrDPUIOKYZ9b1N7uNi6RfPunsiWFE9vmEXMYvcsQR\n7CvWWkaDs4zJ74gWv5BMpcQ00d7LAlaNTee1DAa+EkTYjokOU0yAsS1ova0T\nGpEJXO4akjJefW3qIIMKDrHLXzWFtZGnIE2+oVK3snVJAECT6FuHZRnIboLL\nSpdE8UzbbfGsqo6PCGsLozDZhYhoOBhLr9Glf6BSeFyPTWasxf1ah9wjhvKN\nI1fd\r\n=Crju\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-YeXudZx4IJMq/ggQqmwAUcuwKd3NriBfGBNF31yOrQR0Rwfr3nNASqfIG/qSv3CqfpkbSvwqHx/NH8yoCwHdjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmBjRyWjPkbJQLWfv3v1TMFQenehr/LUt/ZJOwZCM4+AiBPIuI/F0Yt5Soc3w8nIIIDLzfRNRszXrvcvfzZlNJ5PQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.78eaebdb_1528331127275_0.22873932567663946"},"_hasShrinkwrap":false},"0.7.0-alpha.9afde923":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.9afde923","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9afde923","@crave/farmblocks-theme":"^1.6.0-alpha.9afde923","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.9afde923","dist":{"shasum":"c935c172ac2d477d01b3852781c9eb203dfd89d5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.9afde923.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGTARCRA9TVsSAnZWagAAUM4P/2+3Vkz5bpHDe4W5Fg6S\nxfajQjnG+l/pheajYJYHeeI2deoMZEfGmQdCojjUP0Mb3tFth1M5jIBWrROD\n4WgmnP4/89HX3ijC50aWoqBarYHR7a5LsKiCReBror9eXikvwKLpqnkjAyIX\nugwWVLQfEggh1dKphPYzQGr3KzJ6Lfeh64lDshirVRkAeKqW78kqF7k2CtVe\naoH+NUhHSBYzHQhAGQv56dsjoWfpeRd2n3WvFJNhszEEJTnY8JZN4MDVCNo3\n1qHN9fzTaoQ0GH7M11jBYtqTjxsDWUmM+p7Vj3bIP3fs9OFO1Bh4EFpILRo/\nb1Q71LVBVD+F+YlylOq0JdmYKQr9ycWEJgz2ZbeXTfMoa4rtuap1B/+K03gW\nGXtQIR400rJeL/eZvetVauvlbnCz4f0OGjv5MgYTLMp8cMq8ZMBXa+s2dpxD\nPBLETXA9+5kI6//EyvVQeDv+TovIXyG81bdbNHcGtOVGWBOVON//jiLE1hy5\n68l5STfQRaaL7LZl+lw0Vcr3t7hQTiZ34DwEDwGnOF+uaX3ViJBd4lFRNh2W\nEs3u3D6UisN6uP4z1J5Rzn6eK5GnfF6L8da/Lki3jvQD1SUBVXrLvp1lWAS5\nRJqNc7lWRt5Ou552HSfPZdQNTt/PWTg7g1K49izNCLGxoPa99zM9V9VSU3sG\nuQAT\r\n=1MOj\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-1XYlm9yjBTuB/H2mCaldBOCQfxn1A7eNrMQQXjv5b0CmZERkezA4GROxK3o0nO+f2QLoihGclXnzRDRZCHR5aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlabc8LtNTD/vxZppgzqpO83kReKErq6af24QjD+LOAAiB3mJCcIya6OImYlIk09BCf08+BQ7q/kAvuKZjehzH5aA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.9afde923_1528377360755_0.5348281395646892"},"_hasShrinkwrap":false},"0.7.0-alpha.03c69cf0":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.03c69cf0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.03c69cf0","@crave/farmblocks-theme":"^1.6.0-alpha.03c69cf0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.03c69cf0","dist":{"shasum":"1d1919e61addcc46e05b52f99734e2da97e5f633","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.03c69cf0.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGXGaCRA9TVsSAnZWagAAbhcP/02iBnRNuCA5Qlv8RwnI\n0v+BvP1XjqMRwb7P8If1bPVzPtrjrV9MNVRnKWu/Y6I+bHzsFuKeAcifM8YL\n32NOVJeBjawiekZGEkrYf0L9OIIPeSpVCi8YuIUuiAMNrgZAqZsYIXXuoEhK\neOn7GpCi9X08HrfD1sn9R5PTJxInK9OG5/3I2myGG33e1Z+khZ5FlHOi885x\n34RUZZAk/5unknW6FcGx6ESPfl3CH7J47jqNJlHYWi7aelEMatwqNT2rhBnV\ngdu+kIFWjcL+kfF58ze0Fh+koqkxMpGGYW3cbGUhw0xca8Illq2w2R/3M4jL\nh0U+refKUaJsy/AT0CSdvg/syMgi9JlFFX+1WMsJkkymk2VReaKBxOYqB6N6\nsneqLqMOqzrzP6fZBFG+0qB1qqXWvqFYQ/MBNVdMatNPaPwe853+pMgSmmhJ\n71rZ5+Vt2URITjvNhlNBsXC7aFWUMc/YVJEJemAvzk4E9HOxzmwnqoDUootD\noL3SjlHWCzIfH6xRldTyW9fYSMwHkKyBUUg8CvSAbBWx9pzOUw+3mw++I1ai\ngaY0P8p9kRhUlT9W3rrqAyhMTtaHtUyx89idzgc5OFU+jvcTVLZcfAxuyI33\n4B7sb3aPLOn36UBLSmtayhR0T1+MRtxpO4F3ceVG5i8PCiPb5Jx18OE657Dg\nKDpu\r\n=WGRZ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-naViUg7dBdvT6pfk1s1hWyZPrQNOYe4ktuCmnwyxvhGBjRfNsNDDkFX4FnQhyNn68xxBomSAL21y5NJyiJC5dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjDeoEmzSywtyofOIJXEL7vqopP9KRP4uKQseSUuTAmAIhAMJaoKe7CWB7pEd0g9GKTFPS3ssf2+uIJ2kTouLAN+zC"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.03c69cf0_1528394138045_0.9697512800895629"},"_hasShrinkwrap":false},"0.7.0-alpha.a433646b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.a433646b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a433646b","@crave/farmblocks-theme":"^1.6.0-alpha.a433646b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.a433646b","dist":{"shasum":"e7271339bd4b5e255b1fb9d3f69fcabc07a94330","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.a433646b.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGZaoCRA9TVsSAnZWagAAZ8gP/3L7Q1bx+BEJqVEFAQoY\n37ESdB7xhA+n9EtNtSxtGuYe4Yr6D3xHo/8rrrxv3yZ7O0BSQuopn3dXMm6a\ncYEe3p8NnLV6/61qroeOuIAT4QdAFtL/D60q58c58qFFOGO0ILLMsY0MUiMV\nyELdjH82WULnn+pOkSRTYfPKZ3kbn/KGdEzzQgV5oVLNjM2ISUbeEHVy+GEz\n8sEwVt5vcCSOsuQTUZ/UOGcDAdCS8lK/iw8E66W3SNJO4flAXOg0x0KQ+4Cd\ny1a+RaFFFy6LtA0Mb0xze8w/ED4owKSbJ5w6Vvc7ncjpdCP6QJG1RTCrdhU8\n9xEL38twfjSWbQrJbIQPmL7MgEOVDjJSJTr9R8/+VDt1LYWXqodhWexGSjMJ\n9s7j39QgvWyTtUedZX4x9LwVlJecW2hvbluNw/Tu/PGBDsHxRTUzA7wgYGiA\n2zc1HbQmpm4YCQ98EEOQcvWB/pWn9SOObkshraS43bPUOaaXZnOVEqFHUUz2\ncdOCjaFn3aQ0jGggqi1qAvBXNhSJGorptD4x12655gkn84SbwImXtELyozXC\ny6HIxETqJq9K3M5zzD39c3p4iFnerOkWgHr4Vxbm+uYCn445uxexRLxUcNzu\nlzF1AiIrQAUGX1hr4dsnhp0o7qfVOsOCDLLbrSTVAKOiDidhxIMCTKCGpejy\n5IYq\r\n=54hf\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-3j6aM8HL5EPrI/Tjsb6X88WDr8V4/4+3MGkqnCU7bXT1pRZg1jD/POKtbHgNadAkWvNr1iIBrJqL6WRpw9hiBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCY3ZqRvYl+LRDNzeWHjoC7wxSWA4j6Xvf+BIY1k+dq1gIhAJcsa31yWWvwHFo61MDiBcAQbHnFHkS/Io00Ftiz9KD2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.a433646b_1528403624251_0.2721461308555553"},"_hasShrinkwrap":false},"0.7.0-alpha.bb4b64fd":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.bb4b64fd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.bb4b64fd","@crave/farmblocks-theme":"^1.6.0-alpha.bb4b64fd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.bb4b64fd","dist":{"shasum":"bbf096813b4c213451d147d54123c69d29c1a2f0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.bb4b64fd.tgz","fileCount":15,"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGoL3CRA9TVsSAnZWagAAyRUP/iZznsp+Tf8Hc8X78yvm\nm+vJ0wIEvXpQffWus3MjUsp06ev4zP5NP/caCBPB6wOy3AviPWbHe+9+KPHw\ni9OKEj18QbltVzoFF9ZGSB/kMBKO3Kaam+z/GIJ/5Vu/TJx01s93SkBbkBKr\nTHGUedSuhIt3QinjKwXv2SqpldVn6IgMH7VDKnf2LWjY0IuNlnmSAYagqOlM\nfgRwsHbtucra63/1HtZoqDt8a06faaOhG5vsxzvrenUx6JAZukaNKKrkIpFd\nWLX/X2lv9vLvsOEe3rKVTk7ZUTKW3+I69UM9gaIQZIjOCsctveb//UGFYKsL\nanA9KRN/BG7ef96EFPlI0CppqStA35tFqPHTgpkAaS41qoH8pUwAhPM4ZAQQ\nTOeiyAWMNXY7HQizlxdlZ3AcnT4xwJXJjyMtEyq93o591g+Hfz3adIulIsp+\n7hF1R67PiUzMELrxFPs90JzOKExynG3I1sgzZDW0EO7qwcSrO9OcBNIw/PXz\ngJ5rY2xYIXeQ+LrSShmP2R0QSTLNOXdIk6ZgA78JpddWE38VMduBb/N+qDFe\nVPrGtoav2aPepGGMjDXtC4awknv4301EWxrPIKuBfaxJCAiyGXp+uEVLyDQE\nuRrmyfqIn3jsPsX/5WaqrzELRLvdQyxW3CMDh+kG5BfSJls4q5AVw35CvdA/\nQRqe\r\n=yq4e\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-vAn6LibeTC6lLZnCm6N+rA3Ve8GEOOpr/WaV/wS5himY3S4JvPmNBDduMarJOlXfhVZdo/rfAt4UYdc7pdKnaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/UPMThzov4NDyp2Ghxvb00ivURx3+WfRkZ0pmdKIbKAiA5V4dhhmxb094BZxl8XsdqG7zEK8Up6yTTp0NcEMMbTQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.bb4b64fd_1528464118822_0.9782493776461405"},"_hasShrinkwrap":false},"0.6.3":{"name":"@crave/farmblocks-dropdown","version":"0.6.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.1","@crave/farmblocks-theme":"^1.5.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.3","dist":{"shasum":"123e2a21ea407ad19363a6b2fd49010a1222d6c1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.3.tgz","fileCount":15,"unpackedSize":22382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGpKUCRA9TVsSAnZWagAABc0P/2TvIaocbDDUYbfotoNX\n7+tblRn2qsh5n0rJ7lap74qr4qT1YomtB0S0j8c7BTizd1tcasiheazisD5Q\nxVlNs7TEYIkYpskMVvs+VML3jR7O1Iuh7CWjtVtwN6oblVOu+dZc3tdakuu+\n8tp0cdLGHe5JySSvxZpH8za3rIGEJX2p/5OyF1500fZRIW5SflFcRDEq5Onk\nd9ycO0VAj+O8etFw7lOA41BOJSgbtt1qhnhufgOHEDaBEGJrHvqcyyiSOw8O\noL3dow9tN+hZ20vyOiXMbqKSue0y9wzzQHDXOEa42eO6I+NTtQpCS6JwvKet\noCcgpsejWQUMbLO+vGTGFaP1PTPvsEgT7/rwXcietc+Ye5ibrwUXSzywYtqh\nFsTNypy4WggO3grEj2oFC0BsxygvOmNht78jAKlxRqE0jys3vfkjwm0u5X4X\nNMXqkPjHScdhRFrXaauMsoOjCjMY0uCHv/bKidNysS3AbTr+pGIVAByia77a\n0v3xZnh4Xy7hx58fYkfjHDGRLQUVCY9rPxkJX+RuTedXbwdtz9AEZ+QLUM1y\n+vDAFaf+GUwrQFiTB+Tn6Gq9SwFCU0QjtXejiSVcuI/A3BI6n6pPs6UcfB8k\nfILAsQ3DU/7+pB8pMqDI/bFBvdeSymNyMZXpEjN47bjL39EbZk5XvBaC0DU8\nq7Hr\r\n=339G\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-UdNiz33gZj2Fr1J5IcYICi0+rVGF3rNkJcwwdyInuEX5u7sXh5wE8YM9fmOli2t+x/wvayjBeDP3i0aMWFvrIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1s5ncp49EeSWzwpfIm1RJ+2hmH4TvBeO/51uKOYZeIAiEApVPL+QkaFad3iI4iwm4KBF64dyXh3jaP3lMw1wgZnpY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.3_1528468116027_0.5139452774678863"},"_hasShrinkwrap":false},"0.7.0-alpha.d8773cb2":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d8773cb2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d8773cb2","@crave/farmblocks-theme":"^1.6.0-alpha.d8773cb2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d8773cb2","dist":{"shasum":"01f562cd0fbc9016c674669db2e3b866951f0a7d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d8773cb2.tgz","fileCount":15,"unpackedSize":22705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGpoECRA9TVsSAnZWagAAJ/IP/RPztg2bQAtFV/x8aPUT\n76g3uLN6KUcqOrBkn3pDXi1zPrpxUCJoL7vRdDUpFVVpbujrVSlFU2UkKKYz\nGzepg6vFQ9ZKo490xXMBo40He061SOqvoPLWdoCP/TCH7T1kxsDvt/Ywb/r6\nfEzWWajc22HtdT4AO9NhmtCtH2PERQDlnfs1hENvcwBRgKliqgbnSZhrCU56\n/Rq6D1I3u/jPQo50uGRTzJdMKRCzqX6/M155PaKK49erJV9Z0fmPqzOYv6fF\nmH7wGsw+RraHutvhqOT2ePNEKmpUyaabqhJ2DG89YMGTnxE05GAtB7wDC81s\nGhD5ft0tTA1YG5JmIlmxUkw0hy31z0xB1K0pZappttfj5H47Kh1wXi189fvO\nII7009XYEqHOtyHPlS8dFQighOP4TPFqh6NV6ntQo7sUW9KqAcx868oa5knM\nFzjOHvFfPV9QT+4zD1ysF23CBZOgOODLrqX6as3O+XtkgpC5l5glmoneK+Py\nnlq0y2DwJDg9lTHE9BwukKz5SxRErMFFJj+LaX+LfLlTogRbet9WuqpWLo7v\nZUaCQcfp+9GgXcM7bxg1gnpfVeMC8jzLHOUA6Av2j575VpoqRJ+PHrcKgZA1\nAWzjGnG8+Z66dXVeLOcMGu1r1sz6h0LltPR8nAENQfdyNc77q6WiUFLb3zkT\nfryC\r\n=lUjA\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-MUbxljuWuao9K3EJAqY6TE3qz7szb5s0wqvbWCnRIv2j7HfYzTvDsXZSTICJAVQ9y2Wuf+RnfBHHa9S7awfSyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWOQcWNzX868G61R888AN1XQXtuV74QhdHM46ltpNHAwIgDNRdkMGUPYhQVND9O03e1hNce6uy/6i7jil8uxG8Ueo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d8773cb2_1528470019840_0.925658781220712"},"_hasShrinkwrap":false},"0.7.0-alpha.448da3a5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.448da3a5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.448da3a5","@crave/farmblocks-theme":"^1.6.0-alpha.448da3a5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.448da3a5","dist":{"shasum":"6e4de2c5d8de2c88b17854d27de1005ba13a086d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.448da3a5.tgz","fileCount":15,"unpackedSize":22705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHnCUCRA9TVsSAnZWagAAe/AP/0SNtK9JFJVOLGCRaUMd\nKT7w54ix0ci/3SUaoNaMlQsJKtOEq14bqu1sQxhkQtVcaJ52ofJud/xXH77H\nW5Qz0vfL5zsfKnAluxUnu2GqAlooiZcy1flHaku+4bcAh8TKAxWsVd1Zjine\nBgiE7pK0TPS/RlQiqLwmiKHiHWLdodtSQEsmLwb1zqNRS8S/l0374A/lEojc\nRSQxev43hPMSKpiZJgPlnNeuQvdefWxHoMU7WXWW3Fnzfd6oASL7cSajPDoF\nic21SJt4UyBm3PbS/2bifCrnkJFxQL6rAWtCAEjS+dPkKjRHVseHqaC8qy2y\n5iIXmpYoUMSciw6VmXqWKBPZH+ty0bUFRak8BhJS0uuQnOxCvHWv13S2PfVK\nOcaNM5rXdThG97HHAFp19Hqhy+svHADK7Ka0ILhbJfGblevWVamQ4ih9ZESd\nmaj73z0BmWcYN+IvaQoloPTRN7wLlNq3ujLbpeU+/nNUXaCAgpxOBffJb6X8\nustCaeSfmbBS83MWql7J/fU0nFZaM7o03yQ7I3iS/FnBCXr3kltqUVKfiCYX\nJcZC3YHJ5zEO+LPDBB6p58rmeNTEdfuN7V1AwdmGMoNduNdVqaqWsXIInvrv\nUHrg1PIqfJ5qlrt5hnCm2hrlnANhtdx33nMqPdgOLFis+Mh+F+cmLlJq0SZe\n4knX\r\n=KclA\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dnozVY0xLszoWDp3l10f4OKeTF0Rq0Fdab3JWCscsZfj99qzVQdn+YtGrFTD9byXfp/GpD6jNjl0wbP/7dtv7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwwkIiMisbgYjX5ubDHGemE4m3vgxVuQSC2uxrhSp5OgIhALtLleGbH0JO9XWWakM1odyd6IThPBILRDdwFNAuEbud"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.448da3a5_1528721556186_0.5746785566647965"},"_hasShrinkwrap":false},"0.7.0-alpha.6fef9195":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.6fef9195","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.6fef9195","@crave/farmblocks-theme":"^1.6.0-alpha.6fef9195","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.6fef9195","dist":{"shasum":"b174d2ec80e33177397f3d2e725ce29974f27719","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.6fef9195.tgz","fileCount":15,"unpackedSize":22705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHqcpCRA9TVsSAnZWagAAXvgQAJfyabwPRCgBi1Mn2AL4\nU/xQx4QMCbwYkavex1OA84MTFDagZ5Dy3gzVx5GbZzcootnCP6tRfrUvDN8c\nsVmMS2X2PPLmRBXtwMLhYErRGQxapmdlP3D+tpqkQOHS5hbXL0BLjKsLrccn\nxK+F0SMxf76WH11j9uyqAK0/mOYsf+UI6vnGc2utI+vL8jF/c8fRLP66FvdF\nhttklOJCXfWdszJb0cVKVlBI2MVmoviOPU2sNsk/vANFkkc4q8L+CAFchYlQ\nBtJSGKhDyAMFBQgcK9PRQam93qqLY8SHheins5Ws1X6lWm/7DQGkfLE7gzEo\n0WQl82ff3XsGYGXZ3YWjpZOq3m3C0skKEyYv6E1pMC7AUMEnIZGe/mkskZq9\n4lO+uNStWdTqj4Y+NH3GxABRsTB1yxbM6jV9CC1rwDjlnVOFMVYVXwbhkktx\nsLq0GLXWI1/RhJ2Sd3W/R/zvPt5MsCiuOBZp3d9wdfN4Rg/be3OB3vJ0c3cm\ntg5blvc9eNVbktt/6r9dkWYx5+0xsUfgDBJTld+D2glX2AVeI04FKTHL1lB0\nE77SmFR+c2l5h9FTIXtV+2hRYpibi0BvhYli8Eo3NdkOkO4kMJGiI08t/XGi\nYqr6AvBmjdFSfazoNwSwzxaVZ1u8S0FfqnCVzsr3B5HIrb1nZmz3rJNMhKP6\n/Ka2\r\n=u0zX\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-YNqIDVv0NpNO43P5C0zey6Hk8MQb08LSh6n8JyS+hmrbNyqqS4xwMhzS1LN0ovyUQ0sSt8TLXmxYjMAcUGKyVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsZxKSoqnhtVsBjk431eBrL0Xo5F4XGz1hsasYMLQOtAIhAJ/Q5cC+aFvwu1h74AgshCG8f2BJwXdCWNQAMGw8S1/w"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.6fef9195_1528735529571_0.9173962045234167"},"_hasShrinkwrap":false},"0.7.0-alpha.3684de82":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.3684de82","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3684de82","@crave/farmblocks-theme":"^1.6.0-alpha.3684de82","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.3684de82","dist":{"shasum":"22fb91cc6c2a89a06544d33036896dcad09f3678","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.3684de82.tgz","fileCount":15,"unpackedSize":22705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHt1pCRA9TVsSAnZWagAAIB4P/0xSt6dfydS+6nhadLtb\n1K4gWrozxZSIrx6o+6FemAIXF8r5hnwXyh27LfEch/tF/E/qhagtew14X1jo\nZ/T3Jfiebs5z9nWJ7Z74RyQY5iWWgx5GzwJHMvlod/9kLXc3TOgQPcKLhINu\nYJBVFVFxvjEAfZz14sKL1zg6x7DU1jo02UO5If3NM15zkdPEmllgJ9hOe+ij\nOZOcv95K3swUfbsvurAFZAheYDsY7Vp2ZcxOalOFH5cXgAJhSa6recP59XQ/\n0mCthOm8hDN80ckyE6JvK/dSImtCMei45JRy1ijSwNjdvyIQHi9OL4lS9joa\n1JUJQHo1pR3jIsAgrKudp+wOueYb1aWX4AbAGizHZVWI7k5QrnaP10l7TQ53\nWYN8mztUCk6LSmrOUtqfASbP9ZXl7HM8hruSEj8kZQxvdHcYtj+m50al8apY\nQ76am2g+Q1cD31z7KwRTT8uEkrHLaHMkvPCf9+xEWJdtgV67vVsKVdzAfr5t\ntYCcPnFq0+Ehd0wuOYzXOAfwnRm/LgWB3egpRZ2CrnaFcII8BZFipsniMEKH\nk0yP87MG8WyIe2UPa5zTVv0AZUOcZtQox6sAtBbmuIPiSbURP4X1TSWKRsk+\n8TuQIeQ7H+zleo4zV+HHcWkv57Z/L/h83T6g9gj9r0rJG4/BrlsqhHPlQhJj\n7yOb\r\n=2z6O\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-GQYgxnXGUTyYDajeOX7Ohu0nMCNh9v2XNJhOFiov2CyDH50VqN2sFZsxWkviWPW3Yd5elQTUUrLsGKVlcMzv4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjXfM7SFlyyUdI1Vm9bnD1vjPp7BzN6vv4LBfWWlwcgwIhANGm0wAmh6j/v3vfxAjjXzMEq6rGR7j2qSPjT6YrjnH7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.3684de82_1528749417020_0.019774494177406954"},"_hasShrinkwrap":false},"0.7.0-alpha.6d5b7b13":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.6d5b7b13","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.6d5b7b13","@crave/farmblocks-theme":"^1.6.0-alpha.6d5b7b13","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.6d5b7b13","dist":{"shasum":"7b4c8c2e786ef820fa2a1c00a29dc6a416acf20e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.6d5b7b13.tgz","fileCount":15,"unpackedSize":22705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH8DZCRA9TVsSAnZWagAAyzEP/30C7VLPV3Bdb+IKMrr/\nfIDfyF6p/v8qEhu9808xriOgDwZzO8OaYc54NzbcNPNjcvgpyOUZB/YJkD5u\nwNdWaWw2Fnw5d1geISWN6tvGhzs+tZQiuJ0jJEUparjC0bVKQ5aDQl7r0fMY\nGCj8SyIXZpMgEF/h5MkeDZii8oWr0qTbfj+fgoQEIsm6rK5vsU687pD7uLbt\nzdIspPAYQATs9z0DJdMry1NMfLMPLeo8KYtRM7NbLTObbIcJin1W+ugqs1v2\noZompb9dB+r28PRXFkmFjKaLH8X4VSp8nhTsGuqkbwP7vvOfR+V7FbDVlhIY\neKMl65L0kjFUcPkRN2PrRTBODcZrmLt7n+YsWpdmWLRucEi1D85DeLLHgohR\nEosMKX0Lp0WT4LDQb0pf0PQ+GEzSH9zpBdtkxsLY9C9L6oxep9xzVWbMTdFE\nZFg1DHxTvlyABMPtKBRO7sfmuPuM5F0/IOIKLynPjYtuOdwJadre4qwitHoK\nMkHqSTZO0J4ckBRQtYPlDoQSYaRUsYozT6WVWyYdeazawev1fqPGbNBBh0Jh\nwVVLStaakYAW9sWaaYk5DbgZFl0SP3fkR5MfEkzSb8/gr5Mh9owAV/SAm1A/\nRrruuoXqGHyGw6VmAUHyy+0zX6xv51iBs0vQimyuRXPTkW3+lT/Pi3T2l5+j\nU1Kc\r\n=XkOT\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-LQnZ6AVfvEsauV7FigE7v8sUJ/7aptBcqXqDU1MUpuzqQR5TOSSeAoaUIabBGjDm11439x3cazQBtfygFlcdJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtxqGTZg6Qhxf94CtUEFMAFIGKYat0MfXqosrsZi8bXQIgI/xYDc+QqHVVOSLZ2n8oNzp+Du5ptrLWYWZfbgFzyy0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.6d5b7b13_1528807640605_0.12630934092672397"},"_hasShrinkwrap":false},"0.7.0-alpha.ded52547":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ded52547","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ded52547","@crave/farmblocks-theme":"^1.6.0-alpha.ded52547","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ded52547","dist":{"shasum":"fbda2696f83888c5dcfdc0428a23e4c9de384de5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ded52547.tgz","fileCount":15,"unpackedSize":22705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH9KiCRA9TVsSAnZWagAAVV4P/RDCBDOAo8Azs3iX2G+t\nTd02wdYy40V6tYT40ozUtvGWkSQWLCrwJGfv1Xc5U6gCdF8kI3buXL16lRNQ\nhKiWfDW8/F1hpVde9JuV5PB5yMa4Y42lWaKyCjvGOfOXXfu8qeHtNXHN4qnf\nhSsZkDG2MYYXXq27FUpV0817GVemAVqLjfI076pT4ycTMDN/Lgrxg3mFYMQu\nAU/hKTaAGuqzFR94XcgK2rPPUOWBHdJQBWTGBy0lM62/RmZzc0N9uCTv5mUN\n4v8yKQytRxb4kRAL7fr9ytYrjOqsDtcLiM3XMZVn3h92Ly+Swg2IiGhlXNxx\n/XTThFJFwTEMJj1gq4WG5360rYTeTGl+pmnpStjIMW42ab5bSO+FKTSgTxvV\nqm8jQCASKVh3XL19w+J/JhI7Hj4SUzm7wXqU8mwAFK6klxy264mjw5TpVLsT\nF9816/Z/LjHifoOc+VxUT8+bn5vcFMleJhrocsRkXB5KEXM+ZRdt27bxZ9UM\ntme3R/gBLC8oGbooNbgNsb2Y9xVWumWinqU12izKymz1cdceo3jTR1vVjYiT\nDdsbXdMyYvDjAux5vo0i9/HzW9XhrVoNiiJT25zv+DPHSAvIdkWbEKZgOFsE\nIwkMqgWHnhgWSUVqhcQjtnQBLQNSMCjuYUzzVn+j52IK606JyuFYTHL2eH7m\n4iXM\r\n=jw5B\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-NquJAPNsweraRL/i101FX8jIkF6/Us+JH2q6F062JmESXU8y0NwZiu7B21a9n4z3xV7zOusLxoonWBF4nRGO1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHzMhmnYWdLa0q5xXuqHeuD5QkBGvkcpvnVR1rTsgt8MCIQDbjRjq6d8g+AfbYyIFx3UDRgb4J6s/JBLQ82cRf+xaFg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ded52547_1528812194706_0.23962123437451632"},"_hasShrinkwrap":false},"0.7.0-alpha.af7cb427":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.af7cb427","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.af7cb427","@crave/farmblocks-theme":"^1.6.0-alpha.af7cb427","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.af7cb427","dist":{"shasum":"2cd3e834cf98fdc9d25cb179290fccef0716dda4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.af7cb427.tgz","fileCount":15,"unpackedSize":22705,"integrity":"sha512-1rd179QrjLfPDqGzdMiMW5o/d37sMFGQVET+ncXZdacUDVEsjI9M4FmjGY7myDBLI1Sq3VMvcfDPCqbSbfj0YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDAmtjaYaTj3CcwPENx59Q2kyGNCDeOzMxFB1lVHZQpQIgcZ+++K1D5PqpsLb4Tv4EnRm4L1sYNQqM55YAPFayiLY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.af7cb427_1528826568937_0.8299284287245934"},"_hasShrinkwrap":false},"0.7.0-alpha.db16d392":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.db16d392","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.db16d392","@crave/farmblocks-theme":"^1.6.0-alpha.db16d392","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.db16d392","dist":{"shasum":"307a22955a641f6f9ac94ebdfea36ebe4a6558fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.db16d392.tgz","fileCount":15,"unpackedSize":22705,"integrity":"sha512-YqjN9M30rfpn8dYS6Kv5o6OgLjpGtPMVYJjWJbr02wsWi8ubzM+W0ZHCNL0VdFdTvHOxUU1PCWAuJnFM76UZQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0MS9EhrHxgIWA7FOW5Qaj5ae3asrSW43uG8tG8OKFygIgKSLjsZdV0dCkFs4xt4e4xDfQNTaZ/Gx84VJYSk5uSZ0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.db16d392_1528829891054_0.4022077866997731"},"_hasShrinkwrap":false},"0.7.0-alpha.26aa4e30":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.26aa4e30","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.26aa4e30","@crave/farmblocks-theme":"^1.6.0-alpha.26aa4e30","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.26aa4e30","dist":{"shasum":"d7a649b3ff060209eec7755119d8b79d1f8c843e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.26aa4e30.tgz","fileCount":15,"unpackedSize":22791,"integrity":"sha512-el6CcYDu8JZ0z8+Naj9gHRANLduryCVp8izM9K6f0cdfGFApKbmyNx7YM7Auplh8bDFi72Ibl2109m4NVCb6TQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4hdVhguzPDJmhomgGguG4r9Rie+ceK1DqSs72FRB5NAiAcZIoMxn3fBo1dQC+oGAESesb8WDQLzfFlw7h20tQT6Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.26aa4e30_1528832140390_0.9524213873720171"},"_hasShrinkwrap":false},"0.6.4":{"name":"@crave/farmblocks-dropdown","version":"0.6.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.2","@crave/farmblocks-theme":"^1.5.1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.4","dist":{"shasum":"89b6e457a869592cb04462a01f9759484bc6c465","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.4.tgz","fileCount":15,"unpackedSize":22702,"integrity":"sha512-WQoBOhRDgP8NzVjQMALHrUztsUzXko4wIvlFO1bgnaOyyoJadrSZDHEsZRF2sgRLPRYS0qC5Pu0RdTadVJKWTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/jOSnVGJqmEZ87GKejfMjlqgO8JWafppQn7IsMM83bAiAYdvx2yWAWgU1NWdnPVhz5DdQVzgfTVkVdBwqLc5MEog=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.4_1528835050501_0.3831272839380635"},"_hasShrinkwrap":false},"0.7.0-alpha.9ee3ced1":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.9ee3ced1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9ee3ced1","@crave/farmblocks-theme":"^1.6.0-alpha.9ee3ced1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.9ee3ced1","dist":{"shasum":"fb478764c0c35e3a1633eb9e53893533040535b3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.9ee3ced1.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-A/cOFyeJeGTTOjY2O14AHh/8gIZXmMj1V4DIOYKb9aJY+6RBh06y++9IbTSkotEZUp0GTnRSid6tsWOrRmfrMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRYuSEbXPZNmYfjyHMMtvYSXPypl6LFDZaraoIm3FhsAiEAnrsi0Bn4YE8mdc4fYvTjPy3FsntdHxSQgUt5mLJWiVU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.9ee3ced1_1528980946573_0.8477671426269402"},"_hasShrinkwrap":false},"0.7.0-alpha.ad61a982":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ad61a982","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ad61a982","@crave/farmblocks-theme":"^1.6.0-alpha.ad61a982","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ad61a982","dist":{"shasum":"db72222f932b954ea7d096a642e1b6a65793c496","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ad61a982.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-BL+aDbpijLytpWIzEIEaM3wSv0cTtcuAR+Rgxbh+in8vVFPT9cmYPMXEaeT/8d1fOAc1x5Z8RYrJADQf0I8Liw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo5V+6a8x3Rswgyap0EPplj1dxK12n6Ymb6wat2sBcoAIhALkTP9QPlYuSuClr3hYl+N33ohG1tlcTin6eoN7ou6N+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ad61a982_1528981193195_0.5542507579576186"},"_hasShrinkwrap":false},"0.7.0-alpha.ea5a0d58":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ea5a0d58","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ea5a0d58","@crave/farmblocks-theme":"^1.6.0-alpha.ea5a0d58","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ea5a0d58","dist":{"shasum":"7098655b2c2f8675652cc340d9722e5e06601c3d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ea5a0d58.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-KabJAJqEWMLAbZbx7eIZiv4wHTO7dJ8nW6GzbK8sXgbELonNvdrsJ8zMOZQVx3VCdZ+DP8KBDbvgGYquDyxB4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAb4fe+f69HGEXqWySLHWOKYPSYILemhmrpt521ITQriAiEA9dsdSg2lbTapgb0E6LcGSN6CaxrJCpxi/TnhH0Ru138="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ea5a0d58_1528983757027_0.8853520960037562"},"_hasShrinkwrap":false},"0.7.0-alpha.7d3f778a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.7d3f778a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7d3f778a","@crave/farmblocks-theme":"^1.6.0-alpha.7d3f778a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.7d3f778a","dist":{"shasum":"fbd97f73149c558e765e34f06b92096207993ba2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.7d3f778a.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-g7mDillplVyfK2N0mz1WXwzgfvHZNVCEpu781fOeErmGeHyBMUc1EQDJv7xW6SG0wQJWh/6PXUjagzrR1Mqpzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSGhnigC8LfweI08qm6KiAkCWJkVd96ySjoy6Bauo8ZQIgZrIGahRXZrM5UXcnqfydX2Ir6RJ/1v1TwLzmRfSphcA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.7d3f778a_1529039843601_0.2676377188227739"},"_hasShrinkwrap":false},"0.7.0-alpha.21f71177":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.21f71177","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.21f71177","@crave/farmblocks-theme":"^1.6.0-alpha.21f71177","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.21f71177","dist":{"shasum":"83c1580a280983ec6301743225b1b4109fc8f9b2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.21f71177.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-aEdUjmuRyvdBTKAM4u+ascEz0RC+kSJLTPAx7G7l6c4R5okWnecIUQVom3HkEaR/or4eDW2ikjxGoze1BF7f7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDq1xA+8tECgGuVSMglpoTFLI4PdAxJ/WeRkQMWqu9IyAiEAng7Swas8xDPNWHG9hSDB7B3tY6+Rq7mZ8PbYjP3a2vY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.21f71177_1529071647501_0.004575015258407422"},"_hasShrinkwrap":false},"0.7.0-alpha.29be50c6":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.29be50c6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.29be50c6","@crave/farmblocks-theme":"^1.6.0-alpha.29be50c6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.29be50c6","dist":{"shasum":"028d2524b4628685a280dcd548d1e0640c3e9508","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.29be50c6.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-ILtAdNc9gMAdMw/WouL58sfkaaNtztJmZlzdmmg+OTgCR4MjHc+Fb46NFbLiuhjDVfnzKVaToBI/X9yohzUrIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrawBwtVItEKr3t9AkaCdMZ9YHkzJTXNmn5Kes91v9mAIgcg1tgxAYk/HvHOLpJ2MrnMD1i9TpQ5pWyKkI11NG3uc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.29be50c6_1529080250223_0.3030477852440352"},"_hasShrinkwrap":false},"0.7.0-alpha.e0ff2bff":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e0ff2bff","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e0ff2bff","@crave/farmblocks-theme":"^1.6.0-alpha.e0ff2bff","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e0ff2bff","dist":{"shasum":"75ba383a068a3f5cd43696344b9ebed22b68a6ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e0ff2bff.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-GvjXiwM1iDSJ+pO29IC7AkTrHxJguufVEGPVi2R6+3bT2rAuaGQy62kdv7/nxaFRRzloEQOmtvCIt4ASj8z5HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCI3zYSxuEHnnszCsHIJBKrXJz1Q3Y8pX1eBmf+x33nQIgPfnf0aXVMEGQYm6LnW1KICgxgBnRfAkPGR5wRGxJgYk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e0ff2bff_1529094188391_0.65251423694185"},"_hasShrinkwrap":false},"0.7.0-alpha.90dae1af":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.90dae1af","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.90dae1af","@crave/farmblocks-theme":"^1.6.0-alpha.90dae1af","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.90dae1af","dist":{"shasum":"b576fc5261d179acef3e943c209840373fbe3e04","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.90dae1af.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-rWaypp4paP+qg4rixmg1HgygcbWTwR7BojiXYIM4on/5kLh1hLHz5qPngHSsgCUCUYQnVRJLv8tIPH8t7VQTew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGndxabY441KzlrEU9psK4pcoGCIR2oGcljquLCgvAkEAiEAgri44MNpaHLCNhOdbfwKtyCS47mapYAfZVsVqF+uDWw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.90dae1af_1529094595294_0.5529535866586439"},"_hasShrinkwrap":false},"0.7.0-alpha.9f1e5d50":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.9f1e5d50","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9f1e5d50","@crave/farmblocks-theme":"^1.6.0-alpha.9f1e5d50","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.9f1e5d50","dist":{"shasum":"203cf4ef664ba0a0a967d6843f3c3a7f38f55f8a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.9f1e5d50.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-e5qX6yu4sYSNou8WkRAidpe3KXtllnBBT9KjR/FB6qBp3TWh+JDr21KC7TyCZb6+cF6GcNeN5Vk8hY320hRulQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCSRxuwPLKG0lv2ivSi5RaG4vM6FQB6sSVfUR3L3+mFAIgfGwBA9TLAUZLb1wVaotmdvUKuJ6eALue+TFIMIvdZKQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.9f1e5d50_1529096305030_0.5889183952249057"},"_hasShrinkwrap":false},"0.7.0-alpha.f9c280fc":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.f9c280fc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f9c280fc","@crave/farmblocks-theme":"^1.6.0-alpha.f9c280fc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.f9c280fc","dist":{"shasum":"3ea67d753b16bcde0935fc6e6c668beb935732be","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.f9c280fc.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-2ydT+lgiKf7zv9awpKuR9NfmdTGsaNZHh48h0vUoctYtsuAnTcvDbUPODqJbuoNn0uC4/9XRAxHDN8WEpwURpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9WapALSNQh5sIm2BB3VjEHKL49Eqoz5+WkuQHAWWDOAIgHtwD+cwAOMLTb2M7FmrIVF1iUd+dJ2Ufrn/YNVa2ats="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.f9c280fc_1529103023812_0.9777636231859907"},"_hasShrinkwrap":false},"0.7.0-alpha.25243305":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.25243305","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.25243305","@crave/farmblocks-theme":"^1.6.0-alpha.25243305","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.25243305","dist":{"shasum":"ba77f83ba92af1912cacbc708eb5aea89c664b94","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.25243305.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-7Y09V8vBjIgkeZrgumBeTawz4d8FO3kCoFCQ/zLr/eDM8aPoi8hIqp9vuyr+Qm9xJg0QwoXVchI6fKeeTeKDmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbqDtIV9uBR/aKKsUHrtZZxVQeETFK0F4TWZ5gAEasoAIhAIw46PbdQG6NtKE6+HtziUBRA4ThysvnINHq3XWMfPnb"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.25243305_1529331075947_0.31116213840129814"},"_hasShrinkwrap":false},"0.7.0-alpha.b69f29ae":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b69f29ae","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b69f29ae","@crave/farmblocks-theme":"^1.6.0-alpha.b69f29ae","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b69f29ae","dist":{"shasum":"0db6a3d0c3623af8a6858505618dbc60df609066","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b69f29ae.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-QhhxIfwDzqO4fKekeyke3PUhRP6MnqMoHIOVWemm+FCNRTmVtmc28mA3PCFoFnxTajWGfnfTfs4XhCrsB+f+ZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAaWFaQdl7wHTeKMhp3aZmrAX3l96MSfPbT7UXeKq0LFAiEAsyD3Nuzd9+1Uzm7NnnmPFEWrY3pp0V42M9dkJOeq5Io="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b69f29ae_1529332325418_0.5386278436134446"},"_hasShrinkwrap":false},"0.7.0-alpha.ce9d680a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ce9d680a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ce9d680a","@crave/farmblocks-theme":"^1.6.0-alpha.ce9d680a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ce9d680a","dist":{"shasum":"ef584b2639b8e23438b3cff347d893885de66187","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ce9d680a.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-Yc2917P1v18vDkLmNXtCxZBV+Ggs6RiWRPWQt3zVwfRRKS7x2MeO6hE0NQaVNQ5HRjVvvLPyuFy25TtvvZyIeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj7YTIdT0/00RebdodTYBXei+e6DSgcaMDOXBfbudBYAIgd5JsWw+fvKmNcVREU7V0VBXMTcsiSrC+DCWB7GO2Tqc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ce9d680a_1529333351040_0.897612159351745"},"_hasShrinkwrap":false},"0.7.0-alpha.8d708914":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.8d708914","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.8d708914","@crave/farmblocks-theme":"^1.6.0-alpha.8d708914","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.8d708914","dist":{"shasum":"f7955d71a389b65ce253bcef7154aa8d82db8ee5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.8d708914.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-v7HgKx3jujgOjxOPsOqdxiD5dCRABTNQJHmVOKV3LyVwQrvMXCOYHMr9QgcvVldRxsunejJAEGbbtWWcgxyIZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMXjGyYSfAnf/OVGY2KJsiYFgVwDS0AwGFFxuyGfVASAiAFottqeu436eBFF5kLOaVJLtw3jUOJY90bM0iiBL54xg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.8d708914_1529333499508_0.4194759667984076"},"_hasShrinkwrap":false},"0.7.0-alpha.d9684102":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d9684102","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d9684102","@crave/farmblocks-theme":"^1.6.0-alpha.d9684102","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d9684102","dist":{"shasum":"3a77e19ceac97ce996e514a6f23ddecf871d56d4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d9684102.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-vSbRlHqorky0HTwC2O/sk63mRwTrOCXvOMBm3W3cPVrbWpL6vvLvIN9KtAejJ6fz5nQxOHr6/bNrDVGci8pMlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHcBI77UM4CUiJfwiIJz/kbzWY2yAfC6do/Dxd4yvMISAiEA6NT/3H8g8GRTLLB1CvKhMEqJbqGznbMNOoi6zKwetQU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d9684102_1529333748383_0.8371951045898418"},"_hasShrinkwrap":false},"0.7.0-alpha.b60cce82":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b60cce82","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b60cce82","@crave/farmblocks-theme":"^1.6.0-alpha.b60cce82","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b60cce82","dist":{"shasum":"34b7aea680451a7b03af9ef61f06874f8bc4525d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b60cce82.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-+u9LotZ7QnozLRUBrrXFO+CVCbZ7jEF1iVa2QqUWmNZ1MofRCVbjngkZfXwvyZwsX45yXXNxaN/H6KKuhEBcvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXZwbJ6gtIQmYKdCQ2Ik/dmCdgNfudw7tDR1i/DEYP0QIgJ4WzXJYdAfkZF0AyGkV30kDrrvMRlckK8vpsyMJcapc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b60cce82_1529334190053_0.601339449986054"},"_hasShrinkwrap":false},"0.7.0-alpha.482ea003":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.482ea003","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.482ea003","@crave/farmblocks-theme":"^1.6.0-alpha.482ea003","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.482ea003","dist":{"shasum":"9925dca0752d1ca0fb744df691926ad1e9dc8c98","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.482ea003.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-ZwgR+W2RsFFPVSQs4F/vcXIVPE2XN3FPpLcdHg8fDvhhbZQiIxZXxkz9si6JyaobXWSz5I12eNzPjC/TzR3hig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGgEUVORYQXNNS4Nz6BfpFWgQZT5plJodU1MruSPygdAiBuP7G1XkrSocDxcXx3+bOPiyUXL9yLMOUvXDuADYKJrw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.482ea003_1529340828140_0.602898145377265"},"_hasShrinkwrap":false},"0.7.0-alpha.e490da08":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e490da08","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e490da08","@crave/farmblocks-theme":"^1.6.0-alpha.e490da08","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e490da08","dist":{"shasum":"48356f7bc330b3f2f62df84ea2b3a4443974532c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e490da08.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-eBrmCqMHFKnZVRrma/c37mmkwKzYTc/ofOSepRUT9kkpD5qO4BSesh9vr08NRBJLa6G7aGaEHY/50d3BtOi5nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvfiswVG4BWJaarANtO4eFesi3sRYKAk+1Z4m/jsv3RQIhAL1oj3XNiIvcHclAz4BIulryF918IMKkiDdQrOWzzUJP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e490da08_1529352051294_0.36834121264567243"},"_hasShrinkwrap":false},"0.6.5":{"name":"@crave/farmblocks-dropdown","version":"0.6.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.3","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.5","dist":{"shasum":"4c03ad4e3d11ae0d688178c4e0e141eae1d22a91","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.5.tgz","fileCount":15,"unpackedSize":22936,"integrity":"sha512-hRud7x4ORmanyyBHWYUY4g0S1oH6PqNwyQWrwIrD+MVLtmGmottLZVpBhz4Nv/sMKPJK3dM6bitKW/HlpX2U2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCROKPl97JNJ26ud6SBnYEi8RKV+UNZ68t53BhdI0++7AIgF8xTeoLsIRj0Ztn0DJdG4wVyC99iIruHz9P5kRE/U6o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.5_1529353823431_0.5752827395072957"},"_hasShrinkwrap":false},"0.7.0-alpha.012bbd65":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.012bbd65","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.012bbd65","@crave/farmblocks-theme":"^1.7.0-alpha.012bbd65","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.012bbd65","dist":{"shasum":"0272e3fbff94e541863933b9ab790ff64921ea65","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.012bbd65.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-UPsAkq3vhPiWNqsj3tm1IvBERiaVW1zpbrBuglx6I5QQ7ua2aGrJxLcDc3HCdzQFWxjYDoux1RLmMDtH1lGNjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcpq4L3WTWpOBjZQmeKLB0Kno3AjGod8BocgbE2goMFAiBPZF8Aa2+BjleStLeIILzBrIkEa8RuY1K0pNJaVpEu/A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.012bbd65_1529354915839_0.20782538163108155"},"_hasShrinkwrap":false},"0.7.0-alpha.d196f55d":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d196f55d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d196f55d","@crave/farmblocks-theme":"^1.7.0-alpha.d196f55d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d196f55d","dist":{"shasum":"e10aa69ab5070678f71893b5f22b4bdcf6d6e1eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d196f55d.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-LKa1DKve2ACVwwyqkGgL97E4QvYb75PF+m3ShwzdnvBG04iW1FQVVXOLsG7gYaQHjfJvKC8lLzTGOrxCXH8Xaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGg74+Z/vYSFwxZEVMqC8Hp3Vlu4OudvW6byCfDnuSabAiEAx0cDGx54PIQ47HPKKzG1pfwuPueagJcqrA3XuLvjruw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d196f55d_1529356052349_0.30374882564330585"},"_hasShrinkwrap":false},"0.7.0-alpha.4dceb2e5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.4dceb2e5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.4dceb2e5","@crave/farmblocks-theme":"^1.7.0-alpha.4dceb2e5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.4dceb2e5","dist":{"shasum":"7f3dc13d4c6ea9c6b35229e967af9ae6795b6c8e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.4dceb2e5.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-fLDw4NdJ/YkBjYWnkRAaF5mtyYzULeRxltTT2VffF/FxB8ZJ54OBM+9uX+P4Yh8Q149LzFgJPbP9nihgEBCIUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZ4/8qetYZbAJnq14AkBQwozVdpnWZWeEq7Lv/yrQSBAiAO+kcp+3ygkyea0Lg+2qM+8LQOPVJYlsKGYMCck4yCUA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.4dceb2e5_1529356070006_0.07132666155928402"},"_hasShrinkwrap":false},"0.7.0-alpha.df743bb5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.df743bb5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.df743bb5","@crave/farmblocks-theme":"^1.7.0-alpha.df743bb5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.df743bb5","dist":{"shasum":"313b063f8526b1ffbfa437f484ef42c202842e86","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.df743bb5.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-zPPuSiIBlIWQf7Ij72/62o/FHd/Jx9j9M7LShxiBwYnhk9LeURfakthJWDhdOk95kr8LMOmXP/9w3zDUPhAjlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLHG7q53y8/I+ZS1Yp2/qXAvzHSvp8GuN3J73sFuFS+wIgGlIHjYrdaXwjLaAtVrQs9g2IJzRLvIIkqqbHh6m3LXs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.df743bb5_1529425654106_0.952262549864902"},"_hasShrinkwrap":false},"0.7.0-alpha.0f95a3f8":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.0f95a3f8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0f95a3f8","@crave/farmblocks-theme":"^1.7.0-alpha.0f95a3f8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.0f95a3f8","dist":{"shasum":"271d12b245fb372161614e465dd9618fbc03dc78","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.0f95a3f8.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-u/JrJJM24567HgJqu/VMuVodQ33V+Hn/O9JxfyaDX5FVu+Az8ZV4eVsR0vq7Kg9yZJjfu2r/FC8NLdtFqt7fzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC69cC8LdJwtf+twA4sC8wfS69OkdruJROKq2UbgSclswIhANivlgmFcQxI/0deej7NQRdipYf4EmPJhhx2uZArOFLN"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.0f95a3f8_1529426339462_0.5937822145410567"},"_hasShrinkwrap":false},"0.7.0-alpha.093723bd":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.093723bd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.093723bd","@crave/farmblocks-theme":"^1.7.0-alpha.093723bd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.093723bd","dist":{"shasum":"93a304008cf90b4ecf535d08758f128346bd4cdb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.093723bd.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-G66wVwpqOXSye7D89TcHvlF/+Ia0hZix8AJiGCKaG9SaBFfzqMckdmHu2Ux7yAxG4LaEWCpAUWqTd/gOTVYd1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH6/1yvK+QIj38hEeKarBSBGG4zX2P1obGInWstpUmQgIhAL5lxf+UnLfLhgzp7yYA8C0KbaZ8agPOhMuvgjN8f7w/"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.093723bd_1529427780865_0.4425746566319171"},"_hasShrinkwrap":false},"0.7.0-alpha.029d6be5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.029d6be5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.029d6be5","@crave/farmblocks-theme":"^1.7.0-alpha.029d6be5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.029d6be5","dist":{"shasum":"2baa7110ac54762843a3e08fd12db38ce02b4295","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.029d6be5.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-OlLoI5eYnoX1tjkCYPKt2O+0VZ3SVqdxvdc9F9EuwF3B+9GenVFTaO/l9EezfL1L2YvTrJwB0ZUrpnnfqwzryg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNJd3IZ5hiWb9tzZs4vz9n9nRqCKwEmPJPhRdVJHJoUAiEAtS8Mw/dVFFYodTAIMBpH0wu8Fi7LevUjTRWyT+X6yYs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.029d6be5_1529428509102_0.011295185025192334"},"_hasShrinkwrap":false},"0.7.0-alpha.d5b210b1":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d5b210b1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d5b210b1","@crave/farmblocks-theme":"^1.7.0-alpha.d5b210b1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d5b210b1","dist":{"shasum":"c91d68abb1f34a07802019f948d1c0a1d70c311b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d5b210b1.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-7WB6Fj89n9STcShFBcMoBDiiiwR9Gazce1Fkv7Uji8Mt2aHOdkMJDZ5F3W8Dex+rIgebHB/6/Ya2XkbhOAI0VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsfam0h6mPeVTRUChx+MDCwG4GBc99IL8uXdm9BFNtPAiBY7w84ZkgNqQKIjGfXvY9LnIE+ZJqG4Pq6e4NY65Zu6w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d5b210b1_1529428585851_0.28824572837360685"},"_hasShrinkwrap":false},"0.7.0-alpha.d601a802":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d601a802","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d601a802","@crave/farmblocks-theme":"^1.7.0-alpha.d601a802","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d601a802","dist":{"shasum":"e19a86b48d11f6709eedd8985c578914c79d13ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d601a802.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-l5Xr1UV63NVaQERQyK8NNnlN+cYLp2Ehc6jkTaXa6MbLHyczXucCqR/S7WbWB2Ti420I1yZEWvb9mDihG1jvdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC05HnobpSbBWSUstKj1kHxZaTDtEGUUmwWEO3M1uPFogIgXCWkUEfJl162Ao8FwXetqbHlO5rRiU3AOZQPq+BOY60="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d601a802_1529429129833_0.37822793748563255"},"_hasShrinkwrap":false},"0.7.0-alpha.87d58a89":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.87d58a89","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.87d58a89","@crave/farmblocks-theme":"^1.7.0-alpha.87d58a89","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.87d58a89","dist":{"shasum":"c7ea71ccf404ab64c9707917dd0376f5b8ba9732","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.87d58a89.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-O6YUV8d4rWyUhMnuMV1fhObZPlGutCu8X6V5FZj+nZfUrD6qxKqX+zzmGi8QoONwXJGT715DOU5zy71rgSvQXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHM9AcoB4pRylfg8SSGK4wCg/WQXyK2KkomR7pskSF0MAiEAklDPrxCcqPx4HTt/MnSag4bIYgEYcU2Ur0AwDY4CVi4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.87d58a89_1529429152927_0.7836971841604772"},"_hasShrinkwrap":false},"0.7.0-alpha.1347baf4":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.1347baf4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.1347baf4","@crave/farmblocks-theme":"^1.7.0-alpha.1347baf4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.1347baf4","dist":{"shasum":"901ac53776024d312b54ea3f2cb6565a0b76ec1d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.1347baf4.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-FW8zZuF0qQbCF2ilSLoXgqKjXCxqEkY+8qWsRLToTA7070CVOtCGD5LOCsy8bvKkiDVcV3HdlD8sH8eqgcufQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDr+Vuy+zQbBFfOGqG4dmJYUg82r0CejqDsIG9rgpPSmAiAF3M1mmFJd8RHEYLxzsi9y69zRslli1ofFF8jKkXtb7Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.1347baf4_1529429322832_0.226010019530688"},"_hasShrinkwrap":false},"0.7.0-alpha.7833baa8":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.7833baa8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7833baa8","@crave/farmblocks-theme":"^1.7.0-alpha.7833baa8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.7833baa8","dist":{"shasum":"89a9f9f67f255c575153de68834cc433fb94e041","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.7833baa8.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-De6dWC/DTeO0MJrECkpiwupKd4D6qaQfNh6X8QmR8jEmQNZQoND99t9ljw4WNgPk9inAHcE9q6hYMqfisM1e2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxEz1GcP0yzsbszMr+0tVVcSRnHqoZMpfc1jkHgie5hgIhAJWjLB7e6t97Noa80UFRPbl/1LcKnmbOeKTQEvYF+Z2j"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.7833baa8_1529429677407_0.03375867577691416"},"_hasShrinkwrap":false},"0.7.0-alpha.c05cea18":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.c05cea18","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.c05cea18","@crave/farmblocks-theme":"^1.7.0-alpha.c05cea18","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.c05cea18","dist":{"shasum":"8d633ecd1d1ad31d8b42bff54fb6ba23798f8dda","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.c05cea18.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-26bZ/TtKPqSOqh1YiVWIJzcbf18n0BDFgl6KQCw8w8vXEa/cMH9UuT/M4CVxfV83gsmiBuik2eJtg6TmScK0Dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfGH9wukZRigtNNTqN32So3XShWzXDRaZfyh9vYBSVHAiBAOd+sTMoJhMMgYzfWYN78Efp00F7Jk6gINncc/mPg/Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.c05cea18_1529430158129_0.839187957973015"},"_hasShrinkwrap":false},"0.7.0-alpha.854b6ab4":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.854b6ab4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.854b6ab4","@crave/farmblocks-theme":"^1.7.0-alpha.854b6ab4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.854b6ab4","dist":{"shasum":"8d2795c98f72d15d4eff6f91a7fa7c248e6ce5f4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.854b6ab4.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-e7TjEaW01nrGI8nlCc6oIVSqERqKHGd2qSI0UhACvMDHhoiHV6n5r7hMPZMLY0JWGKjKOvhkUsY0Z3RjSz8Geg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7bb/CWJW7M9fsGAfLWZFTTDjFbHNGVUcKsFm20+AOJAiBygfFygCl0Fd2CKCGCRKSXLbd2rtIOV/GpWQN/qHjoOg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.854b6ab4_1529433497326_0.10251014891551313"},"_hasShrinkwrap":false},"0.7.0-alpha.b050c5d5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b050c5d5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b050c5d5","@crave/farmblocks-theme":"^1.6.0-alpha.b050c5d5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b050c5d5","dist":{"shasum":"63918a480b40c002813466e35a58421db8c0b301","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b050c5d5.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-q288FuKmbwIi7ySZaUKmCLSBohJUA1uC3GSvF7qFzrirIIQbkE6ymgfk+POoDOkofjkoEg9aRDqRYh1ihsCN0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaSoh2J04s1qwP8975sDfBtaMRWEUmeyGl1Rzs9PaG8wIhAOybk9NUyvS7nMkpuY94QQinj2LheMVGomBslT045MpT"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b050c5d5_1529443021389_0.2562806702708944"},"_hasShrinkwrap":false},"0.7.0-alpha.718793ee":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.718793ee","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.718793ee","@crave/farmblocks-theme":"^1.7.0-alpha.718793ee","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.718793ee","dist":{"shasum":"e580d0be8877eb952be50a1dc1d042a0f551331b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.718793ee.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-jVLUzyN5sRAV65aZ3/KhI8CUcGxqFHAn0dEPqZDKCuo+YcomgF0Utb0FaQYilvxnJmt4SnyTeaFe3HC0IDCtpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNgRFabeIThoi0u7eKf/onmy1dKrlYx8tAYpVH7fw/KQIhAIy1HUR6YiEilu+iibgPZ7QTutqTkKKezTRz+6LL9Qak"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.718793ee_1529498729775_0.8904338854113119"},"_hasShrinkwrap":false},"0.7.0-alpha.5d1d8c42":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.5d1d8c42","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.5d1d8c42","@crave/farmblocks-theme":"^1.7.0-alpha.5d1d8c42","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.5d1d8c42","dist":{"shasum":"1d5e919f0a5017b63581b7a803293da68adc34f0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.5d1d8c42.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-1N6XFjHTQFEdeSuXDwyw6oKRXMK1RRijDtKG2VnUzRQfDxrH34cOmknCac5St5KPM2eLQ32Wo8gyLsUenb0j+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbWpiSwsUtZMJgxd/ug+0xXM/WEzrbL5fsFVb5wjxTVQIhAKlEEQQHeI7KA/6DBDIQ0PattUxHVfppJr5UwqOZhiLn"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.5d1d8c42_1529499320502_0.7536687158004614"},"_hasShrinkwrap":false},"0.7.0-alpha.d943481c":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.d943481c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d943481c","@crave/farmblocks-theme":"^1.7.0-alpha.d943481c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.d943481c","dist":{"shasum":"57446a934e72fa4fbb5d1304ad6c4dbbdf56a57c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.d943481c.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-BSQTfkdQVpzG3Tu+CHK+qVmd48RPOouDhgRmleQMP5JqX0ncx+Pn32jvEfqKZ/cveVc73sd+znfycetUg91DNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvmN4IMvDUyM1bo44oKo5MEvqexbH8mjt/8jEkccJNiwIhAOz+W3u8wOvcQFZj77raknZVpvNpZP5SCryr5kqbO8HW"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.d943481c_1529508159314_0.1342765996762043"},"_hasShrinkwrap":false},"0.7.0-alpha.f2eecb53":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.f2eecb53","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f2eecb53","@crave/farmblocks-theme":"^1.7.0-alpha.f2eecb53","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.f2eecb53","dist":{"shasum":"0cff20767a2eba843457b70c5a5efa8dadc063e3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.f2eecb53.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-+L9oFgAlPVpLmus2nFCucX3NBy0YVlQstCOTV5s5vQoBe8N/DeDr9vx26Z+RZQszX2IJc8pLtPR5ixE8q0b1Wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2E0+JkJ0vx6TABrnjWFp8yJOrKGhENe/Ek3uOOGuTPQIgZGtHtTa5kPrAeYU69gsFl63NK3OjtO3xhDlms4+oHuc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.f2eecb53_1529510060206_0.6906133096682505"},"_hasShrinkwrap":false},"0.7.0-alpha.7ef110eb":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.7ef110eb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7ef110eb","@crave/farmblocks-theme":"^1.7.0-alpha.7ef110eb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.7ef110eb","dist":{"shasum":"eff0f43d3ebc61f32f9b4f5edf7d7052afb50e9c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.7ef110eb.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-zArsrjvDoVwv8iZ11vDQmwArlX1KPCSrjfMXDQNgo8UiRxms0MORylDWAAP7k3aO7c17enxLprBysjl1no4gcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOTwnuWXJBN/54YwJJmgb7awIAQjqaQ1k5T7z/8+/lNgIhAI8hkpye/tr/kEyY+xJUDALkKnLclUs16o1fbbZyGBpS"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.7ef110eb_1529517856220_0.2724492511882781"},"_hasShrinkwrap":false},"0.7.0-alpha.ca4facf5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.ca4facf5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ca4facf5","@crave/farmblocks-theme":"^1.7.0-alpha.ca4facf5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.ca4facf5","dist":{"shasum":"88784b610d8bae36a17e4043d4c4319177025994","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.ca4facf5.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-8n+kgsC/cutBtnd3VD3y0sLo3z80KugDym/cjdUPgIeh4dBSaJQ1aVX/6hiNQD+EZxuVWA3C+IJQZipAOQXd7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxiMyawBS3UhqnYj48aACiz/jQKfWtHIteavPH5WsXCAiBKqASJ5xKp6G1iNYGtQMru6yYETi/6FTr6MTUyDKlQNg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.ca4facf5_1529519565284_0.062410319253453084"},"_hasShrinkwrap":false},"0.7.0-alpha.b04e33fa":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.b04e33fa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b04e33fa","@crave/farmblocks-theme":"^1.7.0-alpha.b04e33fa","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.b04e33fa","dist":{"shasum":"302744da8c831ce4e7a5af6cc58287d47da4f7b3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.b04e33fa.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-8bGCODBnbsBeQj+3bAzbx3gkePZPbeh9NRYVVcXPTPuvykii57w2u3JdX+DGj5j/e840q4tMIrKb5xVL6ux6rQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVMfv04Jk/xxJQKLu0dndowyi3yeYaZT0j+bgZwhuDLAiBzap9kicW4g4Ak0T5qM5LYb8kdzwnDOhIC0fl2xHt9Wg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.b04e33fa_1529522230942_0.8605179255016024"},"_hasShrinkwrap":false},"0.7.0-alpha.0eb796b2":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.0eb796b2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0eb796b2","@crave/farmblocks-theme":"^1.7.0-alpha.0eb796b2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.0eb796b2","dist":{"shasum":"4dd99163281138679d8f6b687513160b868b2bb1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.0eb796b2.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-pe9MLLTsT1t6YGOfd3C2J+JjSeg2adOfEY3baoFL3pR6aUylAo5m8fmBK8PB6Xs7iOjt44evZCoAOGscMNbECg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUGVN7Wt+8CKuiu+JBHGVGBWGLN76//bIfEOYGQrBvEwIhAMMPN71RicetlqWIGQjSajyX4TpmHiiZNa//MazNpKJk"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.0eb796b2_1529522454383_0.3052514255802443"},"_hasShrinkwrap":false},"0.7.0-alpha.c04ef9f7":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.c04ef9f7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.c04ef9f7","@crave/farmblocks-theme":"^1.7.0-alpha.c04ef9f7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.c04ef9f7","dist":{"shasum":"3bad5b4ca6c9cf4aa2cd9729d04d467c7e77d4d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.c04ef9f7.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-G6vuasvg9OeooV/pCg/f/ScCbkEyV6fB5Ls0P6AEee3scX8pe8LiIWTGXsogLRgUprpeNh/uXWtG6XJhCPQajQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhgJ8nP627MN9e3735s6EKAB9Fe4EATiV3eebPtveoCAiEAmmNwCe9wilcSQ4OZK1oqD+kmfSV9ZhHJbbWoB+V4/Ls="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.c04ef9f7_1529522666810_0.068612761696067"},"_hasShrinkwrap":false},"0.7.0-alpha.0058fd7f":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.0058fd7f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0058fd7f","@crave/farmblocks-theme":"^1.6.0-alpha.0058fd7f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.0058fd7f","dist":{"shasum":"74d2f2fa78b1ccb9eac35988b6d4d203d89f2584","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.0058fd7f.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-/i0Ck2b16qqieILS6cpRE8OxvG4yydPidcjwvwZEAp8yzrQvJV43+e+DKndvupFlQukGZIDvJtiCplInj/3PSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRgVuJOGUqKl+VU1hycHCE3tzb6TRrKADPqU9QD7lyfAiEAgNKpp/x1NjpcbcA2np1teSmmLuCoejv39BQrh/jZmuo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.0058fd7f_1529607076789_0.2970637144202908"},"_hasShrinkwrap":false},"0.7.0-alpha.613ea2eb":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.613ea2eb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.613ea2eb","@crave/farmblocks-theme":"^1.6.0-alpha.613ea2eb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.613ea2eb","dist":{"shasum":"fa473861990a196cc7d8d740755862443ca23e14","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.613ea2eb.tgz","fileCount":15,"unpackedSize":23025,"integrity":"sha512-uHGnosHutvENYYPrnXxPPniSRqyBwsYgRwYyuiP/RqlQQI0mwVs6IF7aRlb6JI1d8ExSGlMbUJFIbLb3ytJU8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMweI/+pq2YDmQkPkc9G5sneZSDdSPCp4rXipNtNnOgAIgRlMUcJa53FmjS7GDOBcDWxvZuo3DTu9rSruohVC+CG8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.613ea2eb_1529613646005_0.6861550201105491"},"_hasShrinkwrap":false},"0.7.0-alpha.bb7177a5":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.bb7177a5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.bb7177a5","@crave/farmblocks-theme":"^1.7.0-alpha.bb7177a5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.bb7177a5","dist":{"shasum":"dbb31ab40a677fa73e935dc462e8bdc1ed658cef","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.bb7177a5.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-O4muF/uRW2eqRO5MLsaxNDIe0EeoRxsbDn1I0zgnGaATNjIm1rjLdJnLDR9VRujbYNsVwf7f4ApveXtYZn/AHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmQWU4j73cIbZQ2pC0XEU+UHIqdb8FnsJp96yIJjIoTAiEA5v3mGff3UKb2fRwON5MG91+Hwx9gfD2VhuJBRxak5VM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.bb7177a5_1529614547713_0.47417171713227235"},"_hasShrinkwrap":false},"0.7.0-alpha.8d320877":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.8d320877","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.8d320877","@crave/farmblocks-theme":"^1.7.0-alpha.8d320877","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.8d320877","dist":{"shasum":"be155ef27007f96eb802ca426d5db3a90730f82f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.8d320877.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-DQ9ifJglfjYhnDsco25wz/0nio7H3rfsGg2bTDEAy3jLH7Mmc70B11dTuhMW57Tf33V8GupH0BDTMcHALI0uVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqECHC0Ka3P2e4ShpmSShqCnZSH9sfL3aFEtoK/OJDWAIgCQaxjX7+4n2bhiNYZA0F9jg18ayt2gXIhr2iRWudL+w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.8d320877_1529615647974_0.038287812685504186"},"_hasShrinkwrap":false},"0.7.0-alpha.02d0d009":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.02d0d009","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.02d0d009","@crave/farmblocks-theme":"^1.7.0-alpha.02d0d009","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.02d0d009","dist":{"shasum":"802433858c2f595ebebe6c4b02307f1604831807","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.02d0d009.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-NhgCTITnCkEdV6lA98GvVCMr4n66d0OUx+5yPpyCPvAWKEnAiPgt9aWJDADAFHBCaoS7EIuAt5omrBt2xlWc6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYWVZxq7sTASzF0VJdNvFdwCY//EfVHFYAHEkvpuKm9AiEA+9DFWHAO3mu7SOtewYXQoTFlN/791NmAmfEbHuMo5A4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.02d0d009_1529676775044_0.9779292248548441"},"_hasShrinkwrap":false},"0.7.0-alpha.dff13e4b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.dff13e4b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.dff13e4b","@crave/farmblocks-theme":"^1.7.0-alpha.dff13e4b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.dff13e4b","dist":{"shasum":"ff15641465ce511b3b0c00906950e0c2b1276ea4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.dff13e4b.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-emxNMGMudjOTTue6cXEoOFGMdqp2vsmRhOctgrFHxdXoNn2Km11gpaVdl8roTJwMEATQkxCooMAdqN4gqnKLXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChY1uECtiagRBnIS5Ls0pU+6memnjaXUGDJXLgQFqLQAIgekU3r+3W1mHNl+pubhDDH/0ZyP72ghL37iqXuiQ+Y2Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.dff13e4b_1529676909969_0.5042227094770304"},"_hasShrinkwrap":false},"0.7.0-alpha.7a7e55de":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.7a7e55de","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7a7e55de","@crave/farmblocks-theme":"^1.7.0-alpha.7a7e55de","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.7a7e55de","dist":{"shasum":"de07ac10c6f21896bfe29729c7a667756eb2a86c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.7a7e55de.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-uxliOElSTUHOvMYfAPbBA9C7JgH+KtgGKruPnzX+0B5jDV3Qiqrhk8MDllg7oHVF/FLVMM+O7seEAQL0hZOvzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTmTya9SUR+UCnMa7MVF3TJ/jUtRGq9k+dCE+9rlD8HAiBdJxo9HG23bavqCkokg9dmv7lV/Ux11V0Y9pLIqGfL6w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.7a7e55de_1529678911812_0.6382457744591166"},"_hasShrinkwrap":false},"0.7.0-alpha.21d19d43":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.21d19d43","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.21d19d43","@crave/farmblocks-theme":"^1.7.0-alpha.21d19d43","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.21d19d43","dist":{"shasum":"d8bed4e6f9b11a662bd5c97068a337625f60da09","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.21d19d43.tgz","fileCount":15,"unpackedSize":23259,"integrity":"sha512-ZW4xYAJBIrmZaFE3ilIvO7n2H4ZaUcQedxs1E/uBdHMhtf/y2EeiaaV7jXvCxVY7Hs1Ex1RdDVTi16KLfA2hgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR6cHaq9s59aR0aNC+lk6IAUO2z/0cC+65vAotWkeTFgIhAIywIAcjgkznVWx/U8qOIaIeDF9saHjJkh2UEFwV3ovJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.21d19d43_1529679156397_0.4968319543627875"},"_hasShrinkwrap":false},"0.6.6":{"name":"@crave/farmblocks-dropdown","version":"0.6.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.4","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.6.6","dist":{"shasum":"1173faa0a8c6c0de00985ee319546cf0d2dff380","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.6.6.tgz","fileCount":15,"unpackedSize":23170,"integrity":"sha512-lZw3X23eWWT/pwvzP1Q0nWO02gVdxZfBYXX0eiZQryuonQTFsyMtdJeV+k4E4SgwE1omjB57LlbbLG4Xf4LQ6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVPWOoxnbn8k31HkATIdk039u+Clm0DZvtRyPWEoR2YAiBS6r+zLhTZaZR9wvX4JrKi9Ii/jDT8bOkYFhSm/40iyQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.6.6_1529679848591_0.36429010915866433"},"_hasShrinkwrap":false},"0.7.0-alpha.9b3b0b90":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.9b3b0b90","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9b3b0b90","@crave/farmblocks-theme":"^1.7.0-alpha.9b3b0b90","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.9b3b0b90","dist":{"shasum":"cfdb458703f1d3438ad1adcd0b29d3cd3bfebf50","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.9b3b0b90.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-UkKn0RYUGyBtMk5lqUjbw/ZpcTtRTBTpblqtLyRaxdAhGVpbZZYG6VCY2t06y7A02BCmxpSY5C7GbxQlfWTNcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwLwtbiFUU71LX6jirE6gu7yTUXvkOn+dG/3tOuY8hbAiEAtNdd5f5WQt92tDfaAFImjkITZPyooHmHN3A6VjcfHoI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.9b3b0b90_1529688832058_0.1962072309209817"},"_hasShrinkwrap":false},"0.7.0-alpha.2b5ec8e7":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.2b5ec8e7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.2b5ec8e7","@crave/farmblocks-theme":"^1.7.0-alpha.2b5ec8e7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.2b5ec8e7","dist":{"shasum":"2c0236ec103983d6bb6fabe12669afcd68c3459c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.2b5ec8e7.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-6M/Czi1eBV+tbMcg02D/8j5SjDWAVm17ZKoEzPGLA/QNlX77dwIbZiDoD6OS9IFK+MGcFzWzHAJYY+aBTggseQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh7exayc0lSbM5dbj4jpd/mHU9a1JDDDt7DvHHT6K7fAIgKXVKNEHiz2EcRYX7ExRP1cZvDXPTh7oe8ArbTZwU318="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.2b5ec8e7_1529731221178_0.1519696929450809"},"_hasShrinkwrap":false},"0.7.0-alpha.e8e2fb99":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e8e2fb99","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e8e2fb99","@crave/farmblocks-theme":"^1.7.0-alpha.e8e2fb99","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e8e2fb99","dist":{"shasum":"4ea3ace93251326427cac50cedf3067449bc2476","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e8e2fb99.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-NsRS7c5DZzJK5bBSdzUMCvXK1Jy2GX9VVxko8xULpJ5FPuUjBVdQz9TlzszPlxafCCPCK+/6PQZ7tWbk6aFZVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+AicCafuXC3tkJ2yde2D1liE//naf+9ezUBq+OkbSEAIgW/lbzkZXoCPOzVTprQLZ4mu/EHFMPdSX9Xh/M8XWPuY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e8e2fb99_1529991355104_0.18273275416598045"},"_hasShrinkwrap":false},"0.7.0-alpha.9246a390":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.9246a390","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9246a390","@crave/farmblocks-theme":"^1.7.0-alpha.9246a390","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.9246a390","dist":{"shasum":"9724adf43b18d74198c6f82766ca2dde51a065f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.9246a390.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-fuxyxEuaJfZx6zVv98FTFAmvALVgAWOij+AUGB6yxhcSiQLawFEReiEuxBMIr1lfjqAVhs8EWOLh4XuJZxi3nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlOZMuftYh03xi+OhNvP9xX/PXOdfCKsLg/7j84bSzqwIgHK0EEpk+sD33Ae+/KTHQf8NarbA7G45ccxAeq5AeHlg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.9246a390_1530034311701_0.34812944319526373"},"_hasShrinkwrap":false},"0.7.0-alpha.6e5fa181":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.6e5fa181","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.6e5fa181","@crave/farmblocks-theme":"^1.7.0-alpha.6e5fa181","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.6e5fa181","dist":{"shasum":"ef055c86a942f1e5d3271100217cc78c446b3707","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.6e5fa181.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-UqVJTaN/Bl2Wqt3S8PGlBTdIb3vY+igIhxznRYUVpeoscm7qJS1fdsgxPy4X4pZCCAgFcytHTJguA7jsFWlOqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBceOJf1ttawjpHzzFXLJY4298FXuXyfw6YWJr134OrAAiA6qoakn8EUiEv1N16n+ulqf3IegKr0/UIfzCN/ffasSQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.6e5fa181_1530036259851_0.5720197279375838"},"_hasShrinkwrap":false},"0.7.0-alpha.11f9c2a1":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.11f9c2a1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.11f9c2a1","@crave/farmblocks-theme":"^1.7.0-alpha.11f9c2a1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.11f9c2a1","dist":{"shasum":"e0eead79de032b8d4cdc9a09d4ed2ac0cf96960c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.11f9c2a1.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-HZXK9hAwfTaSPhUI0WwsSJPmKEoBr9uXoTIwCj1dv1SQsgLHlzivgK2q1f4sItMyrZOsxrtg7tWaDcgUaSnQ4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEs2l9cl5vGRysyC78FcIDCyHv52qZ5MrYF5UOpvoaDzAiEA7kwCHF1Cj2QjqF+Xs7cspho3xPSEMHU4Wxx31AAC9vo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.11f9c2a1_1530100609108_0.39266226412186955"},"_hasShrinkwrap":false},"0.7.0-alpha.1d876ca9":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.1d876ca9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.1d876ca9","@crave/farmblocks-theme":"^1.7.0-alpha.1d876ca9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.1d876ca9","dist":{"shasum":"3a671d41873ed088ee44a2e1e94191638af63a79","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.1d876ca9.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-qOuY+XPuKWMcBJS0KyLX/4HCCqJBMnfNq8xmJx8VbUbz58v+7qA83mCp4cHnfGjQGzvwRorwIdPkdB3ldqb69g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTxsv1za2TIpIJx98I0NpiWO/DA7RF8jFF43k9eq5yxgIgTcO+Y+RyyG4RS2Fw1OfloNWPb6MgVe5ZLI9f/Cw7Exo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.1d876ca9_1530117668916_0.7476781701380066"},"_hasShrinkwrap":false},"0.7.0-alpha.df1c343b":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.df1c343b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.df1c343b","@crave/farmblocks-theme":"^1.7.0-alpha.df1c343b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.df1c343b","dist":{"shasum":"5e16c354f1bb75318826dea795bd5af3ac783938","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.df1c343b.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-Ume8g7eN2Thj0W0dtoH/4BqOvjDtHDpYyhXVQjMjhuyqrc6OLW00b6NZhtwkuat9Z2243832/KkY1beLSSKt+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVDXvOUvyjE3sS+zv+r1WzI3Yec+tWy1Bp3cxXHuJcfgIgL8xtaZt2yoLZdTe8LX2LlbUqISLzzNQS685HXMXK/9w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.df1c343b_1530297346879_0.4003033479889282"},"_hasShrinkwrap":false},"0.7.0-alpha.74ad35dd":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.74ad35dd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.74ad35dd","@crave/farmblocks-theme":"^1.7.0-alpha.74ad35dd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.74ad35dd","dist":{"shasum":"7b929d8605e00d916b44611a58f1e759420f3b79","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.74ad35dd.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-npTCenli5bEaP4L/bxyjVoWbVL4h/AWPBLLSsEp3A2lqoY4/GLYMpujaIh0qBx7W9Xbd6dazs/iX75FIJSyY1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFwzlIvw1AG4TtmNVsrqNGT6FqnWObMeppcT7OBitmOAiB7+ais4acWhkEUrzbCEBn0hoGSdQEBykt3TKYYJV4uEA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.74ad35dd_1530537446820_0.8094104895334122"},"_hasShrinkwrap":false},"0.7.0-alpha.3c7edc88":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.3c7edc88","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3c7edc88","@crave/farmblocks-theme":"^1.7.0-alpha.3c7edc88","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.3c7edc88","dist":{"shasum":"a7994ba28ec70a339dc3533df6bb767d449e60c4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.3c7edc88.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-QTEMuQZLEAAvQW3TxP9m9vYUV9y7YQmZ4uhYEODO3MiJ1C3C+aRMxJLZakbQOTh4r6GKfmCxWZxfsTEIjim4Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL3VAlOSqrnGl6LWG71jUZzdYYK+ttOfoCzd0uDn2AEQIhAK7tyOvf6kXpv4Nvax860TQa0XU+b0z59u3oBmNd8f+0"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.3c7edc88_1530538708414_0.6728101248530247"},"_hasShrinkwrap":false},"0.7.0-alpha.bd6ffcf1":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.bd6ffcf1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.bd6ffcf1","@crave/farmblocks-theme":"^1.7.0-alpha.bd6ffcf1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.bd6ffcf1","dist":{"shasum":"b9527032f08354fd76f65e9837d8f04eafdcfaf4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.bd6ffcf1.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-XkFkiID0bkjzFn8sTgFLHNjxZNogWz9Vcrddsqrj2UPef6cM3dELT2Lu7A1Q/0MZF8ybDeo3Q2TV/o2GRy/CCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6BZQ3yr9i4Lb/pgZBQO5G6RvIhjxzRuyz6sNxwK1FrwIhAL/HDjLRdiO+lKGP4VbaATQGXSU+MN6ywirzD6/XZZuA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.bd6ffcf1_1530623026175_0.9232916633821289"},"_hasShrinkwrap":false},"0.7.0-alpha.77ca0056":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.77ca0056","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.77ca0056","@crave/farmblocks-theme":"^1.7.0-alpha.77ca0056","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.77ca0056","dist":{"shasum":"206f8f3d413103af0e9e7acca39f57364261efe3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.77ca0056.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-kF7fEAeI1ZZYVLXculudDe/raFLBWjMhfCBQwuTTFHifbXuQqMmdDXWje/7W2Hu5ARgSIKB1inC8rY9WvopwKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaRGfUl9DpH5khBlySo79IoGarqaSaRUEW6IVjvt6N0AIgH8I8jA1SY6bHuwOqNuUx/FIyZXUCFdjsnNLf4RvkUTA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.77ca0056_1530627742584_0.1531129594489231"},"_hasShrinkwrap":false},"0.7.0-alpha.39aa4417":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.39aa4417","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.39aa4417","@crave/farmblocks-theme":"^1.7.0-alpha.39aa4417","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.39aa4417","dist":{"shasum":"a9ee23de1f6b9f63f630d8610805b7d36190fdf7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.39aa4417.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-Ue4c0HN1dI/QrCUy1a7RUTZOTynjdyBgP07qn7abcr9zR2VGpOdXvl1xqKXX/7hxQhe5xTw3RDF+AFG2sy5nxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6ytlTQJZ3W6JBYQZtNWpfpUaV15bH14y6XXMOmaZ2pQIhALcJrnRJ3J1ESlqvvpJGCw0N77x4GbH9rcQdlrlXFInX"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.39aa4417_1530634989218_0.12440688830286906"},"_hasShrinkwrap":false},"0.7.0-alpha.eb30fee0":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.eb30fee0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.eb30fee0","@crave/farmblocks-theme":"^1.7.0-alpha.eb30fee0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.eb30fee0","dist":{"shasum":"83fbc63bef7fe7d1ea155ec828d0b4e0eec2ad55","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.eb30fee0.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-S4NKcCP5slUg8jeq8Jim/Ehru2STXzWflovHCWKWM1AyLhXpR3K/lmDfJZ5oHD8TxcyrguuG2i1bw9tDFHUegw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDViIVvZzDwf6NjsIdhWqLhvCzb3GKobkDd5AHr5tAF8wIhAPxYfahsBy7vxoqBpy88vsUXnmsYrWPBIzOwj8qYuCEt"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.eb30fee0_1530641107575_0.8695809892752144"},"_hasShrinkwrap":false},"0.7.0-alpha.079f6b9c":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.079f6b9c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.079f6b9c","@crave/farmblocks-theme":"^1.7.0-alpha.079f6b9c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.079f6b9c","dist":{"shasum":"d4dd692b7101569dd2ac44e9e1a6b5c4ba21bd60","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.079f6b9c.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-5xtDkaPUgW3jHmOrHNEzat0SF17MLpmq29mSNt5jLG5YAWKV7PA15JxQ9ZqOa1DHf6ozeLpI+BpOdDTDfwDm5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAm2B6DPcKr/sdOoQqDTM0h2oQtmlSLsI1pobm8f+HfNAiEA63Yya59Kjh+pERHxf3/Vhewk1lr4mKS7ZIGsaCEQl9Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.079f6b9c_1530649451972_0.4539867034139111"},"_hasShrinkwrap":false},"0.7.0-alpha.de23b86a":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.de23b86a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.de23b86a","@crave/farmblocks-theme":"^1.7.0-alpha.de23b86a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.de23b86a","dist":{"shasum":"cdb18f3e709518b6c39697ffb157ef4803a35d34","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.de23b86a.tgz","fileCount":15,"unpackedSize":23940,"integrity":"sha512-t1KAaN72TV3BFhnQ/4voVJGTRYgVsb68IByoYgDP623bzkswqeOPyBOBXpLdqNgH8WgyNP5ww1SJhrGOvsvuBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5pnc2N9uMsw3AxhgdHurOkskos6eBneaeK5bwM/7XpgIhANjaNPxXXFCiM+4HdlVut06nKL5qsM4GshaDkMxzjW1e"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.de23b86a_1530710104619_0.08802972197282188"},"_hasShrinkwrap":false},"0.7.0-alpha.5bb97164":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.5bb97164","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.5bb97164","@crave/farmblocks-theme":"^1.7.0-alpha.5bb97164","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.5bb97164","dist":{"shasum":"3be40d4102c4fee43aa676561a73cee9db9be102","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.5bb97164.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-vYdTnctM3VtRGU+CarTrgMf5ZBIzcbS+EJOYtzCotrJpGGCfo56zPK6nIiyNfykq4XEibacoyK7kWDQmdSakjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQMv2QLSnoSx/4zCzCrT2tWEmYeL9rp/D62UIST6Kp3AiEAnUVLTcbypCE2JZuIyAVjqw0KPWsoEYh2lsFQK/YNHRI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.5bb97164_1530712273599_0.8836509608323124"},"_hasShrinkwrap":false},"0.7.0-alpha.99a95534":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.99a95534","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.99a95534","@crave/farmblocks-theme":"^1.7.0-alpha.99a95534","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.99a95534","dist":{"shasum":"e385d6062bc64652efc4684e2d9e979c32f3b1f1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.99a95534.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-hzaWMH1vKfIGzGivkC8SX2bpx5a47/HloOvtuBavIEGCYCP/fSAGV/Xj6wk5PIsxsgWCPsCNh7sRVtPvYS2yBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQX+/OnGhbw5yiFI26Iavu6FFL2NG4TwXeTWyZuqsDYQIhAMrPKRGq7i4NBc9b9R7W7TaBArj5fF781dh/hvQ5u39E"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.99a95534_1530713900285_0.025995306330636403"},"_hasShrinkwrap":false},"0.7.0-alpha.e5322957":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.e5322957","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e5322957","@crave/farmblocks-theme":"^1.7.0-alpha.e5322957","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.e5322957","dist":{"shasum":"1573d954ae66115d9f3c344ebb7fbaef1851e0b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.e5322957.tgz","fileCount":15,"unpackedSize":23493,"integrity":"sha512-JTTJ87kSXVV7oKIQ7f0okGP7x9DE/raKObJemmeEnk6aRpG8W7elkWI60bbq5cuPp7ZjbJCK0SkLk4Qzqz6QKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSYgTWzGw4dj1Yy2gs6NkZ/2WrZotaWAIr4BRSDgjfeAiEAsl1Slhy8LEQdKQU/sxy/mosgAsfjEaPapIxDSM07U7c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.e5322957_1530730676334_0.9118031887618545"},"_hasShrinkwrap":false},"0.7.0-alpha.a7600068":{"name":"@crave/farmblocks-dropdown","version":"0.7.0-alpha.a7600068","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a7600068","@crave/farmblocks-theme":"^1.7.0-alpha.a7600068","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0-alpha.a7600068","dist":{"shasum":"8412461bb766531dc467f6a073b57ce071c00208","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0-alpha.a7600068.tgz","fileCount":15,"unpackedSize":23940,"integrity":"sha512-VZz5lFzysgtb+hVVV4hccdd0ifBwmhzynxzJybHoAnTWcPy4oTsNxgisl+IIiVNlfNY32AHZx0AB48ilR1ebow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3XnErJa4jmDixpwrsQInFOw6BexISCQknlNOTU21V2wIhAJkkZbh3Dk0Zbfor8+zgjfNCDWwNMknKgMHEND+CmwVU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0-alpha.a7600068_1530810388516_0.8153665098031933"},"_hasShrinkwrap":false},"0.7.0":{"name":"@crave/farmblocks-dropdown","version":"0.7.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.4","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.0","dist":{"shasum":"350d7796a148d0fd26e65a6befd179d05bbeddde","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.0.tgz","fileCount":15,"unpackedSize":23850,"integrity":"sha512-aF/oTmMmKkA4rQ8QAjLXVw05M0xz6kDIS4Sc+VzJAHf1/UCSbMU9TOg+A3IHSS0dOTOU+YTPEzOHeP3n7NIiDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHroYxR5eaVzfyGddUhjLsQWUDdaiSsqzjkr5gC0fGY2AiBN2+6gQ4k1IvWedLESGMZbn9s3z8no31eGKsLxNHITtw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.0_1530812138267_0.30733047544697123"},"_hasShrinkwrap":false},"0.8.0-alpha.e56998d6":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.e56998d6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e56998d6","@crave/farmblocks-theme":"^1.7.0-alpha.e56998d6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.e56998d6","dist":{"shasum":"94288dc2594c4a826f50a3a43728f2577b85972a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.e56998d6.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-uYn727+pGjRjbO+mZupUyCj4OC7v8xGB+bX2o8JlBo9aTwyTNmhfGovencKwTyCbJljpLSAEKZY2dZN7SKUkEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHU0+82RqZqiqplPioYx6MJ+RKIOuOM70WKa7u0DK4lvAiAXNl4KH8RinTcNzJYmyXTfj2y+mQEdeldmq87NnRtohA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.e56998d6_1530820705009_0.29269297299735064"},"_hasShrinkwrap":false},"0.8.0-alpha.89d940a2":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.89d940a2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.89d940a2","@crave/farmblocks-theme":"^1.7.0-alpha.89d940a2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.89d940a2","dist":{"shasum":"b7d5a3cdedf29f55ea90fc1efa58356ed4ba2669","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.89d940a2.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-T8PmlQ7DsOV9qsXidZjYuog/WpRvOIqs2qINpZpY3JV2Bs9szzIh2LxS79rf7SUN1/h9GUa9nM9hb4NUYd09nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuKj1epAaZ2cNU5lh/eDJx93JJEMh0zWPF5RlB5ypO0AIhAKg2zjw8K96BDiCZYBX7THyiSSNZ7zejWpwTPPQlUsHt"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.89d940a2_1530825966863_0.3207554386426592"},"_hasShrinkwrap":false},"0.8.0-alpha.51ddcf2b":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.51ddcf2b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.51ddcf2b","@crave/farmblocks-theme":"^1.7.0-alpha.51ddcf2b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.51ddcf2b","dist":{"shasum":"b2c25e03f8ebeb64378eb63c482e44b10341e279","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.51ddcf2b.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-VrZjYfQmuQa451roeoZ91cVBnFu7lbkz/pzcuruxlW10GkOY8AqcMOBCzlADNosBKTRVxWGYz/f+A8U6AUiTGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDmNU9rqsVvTJ2CIychzuCAPOHygIZbIiXL+flReUF4AiB7x+PnAeaEupSGidxnRkQYvbBDLf93tp/0vZArFU7xRg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.51ddcf2b_1530827996984_0.8911989539273686"},"_hasShrinkwrap":false},"0.8.0-alpha.a87779f4":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.a87779f4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a87779f4","@crave/farmblocks-theme":"^1.7.0-alpha.a87779f4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.a87779f4","dist":{"shasum":"d32559f7a30f63c9105b8e8d1985e6f0cf94e08f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.a87779f4.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-VSV1XnEI9nkqKuuEK9gnuQA1z7kJZtX7maOHPdjS5dBDDsNgYr9ljXIMylNsHNcW4GU5LP4mmJ2nfbBSHkVXng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJdfkY2DRlcOfWgdNo2L617GPYs5ih6MBdve84dGKbTAiBCMjvpd1HTwCruX/Fi3F4LFHuDHsJwl7dFMHFgwIhfwQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.a87779f4_1531138611383_0.15036182009596266"},"_hasShrinkwrap":false},"0.8.0-alpha.aae05c34":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.aae05c34","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.aae05c34","@crave/farmblocks-theme":"^1.7.0-alpha.aae05c34","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.aae05c34","dist":{"shasum":"87b13e329c52034d504771355714b8308a5060e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.aae05c34.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-/BpHkGjCbHg2d/3oNZ8bn7CIytsZ7GGxsYGa4vDzj3tewjOytKfn/yAiDwUXC8Q33ladSNQGZNeQNokw3yJoLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4X6eea3i9Qkb8TD1wdK1hwiiWMloxUVzeq1nPcTsWqAiEA+fk4ifzfC4glo04ZbtXu1a1UlVKJ+NE/xJoAL+bVRfo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.aae05c34_1531139853565_0.30971793271419257"},"_hasShrinkwrap":false},"0.8.0-alpha.b17918e5":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.b17918e5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b17918e5","@crave/farmblocks-theme":"^1.7.0-alpha.b17918e5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.b17918e5","dist":{"shasum":"3803f43fda9a931ef0015f2fde8f6c0195117114","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.b17918e5.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-izoefE5R7U99+9LQ1wKP644vpepGigEmWvbHc7sLOdYpFVB5dKJ4ZZPcj3l6mdT9YA4WgOPw2BZUJgU//3nV+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD55I3jC+mbKLREfqu7B1kp7o+z3EQ1lKTi0BslaStVbQIgH1WCE8M60iKH9xgKo1HSF7bPgcnrPa8JCKWhleeb9Ao="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.b17918e5_1531142390817_0.5205767662816438"},"_hasShrinkwrap":false},"0.8.0-alpha.f38f1aff":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.f38f1aff","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f38f1aff","@crave/farmblocks-theme":"^1.7.0-alpha.f38f1aff","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.f38f1aff","dist":{"shasum":"8c74b7f418a0d335bdc213c4fd069dd478aa74d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.f38f1aff.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-m+Ji+tNWUih8f40dzp8bJOvb7chOcGe1xiFDddji1NAXsJNX8V+8vKttAurcqlpG5DMXbE2KbI6mou1L2MCb8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH1RJ4qCsVnjvX8HgL4nvVq94pZkeoLrYGmbASFpdoSwIhAJ5QWBogE34AI7sAmDNQN8vUPDhdbxCXJ147Kx4+bEma"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.f38f1aff_1531153280132_0.8466909705811068"},"_hasShrinkwrap":false},"0.8.0-alpha.abcc3683":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.abcc3683","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.abcc3683","@crave/farmblocks-theme":"^1.7.0-alpha.abcc3683","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.abcc3683","dist":{"shasum":"82d8a0050bfe0ee7f5124707d0be5f5968938352","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.abcc3683.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-N5rRpAII0mxmV36ETAn+6LIH02WT4ys+YHeA1l5GgDxBoiSdevAtcoamkFNuym3ajeaNZjCPyd2bIfqEgZKkbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVa5P3buOyhSIyUMLHM+2jsS9VHTuy3Z3ogAfJwcvOZAiEA/kQhDSJrsfSG+Xct3hhu124CkpzPD1eWmcVpee5bj6k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.abcc3683_1531155885395_0.7379360267949833"},"_hasShrinkwrap":false},"0.8.0-alpha.81056d4b":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.81056d4b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.81056d4b","@crave/farmblocks-theme":"^1.7.0-alpha.81056d4b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.81056d4b","dist":{"shasum":"13ddc484e29747d9893469a859292e43086924dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.81056d4b.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-AM5xAO8XAPRI7k3oiXA16HTtnmv51DrW5CeHfczUTB3TbW2q/uHUeuOSivEjky7tZPRnd6fLov4JLhrlvmhd0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4VR5iJ7iFNtOnOUrMWyxJpHpro6xS9HbYY73RHsyY7AiEA1RbkpaSA0VUPJNwfA4XM6c9GnzbQSxo/CgXuPSbA8cg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.81056d4b_1531161669117_0.735295577479208"},"_hasShrinkwrap":false},"0.8.0-alpha.0c6db6ab":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.0c6db6ab","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0c6db6ab","@crave/farmblocks-theme":"^1.7.0-alpha.0c6db6ab","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.0c6db6ab","dist":{"shasum":"e3cb86342e002a5e40c3ba4b2a5134c62827738f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.0c6db6ab.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-1axfGXJM76M+xK2wQzPD1b6Ws4G6vGh2mKaDtY2/p4U+GVTABmRTDGfOhy+TFChmIRnSbYxjmcQ6uQIuGiEq7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAp05k9ioo0iVk5+jzlwy2+rFZkZWP0kGZ7PBfhJtPmwIhALb0GU6TLOGIOwlStNvwpM+6hNYDskQoN/flFHm/69I7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.0c6db6ab_1531162008782_0.0455491476596277"},"_hasShrinkwrap":false},"0.8.0-alpha.42dad151":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.42dad151","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.42dad151","@crave/farmblocks-theme":"^1.7.0-alpha.42dad151","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.42dad151","dist":{"shasum":"429e355e89e7a0d30a818f50c2d39402035a8866","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.42dad151.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-iPQeoF4o49vUDMSCDyluB/hRxQusL6QwPkCAIEXHMS7m9ckN9d6nZ5s8O/XGByRLYIK2tVR4g7gZ+NBegIMqWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/IJH38SaGDm1+5w5mctpxQykVZrsB9rtXiunhUyiemAiB21iKtgz/7uoW0V3tfMs/PvpkTxUL5Y/CabJLeiAP4Yg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.42dad151_1531162560263_0.050525689328600576"},"_hasShrinkwrap":false},"0.8.0-alpha.dd4f6898":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.dd4f6898","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.dd4f6898","@crave/farmblocks-theme":"^1.7.0-alpha.dd4f6898","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.dd4f6898","dist":{"shasum":"bb666fde4cd95fa6b3b3cd3151da76127c1a473c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.dd4f6898.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-YDfrDi1dJO37DI1cxbCmVO0NrqZOOIcygd+5B74xuxr/7tyh3SBFFE5sjM16A/k1HTQ8FT0nCs8mYyX9QNfSDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDH+BXCuMTO9ao9LLKKf973mJJ4rZa75bcWRh5maC4+CAiBw2wmEUIYQbHZI80r6lOABrZdN9i1Y2pIlNujeYgZhhA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.dd4f6898_1531163844404_0.1122574613051106"},"_hasShrinkwrap":false},"0.8.0-alpha.96699fca":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.96699fca","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.96699fca","@crave/farmblocks-theme":"^1.7.0-alpha.96699fca","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.96699fca","dist":{"shasum":"d640726300e1d94a5e0317cff1273c8287e9fc57","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.96699fca.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-A37QzAgQamn0RRV1inz9IzqIBqfe3cRbBqp7CJsBKh4rx1KjTHQ/lEaMgd4xNah1KoIl0ZX9t3JWzTJq1tEqGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvAQG5sMRaXe6Ix9GGcNlOHAnHGJRemLN7En01ljT31AIgTEKIoq520G4YWmW68VQrpI5sCyGLUL1z2vVTY8VHt9k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.96699fca_1531165210010_0.882768337848731"},"_hasShrinkwrap":false},"0.8.0-alpha.77fe25ee":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.77fe25ee","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.77fe25ee","@crave/farmblocks-theme":"^1.7.0-alpha.77fe25ee","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.77fe25ee","dist":{"shasum":"3fa141f28eb877ebb4067916543c2ed7ff4498c0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.77fe25ee.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-/m/qY829f8aGm5YuxTF3F3puArG7MAU2KEER0cvFNX5UyoV5KOD2ykERdE2z7Ia1YrmZknwZxt75PJjPaCigmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDydorNYvrMxGE5639hxzn2GIAoUIQgDT0N2oL7F5v09AiBO9jVD+p52yIR0ehskSioqRNs5RfsqbT7xIkDzo4LGwA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.77fe25ee_1531166142367_0.2632797671654119"},"_hasShrinkwrap":false},"0.8.0-alpha.a113fe90":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.a113fe90","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a113fe90","@crave/farmblocks-theme":"^1.7.0-alpha.a113fe90","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.a113fe90","dist":{"shasum":"84dedc32874ef06627c801ab7d97db0da1df54c3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.a113fe90.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-2kq1qo/+bRbo6MELo7mK81IJ9kK6vguVprdMGne6dU/NrbeABIhG9R05nmvY4SYjdiNy2u+a+PfMejUYrcmkSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjyNLzKdnNcPl90OuQtQFbL5HWZKUN4QIln076BvqzJgIgJrsO9KuCvNPm0uP0v+/guM5oMTRos2FgA/WFEP06wA8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.a113fe90_1531167242194_0.08083275437676174"},"_hasShrinkwrap":false},"0.8.0-alpha.72fd5f91":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.72fd5f91","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.72fd5f91","@crave/farmblocks-theme":"^1.7.0-alpha.72fd5f91","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.72fd5f91","dist":{"shasum":"5193915decf199023ca1ac24f4091fbd0f65429f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.72fd5f91.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-9U3m5pN4M0P7bzAGWeWvUnmY1AysFrwF6TAOKoaPZorlKjv5kpwt++82bHoxV4iHplHez3d2H9ToF7+MGz3dNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICV90QnLGvE9TTCJUQShJp2PepMxQ5aVX/gwxfrn27PWAiBOTcfifjG1WKxfb3yOQ/87xWcuOmswVCVv5F+rQJgonw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.72fd5f91_1531174373091_0.9505930220416412"},"_hasShrinkwrap":false},"0.8.0-alpha.1a9e55bf":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.1a9e55bf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.1a9e55bf","@crave/farmblocks-theme":"^1.7.0-alpha.1a9e55bf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.1a9e55bf","dist":{"shasum":"14f0a9bc2f4f79556676281999d9b4c22b9dd55e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.1a9e55bf.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-HLSgVgd7pSfbHqBPZXIQe5MOzE9Fl2tzeAq0mAAw8EB0OnusFU6BvWB4xcrJdEjAWTIFdxPjeWpS6zAhY5DXZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBvWWEiyyLwAdmGtP0Adwe4mhceDCH3UL+Q2Vmx9jINAIhAL+7/sOiUM0chIdb12axthMMckbAE/q9wQsdQp+wjyCT"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.1a9e55bf_1531243216065_0.3463997730821162"},"_hasShrinkwrap":false},"0.8.0-alpha.81f8625d":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.81f8625d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.81f8625d","@crave/farmblocks-theme":"^1.7.0-alpha.81f8625d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.81f8625d","dist":{"shasum":"929d510e07084bafdd07e83829835fb3b404c5ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.81f8625d.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-yGhi64DSEUkC/b6Be+L6W6V6+badArXkKCuCEipMnllBqr6imXLNhuscZXZ54dUo2FX/IPH1YcWsqbsJ+Oo+GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkQrtb5zfHAupsMeWOSnLO6IYoi6kOhJYgFtOuU+TMcAiB/gqsc5Hy/4k/ZEGovSn0XPqiI2QYwRMu15DcRXJwb0w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.81f8625d_1531244920952_0.9569993700143877"},"_hasShrinkwrap":false},"0.8.0-alpha.2a5219c2":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.2a5219c2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.2a5219c2","@crave/farmblocks-theme":"^1.7.0-alpha.2a5219c2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.2a5219c2","dist":{"shasum":"192d435d072c91c1fc934222bde5c026aa27eb01","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.2a5219c2.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-sCMsEYGcazRKUkco7l1Zbf5GZ+ks32iqH3H+TP7CZBTnmxbEWqEK4Lk+DR1kWDbpRaa3BkgMClolN21f8YI2TQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFyZyp0lIZA1gUu9kmHoumtLw8semCCWWQ2KmFBT6rrAiEAxbtoPbTm9pJTTj6VyMJhRZsMnPq2K7e3GSocKqo7WR4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.2a5219c2_1531247975049_0.09137379610254226"},"_hasShrinkwrap":false},"0.8.0-alpha.07e93964":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.07e93964","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.07e93964","@crave/farmblocks-theme":"^1.7.0-alpha.07e93964","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.07e93964","dist":{"shasum":"5cab7189db43134cfbde0766a934727154540470","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.07e93964.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-Sscr1grWwTuAHsZ9kmdZeNmpt17QPU9OMU5exr64jmPRVEAsmy5USoNaWshtcGYDBemNF+O9+lrThiAlGJCmUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxwGfnG4YCQx+FGylDP6+3kWFAboN75R/9R6gtLCt/dAiAYHiqXHRt/USH0vyVuha9EW/yCB9JsfduXJ8or+5hXaA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.07e93964_1531249303991_0.5844786410256126"},"_hasShrinkwrap":false},"0.8.0-alpha.870fb257":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.870fb257","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.870fb257","@crave/farmblocks-theme":"^1.7.0-alpha.870fb257","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.870fb257","dist":{"shasum":"0fee0dbbb41f28913dbcf0cf53746d6c8e7a16d5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.870fb257.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-PlemBJ+6sEd/phimA3aFL6hmFzbHx2NFq8QaxbRbhWYwV3I0guhuwMWluGrhIzT6m5wlEUn5H1y8+d6DYPwA6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhGM6wHGgrUuspkF9dMx1+ILqYe/M557V9oXuBiC2mdwIhAKcNXyTcrEtNNCwBRQyM7Ckawn9fJVzkOikRtSO3LfcG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.870fb257_1531321034224_0.1505511088909821"},"_hasShrinkwrap":false},"0.8.0-alpha.0c8ff882":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.0c8ff882","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0c8ff882","@crave/farmblocks-theme":"^1.7.0-alpha.0c8ff882","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.0c8ff882","dist":{"shasum":"68c4d64cf965cdeff605326e38845c6bc499f0be","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.0c8ff882.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-37u/Q3uIEzrwuVcRDscpP7lvZ77E1+fPxnF+no1rD5+8a88+t4S+gmWY/fnx7L1f0iESOYpuVNUciQ7yqg5K5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIttfs0yTDUhrpvBNry/jZ1t7bfxWqzCQW315EWDShyAiAPcyRT9i0a3FZO8G0A95nqpqbQSBkhDPUGn3TABfCKJQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.0c8ff882_1531344042852_0.13264382224363103"},"_hasShrinkwrap":false},"0.8.0-alpha.4b14c449":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.4b14c449","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.4b14c449","@crave/farmblocks-theme":"^1.7.0-alpha.4b14c449","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.4b14c449","dist":{"shasum":"3151bd375029e1bb0e746dc68ab0eba0d6444002","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.4b14c449.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-1UnFwCeBh1RDFXxH86Pu2XOx6e4NOCpbTMvV6dT5Bt72gYxkockjs30fJ1FrkXm0aPberuafxU4YfvX5KHCj0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuTyEypWjRmxr4oCt/Sg8138oZbGAoSTcehZoFvP97XAiAUnQIJiMBuEE4gy4FjkdZJ/Z3PtoFnDppWEPOD7CVUxg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.4b14c449_1531344732596_0.7948188702226602"},"_hasShrinkwrap":false},"0.8.0-alpha.0b75e71e":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.0b75e71e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0b75e71e","@crave/farmblocks-theme":"^1.7.0-alpha.0b75e71e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.0b75e71e","dist":{"shasum":"d32da5e94999034818eb43ff6169ef1b86f226f0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.0b75e71e.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-bj9E1lJ6IN4VGM7KZJCPL3lwBns/MNKGAua4mQWICjebQ/51JPx/1aNFtT/MdSxJAnzvwU/dE1MjTtSdZwuVbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5z7phRbjiwXgHHA6a+I3jF81ZHvdok3BQFSgyFjD32wIgTjVd6rJjHafA2hxuqZ469akpQzcKSJwxwc/js1kPrRo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.0b75e71e_1531398104170_0.19986836937070396"},"_hasShrinkwrap":false},"0.8.0-alpha.47583025":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.47583025","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.47583025","@crave/farmblocks-theme":"^1.7.0-alpha.47583025","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.47583025","dist":{"shasum":"011c92ea3d40fb8050900d5f6ab42025af8c464d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.47583025.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-czT/P2mO8btlXk/BKOAEiDEhwfTQaTM0nosCpmoVXJ3fIx26Xd5HYHel73bIgNsZUlcTqSlg4AA+ioUx/QuxHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDb1IA7m3zkS3IE0xcdwmm0MylpR8wUviGbC4OQe7E2qAIgTud+qoFso+6pqqNpYDcDsrEH0XJFv7NIImeOfP0eeVc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.47583025_1531400676468_0.9362013709549757"},"_hasShrinkwrap":false},"0.8.0-alpha.f8dae37d":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.f8dae37d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f8dae37d","@crave/farmblocks-theme":"^1.7.0-alpha.f8dae37d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.f8dae37d","dist":{"shasum":"15dec198f4c70ac57e952707b8c2d4cea0431cdb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.f8dae37d.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-GxqKiwVrbXWDeRy+x0UxBPphJwq+JR51NfaoconvMdfwtP15zSJ3lyH+wYfbckMdTlLWOx3sskd//K/WmVrRjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGS0YcLqHh9uVMRfxADpSkYZ0N1/0ztt/ARCVUD5k8rWAiEA4skEq6XMEU84Ca9pZYwRQ11WXzibxofG96J2tJ9mWWc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.f8dae37d_1531402246042_0.1636066345520526"},"_hasShrinkwrap":false},"0.8.0-alpha.66f021e1":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.66f021e1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.66f021e1","@crave/farmblocks-theme":"^1.7.0-alpha.66f021e1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.66f021e1","dist":{"shasum":"7b895876c8f0e742370c979533e4cb7811c492bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.66f021e1.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-8z3pbsOsqsaMgjemxfeu4qUYQ7i+YKIIGB9sz4MB4jzYlPr5MEyhgaG+rmdRahR92qFtr3btfldPzlRQ/chxqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFUkGb08WWpnDi3/aQ+WZHaUuHfQwv16XcPfLLSg2VSAiArcvzyF0X13Xqx05YVpbA3zEupLEoR6gihA8hdHAFHVw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.66f021e1_1531402886172_0.23270841757301386"},"_hasShrinkwrap":false},"0.8.0-alpha.96daaacc":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.96daaacc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.96daaacc","@crave/farmblocks-theme":"^1.7.0-alpha.96daaacc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.96daaacc","dist":{"shasum":"d355e6cf5f6cca65b9fdec38d2f642097ca23780","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.96daaacc.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-CJn9VcyF67YiNkUWKge5Fxsf62BpIJJhSIHuKgcQyTG75gEiubiwsfsqgaJmY06dbQn91jyu5rn/T6LaUgdH4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCqpbjn+cB2ZmVyH6OZQeCNYvqX+4JVz9WrJpK4yXkIQIgJrEn7c34R8jZuAj+vscRNJDz7iUhneRwd56G6vDJLYQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.96daaacc_1531403660850_0.42318508806238886"},"_hasShrinkwrap":false},"0.8.0-alpha.14426014":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.14426014","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.14426014","@crave/farmblocks-theme":"^1.7.0-alpha.14426014","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.14426014","dist":{"shasum":"e9afe5295ed2d444aec19a4de178e75c691c8a74","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.14426014.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-a1lvZOwIMJWarsxtsbtDJgdOsaS6+HUCQUBCL0WzbB4oQRiv9Jv1S2qY/bq+tss4MANDk/e+w3Xm/rwXf8iUow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQXum+z44ISmFD3Q0nY5M8OkVSwO5WCcYJ99CHKXZRyAiBu/y5Sf6pCxRaMUtoJNFCgxta9Ba+Fzj2dUBCQzbzeiw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.14426014_1531408008062_0.885397939706732"},"_hasShrinkwrap":false},"0.8.0-alpha.a3feb48e":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.a3feb48e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a3feb48e","@crave/farmblocks-theme":"^1.7.0-alpha.a3feb48e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.a3feb48e","dist":{"shasum":"92101b494e8712200bc4e9f06c6dfcbed2dd3a1c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.a3feb48e.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-2Q23TLVO5F+BmWW9Lu4Bj+5pj5B0e2S175pd+gJ11qvmWFu0AkZQm+kaFRMr2iHLphHg0YV31a3H8uh69AueDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZcikr8vY0TMMImfhwTdlJgEDepjRX1J5f3KkQctEXoAiEAwh+jOAFqr0k33xIPvQGsxrfMMKoN8T+QsgSpV7DHihQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"fczuardi","email":"fabricio@fabricio.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.a3feb48e_1531408233024_0.9452496989978478"},"_hasShrinkwrap":false},"0.8.0-alpha.09982a08":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.09982a08","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.09982a08","@crave/farmblocks-theme":"^1.7.0-alpha.09982a08","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.09982a08","dist":{"shasum":"1944624de9f0983d349142e03548a2cce45789a5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.09982a08.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-1RfKQt1K7yo3EP5SHAzfAc4tGiDqbofKctuLUtgSPfhLEaIMT6cHnSTqdrZvbaBQ60fDDsouq7hFVXvBvgoEBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+g+URuhmZsR5ZxCOMpvgTkFvnMSOyWagbNFniB2ds7gIhALWloVpMMMZmzOAVnPTCQZaPHkPE8JNxkFbFdgl6KK8S"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.09982a08_1531509401591_0.7536767548606158"},"_hasShrinkwrap":false},"0.8.0-alpha.e2104edc":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.e2104edc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e2104edc","@crave/farmblocks-theme":"^1.7.0-alpha.e2104edc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.e2104edc","dist":{"shasum":"724e43fbb6cc106f425f3b414062dbb3419ed807","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.e2104edc.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-rU++XZr123N+SftkzqLqhpKnun1yqgBa4719Ey0FfKggtsYgvAk1JIUNsF56ommFPCo6yFXaRkvXJVyhf7dT5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfkt77m5qLqxst6oX1aNh51XcuYPfEtJDtSYVY3a64ygIhAKlmDukqp5dXUemHQQADL6j9AlhLxNjR1kjeITFEpmnO"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.e2104edc_1531745580617_0.40402422436699914"},"_hasShrinkwrap":false},"0.8.0-alpha.fe2d60bf":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.fe2d60bf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.fe2d60bf","@crave/farmblocks-theme":"^1.7.0-alpha.fe2d60bf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.fe2d60bf","dist":{"shasum":"709aa0c364b28b90887a7816dcba0f50f7a0347d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.fe2d60bf.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-Ij1OgJHWBKReyG+0TG6PvucsD1gUcSO2p/xsTADlzsBD9YfsoGc2oquhw89BsKbkhF3mne4v0zV2bGVVrcmnxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmRarKBtwhSB9pMYXV7h97dGY22aXmHwytTShnv0iNkQIhAP47DcX/6/es41kXCq8+7KEVcEYp2dx+7SSuStWtViCq"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.fe2d60bf_1531751917934_0.5266414173569454"},"_hasShrinkwrap":false},"0.8.0-alpha.d249c1a8":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.d249c1a8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d249c1a8","@crave/farmblocks-theme":"^1.7.0-alpha.d249c1a8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.d249c1a8","dist":{"shasum":"971059321ba2d4aa804747d23925bfbc22d73bcf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.d249c1a8.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-fgtjikXPvEVtnbYm5cRGUzpN4fgzlHX2ZlpSrMLpntr37gWiIvAXsIKGRd5M78gIuFaQfQzfX+LWY8MWoALmdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq4qCw/pOm7nHYbBSfTxgqv34LcJbI/hcVzz8wiVXKqQIhAPEdyC8SZOZExSnTHuS1R/BaigxOJ7PyMdItVMHgl8Wt"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.d249c1a8_1531751992060_0.7427370931061386"},"_hasShrinkwrap":false},"0.8.0-alpha.fe687acf":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.fe687acf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.fe687acf","@crave/farmblocks-theme":"^1.7.0-alpha.fe687acf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.fe687acf","dist":{"shasum":"294e80eb3a0f65a450430f46de6b4e10a5068741","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.fe687acf.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-FRXg+zNITOMyXYkaJpQ34/DfGvihr5FQ4L68wIrrYfbxxeV6LiuG/Ykv3ytWc4/lSpwHNQuv/usGHxzqIO+NVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrzkFfTI0I6U2Sxy6/J/bmZAZigd4cm4NRX0PdvChnfwIhAO8mgNoyMzsWZ7OUrhaGDy1xIpXOGmCAC/TaSX+8kidV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.fe687acf_1531819984823_0.9263398481626837"},"_hasShrinkwrap":false},"0.8.0-alpha.f2bf40a9":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.f2bf40a9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f2bf40a9","@crave/farmblocks-theme":"^1.7.0-alpha.f2bf40a9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.f2bf40a9","dist":{"shasum":"e7d5eb648c1990c0c84a55ddaa62e5816445fbc2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.f2bf40a9.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-ZKMPJochpOTx4U4xIZ5Kx4PStEOkaxOXNXPSBz5hcQ2KPkHluAIKelCgsRB6XeisuBiFovt2RPynGT3X4D/U9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOmSk6hUO7tJdcYpP3coBdUo/qusYz8IhxvIorvbWN+wIhAL/3McU6Fq6C9SkvCzmUdCQ4SjSTtozDuqv4TRgvai/j"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.f2bf40a9_1531833586704_0.3315378446050625"},"_hasShrinkwrap":false},"0.8.0-alpha.2372b0d4":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.2372b0d4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.2372b0d4","@crave/farmblocks-theme":"^1.7.0-alpha.2372b0d4","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.2372b0d4","dist":{"shasum":"114fc3eeac3078b036f34e5a2c1e59db8a95a1ea","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.2372b0d4.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-WRbcoohkQQ3Kh3u/MTBxhdQQ22HimpcxEzL1vECVr7x4HoR83pK4LrOD5t0AHmgeTKzoRGfnz6+5TJOJ2TPcrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqmr0h0X88k88daxDkuCPY28d3Ki1XVEggEVuwEIEORAiEAwUBeTy42WvE4gEm03asdlN3M/BDm6rjxnNwokWK0sHI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.2372b0d4_1531920004883_0.4948206121844698"},"_hasShrinkwrap":false},"0.8.0-alpha.3541e4fb":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.3541e4fb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3541e4fb","@crave/farmblocks-theme":"^1.7.0-alpha.3541e4fb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.3541e4fb","dist":{"shasum":"73f0cb9d283b72ea52f9111855f6245528692382","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.3541e4fb.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-154zBtP39qTLtuFfg2RSLyenxCB8TSF6c/rf1orkbHvQTsDrAFx9dnfVhI3SaCd+kbK520IFlGQnsp9MiMHkPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkXxdU6xHS+lVROspPiPuvehKnHU+ceKcT1cYSOfqj/QIhALu95PUhKmi+aFcfD/HGZFR06y0ISA2FnoB3QCzmJ9q5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.3541e4fb_1531939558212_0.026637464167779568"},"_hasShrinkwrap":false},"0.8.0-alpha.20185dbd":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.20185dbd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.20185dbd","@crave/farmblocks-theme":"^1.7.0-alpha.20185dbd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.20185dbd","dist":{"shasum":"830accc1bfa0cc01f1d5717040cf30dea4617a25","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.20185dbd.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-MJJoYp4ARcrRQcTSe1thTPXwy4N+yyTkwE9QoGBDMMSuAofjek2AieK8A/J6HQrq2n7DBPfv19XFEuBmvI/8Zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEU9mfSACTbhFHkdopaUjAul+XsHk4Xeu/coWjBuV4MQAiEAg72THgVX6vF/4BhR6Rt61yB3uu1cDzJifOWi4qyK/dY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.20185dbd_1532011198659_0.8149964438311263"},"_hasShrinkwrap":false},"0.8.0-alpha.30efe03d":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.30efe03d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.30efe03d","@crave/farmblocks-theme":"^1.7.0-alpha.30efe03d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.30efe03d","dist":{"shasum":"1afdcf980f0fec4cb2f4d52b06577791de3c560c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.30efe03d.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-aaot/DGqmSp/xfy1YGlapY8NNWXXr7Rb9I2Npt2DcXxcgaG0syNhPLkuV4GlwISVfebKPmgtzsIMoy3OvsWaHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpFf5MtEoYUD8yZxazpERG26VdIFpHz3xoK6zkx/ccpAiAJ9RveBR/MeOBNrWkSqF8E0eOtchVvbV3UDrpt3FuY9w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.30efe03d_1532011250980_0.6678209189452333"},"_hasShrinkwrap":false},"0.8.0-alpha.792d3ae8":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.792d3ae8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.792d3ae8","@crave/farmblocks-theme":"^1.7.0-alpha.792d3ae8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.792d3ae8","dist":{"shasum":"e701344a04bbc2c237bacbc6ec8dd500ed9fbbd0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.792d3ae8.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-Gj83ZrBfXImVPjNl2Taa4Pr6lLCSuXv7iqIzsG+8gimmLjx8f/+VGHaabgxJE8lLPGmB+ImaVketgB/4dRdHdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvfz+VW0iGLhmkJQTMDZHtotk2JBWU2cvhpnisYE+qMAiAqnr2Xt7RAQPD4HTOXJxdhC2YDUNzqfrqbEJMWfyPtyA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.792d3ae8_1532012138562_0.5461836204957782"},"_hasShrinkwrap":false},"0.8.0-alpha.7cec0a98":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.7cec0a98","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7cec0a98","@crave/farmblocks-theme":"^1.7.0-alpha.7cec0a98","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.7cec0a98","dist":{"shasum":"f7fd53a1184bdba1e87998951c2c7f0451d1198e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.7cec0a98.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-LE6RQMJLT3H62qEpci1+V+y/SQftDIezvfAlgFp6fB15rH1y/vMASh3itk1Eqfi/JaUfhFiyRZHpxhFKMJEY9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYAc3wHhaR0AXP91MrIBbEoPAXFXQva0NY9er2ba3qYgIgSd8anti4sL4e/7bH7OJzRN5nfpRZogausE4WkYMnSNM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.7cec0a98_1532027732471_0.4551269896344612"},"_hasShrinkwrap":false},"0.8.0-alpha.35dc97e0":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.35dc97e0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.35dc97e0","@crave/farmblocks-theme":"^1.7.0-alpha.35dc97e0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.35dc97e0","dist":{"shasum":"d8f686b8c8c0765b7c82e94f4c01ca036a081a1c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.35dc97e0.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-hAT62CpxssvcMHaqOmreAIbwxqCqxli5prtMB2e3UqCcQGchEPS2mh9oNxdqNWtuS5YdjGSOUGucyoo3vxugSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbmHFVQZP2XH7FXSh/ouquQcsz69dxfYbghe7llZerTQIhAIJnTm+QrZ8SVa73/7m4M6KQeVdF71FEGDBfjppUJ6rm"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.35dc97e0_1532029173978_0.07668364886823653"},"_hasShrinkwrap":false},"0.8.0-alpha.ebbbcf26":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.ebbbcf26","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ebbbcf26","@crave/farmblocks-theme":"^1.7.0-alpha.ebbbcf26","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.ebbbcf26","dist":{"shasum":"03a05719898585798019dc589a84762a380d1a39","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.ebbbcf26.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-bKFOMc3VSQ2sU46zitrZmkQKjLhyVqUdZeGFvArfgpVoSszvOiSr4+JMndab7C88xK7sUtrVpR85BY9dbAC0Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvHxkydSUxHx8lsIju60TuVej25c0lO/Id7HWDQnSQkAIhAOWRlihg02o96N3uRkbbQFXmWw2SLcQP3bgNORx3qrsf"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.ebbbcf26_1532030648552_0.29650054735661957"},"_hasShrinkwrap":false},"0.8.0-alpha.9d0d7e53":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.9d0d7e53","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9d0d7e53","@crave/farmblocks-theme":"^1.7.0-alpha.9d0d7e53","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.9d0d7e53","dist":{"shasum":"43ba6d5c21406dabda4b8a0b15ac6dd12341366e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.9d0d7e53.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-sYZJ29qe4bVfFQc5USA5QJR89T+ojpqT5/RItYt6mIh3y9f70QQJE1iYJCLT8DUg4fhQznR3f6yHrnWhA5RpAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqPWFVyuWbOZDz3EN401NjYwWg1dqx2V42K4NfA86C5AiEAtaHy+P0L2zO27zSsQKXl/nmh19k4YE20uCeFOCvAFBc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.9d0d7e53_1532115245234_0.1744703681700306"},"_hasShrinkwrap":false},"0.8.0-alpha.516f662e":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.516f662e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.516f662e","@crave/farmblocks-theme":"^1.7.0-alpha.516f662e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.516f662e","dist":{"shasum":"3f813231f4c58c725317d4dba82f482cac05b6a9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.516f662e.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-ldD3dhD5uroulO6B8eMSlXJoiKg4fNzu3sK+4FRFaEceKmNHt4olBK+ap4id8TDyF1zD0KY2Pycs861+4M4nhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6uTce0CM0cEo3/tHDEwSwAnKVkJELr/WCQp7OkKpNuwIhAOy6nMoOfRDvHugWpTr2ep2niaJiU822i6BU788x8FpG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.516f662e_1532115425212_0.4975970971284316"},"_hasShrinkwrap":false},"0.8.0-alpha.56e0f23b":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.56e0f23b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.56e0f23b","@crave/farmblocks-theme":"^1.7.0-alpha.56e0f23b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.56e0f23b","dist":{"shasum":"8aae7269684bd4f2dd9ad08953d33b197c63696d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.56e0f23b.tgz","fileCount":15,"unpackedSize":24173,"integrity":"sha512-KpE/94fY3uiIX1OduGxmP8VXVRd9i8W9YY7EB9T9sq+AMx/qD9VI+ja5EY20OvIGDa8isYR2MfThXcw7uRANDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLPQf9XJ//h+hzfndShFiGf1ayxrexg872vv2FqMplawIgJvNPd0t5lLWibFyxsBV3I58Ak1jAKjAtvmsjmVv8CPI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.56e0f23b_1532116443502_0.34068224509011746"},"_hasShrinkwrap":false},"0.7.1":{"name":"@crave/farmblocks-dropdown","version":"0.7.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.5","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.7.1","dist":{"shasum":"d3fb402b15da00a7b7fdd26cb511a92e4aa8aa3e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.7.1.tgz","fileCount":15,"unpackedSize":24084,"integrity":"sha512-1QjAcRFkA7KslX3ShQFafpecwGIXLVHub0Gque51HGVgB4CdfQTVCuE//YHJtVAVcbWBvlMWJDhgKGH3ZLcHlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5AMfs0J/WNgejnT5Bwgk1wRkNZRknW1s1efucULyFjAIhAI3vNQOPguQu7/PoH/w+COA1tqqB56/0rVr36UZDOaR2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.7.1_1532117158537_0.7128779036593318"},"_hasShrinkwrap":false},"0.8.0-alpha.f4e9d2ac":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.f4e9d2ac","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f4e9d2ac","@crave/farmblocks-theme":"^1.7.0-alpha.f4e9d2ac","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.f4e9d2ac","dist":{"shasum":"3ac0b06fca11edefffa90aa226f8a37e2447d3b1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.f4e9d2ac.tgz","fileCount":15,"unpackedSize":24407,"integrity":"sha512-RfsXaT5REEZM2l0rQjVtz1r8cW4BV9cJwINsSIj2VWXnjZX1/iLjjkFon8aPkKtkRuBIOgUQF1Ig49IhJbGtfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy/zOGCdcO/GsKQ9LqinRx3690EHdCHuYU9Fq0J05inwIhAOrXKQFy0OAdvQzoY+cYv/c2b0t9L2VaW1EYCA8XXJ5P"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.f4e9d2ac_1532364480713_0.07379349861655382"},"_hasShrinkwrap":false},"0.8.0-alpha.3f9920d9":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.3f9920d9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3f9920d9","@crave/farmblocks-theme":"^1.7.0-alpha.3f9920d9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.3f9920d9","dist":{"shasum":"dc1c930e2ca15f9489f6c9f6a9828a84314d3f8b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.3f9920d9.tgz","fileCount":15,"unpackedSize":24407,"integrity":"sha512-r/I3eUJ+Bbxr3Sk7kix2xxuOXYr0RoNPr7blpLnMfZDy/Gz2lIcJPMXgC34nBcZZeNfaov6HZi5l9kHm/0Jd1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWTBZgXPZF8KBskV5tdoeLHbQl4r3F6xG42I0JBiWwfAiEA/UH2gmkEEhISZgAUOUBms9hs4EG42ht1YMAqKxLw900="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.3f9920d9_1532364521723_0.09731119214169337"},"_hasShrinkwrap":false},"0.8.0-alpha.79069917":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.79069917","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.79069917","@crave/farmblocks-theme":"^1.7.0-alpha.79069917","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.79069917","dist":{"shasum":"70076f9d1e9d36927ef13ee952248901dcbaeac3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.79069917.tgz","fileCount":15,"unpackedSize":24407,"integrity":"sha512-Vvup4zzuRdnTtkn5Qgc6lji/Y4/F+d9355uydMPR2ixhBKLHgszF6lD5kKkB4qNlSq/Qv8duBQE2LxQlwLChFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6PfQFkn9ipD7e+km0N1JA3kkBoLSydEWSTkA+JAGMTwIgYhg1DY8PdJRaqGO792gY1s3eiC19Bh/q2tzc1QOQQi0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.79069917_1532369234917_0.0791365349746227"},"_hasShrinkwrap":false},"0.8.0-alpha.9b6c1b4b":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.9b6c1b4b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9b6c1b4b","@crave/farmblocks-theme":"^1.7.0-alpha.9b6c1b4b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.9b6c1b4b","dist":{"shasum":"e36e660d07db44fc39931395f656d7c085adfeff","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.9b6c1b4b.tgz","fileCount":15,"unpackedSize":24407,"integrity":"sha512-9TACjg3lKH/ggAXCjCu1vpwIReWh3tI7tkUQ5Sbm+cLgYhe7/IXmeRD4Mj0hGhkWuOOTQxp17mqAApzpGyBwlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtAIquyAxvXMk4Ckw5HSWsyPp4gF9DE//VkPn+5Pn5VQIgW9nOw/oeRtElwjSPfUNCaJXzCLCY3Zw1BgqPt0qeEW4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.9b6c1b4b_1532451683153_0.4574400947710435"},"_hasShrinkwrap":false},"0.8.0-alpha.e1c0bdcf":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.e1c0bdcf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e1c0bdcf","@crave/farmblocks-theme":"^1.7.0-alpha.e1c0bdcf","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.e1c0bdcf","dist":{"shasum":"b16eb7780e7c46c63cc36065effbe23ba2d93328","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.e1c0bdcf.tgz","fileCount":15,"unpackedSize":24407,"integrity":"sha512-I2xAzck/6uOo9/iyG1r5FaPBrywLK3WP9N7aoak9f3Hdv1aIDrU9OLK8Cu5qCLMClOubuevl8sHf5mtCvGMuwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqS/f7zdceMA3BVERIADRC0fCRsgj9OHuFJUEKwstuowIhAIST+k5KbemAioRNe0IMVbSGU+ZUeP0zNQr10LU2BnDJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.e1c0bdcf_1532454536492_0.8394635254095546"},"_hasShrinkwrap":false},"0.8.0-alpha.3f3ee76e":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.3f3ee76e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3f3ee76e","@crave/farmblocks-theme":"^1.7.0-alpha.3f3ee76e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.3f3ee76e","dist":{"shasum":"0e87ad7930f080edea40421b32d8edf6022de3cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.3f3ee76e.tgz","fileCount":15,"unpackedSize":24714,"integrity":"sha512-KwdD5GDwcmVkad+ig9yFhAt5v/bAprV++0UvO0GXKmfk6NFzlgpGzj8RPnPhM9KHfx+AKm4h7NbHInOvh3Z7xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAizUYOE19f4noa7qpW3xi+5ecaGQTRuuZaoJJpM9CeEAiBt8pM3B5RKpcWl69q0b0+LafgWFURQADx9SQzWtd4tnQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.3f3ee76e_1532538684326_0.8311281461553324"},"_hasShrinkwrap":false},"0.8.0-alpha.d630b7b8":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.d630b7b8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d630b7b8","@crave/farmblocks-theme":"^1.7.0-alpha.d630b7b8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.d630b7b8","dist":{"shasum":"0df1847065137772d3d46103d0284d91616bed02","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.d630b7b8.tgz","fileCount":15,"unpackedSize":24710,"integrity":"sha512-8cQpu9Qt2eYguIQBji5yDcHOA8ys1YVzRcZsoomTu0ztFrzLUUNcc269BR09CpuI6RNduRUqPI47673leZDzVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFRC5NgsUf3/jQOOK2ctNtboDsKX1xKSeMS+BKifz+0AiEAqdpbeFLfGNBJpodqxOydHNdsgodjFNOUd9sRlsMeJjQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.d630b7b8_1532543618782_0.7980965656022045"},"_hasShrinkwrap":false},"0.8.0-alpha.ed74dcbe":{"name":"@crave/farmblocks-dropdown","version":"0.8.0-alpha.ed74dcbe","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ed74dcbe","@crave/farmblocks-theme":"^1.7.0-alpha.ed74dcbe","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0-alpha.ed74dcbe","dist":{"shasum":"926ddf273adc7c2bb1f8fb113997907c2073a47a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0-alpha.ed74dcbe.tgz","fileCount":15,"unpackedSize":24710,"integrity":"sha512-YkmRcACrlxbAAp+TwVZ/GJpiIcGNmL5DVxn0l/lP/I0xNLs6FqbxXkbSD0pGwP00NmFATal4lrrm2/E3JpcG9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCG1YG0+E2Xc9jYPs7AbiZq8MJTGi4i8iUVGZ9IHBBiQIhAOWfnMKK3N7hiK0uJFRhJbu16SJLcV2k2WaqDCzO4Vra"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0-alpha.ed74dcbe_1532614349637_0.2417945109519979"},"_hasShrinkwrap":false},"0.8.0":{"name":"@crave/farmblocks-dropdown","version":"0.8.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.5","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.0","dist":{"shasum":"f781d98046b8d15c349aff8bc33243fffeadcdeb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.0.tgz","fileCount":15,"unpackedSize":24620,"integrity":"sha512-rDGfj7G8/AztpNA6816b3m7sQr5bxbDd2bi0bN/F3sF9kyVL22jyqLHDEtwEYS3xExdIrYUlrKYqCtcRZrTK7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKF/BKqu6cFFgBJjk29gBoIbWIBGT2TBM6s+9gp892NAiEAnXn3F9Yt8ci9VbImxPWJzyk+tS2mViBv6DqF/P6d95c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.0_1532614881663_0.5927640761225168"},"_hasShrinkwrap":false},"0.9.0-alpha.2004c2dc":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2004c2dc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.2004c2dc","@crave/farmblocks-theme":"^1.7.0-alpha.2004c2dc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2004c2dc","dist":{"shasum":"99b04e47704cd527d5a9f4f1f6d1db42f2d55518","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2004c2dc.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-KX2ko0EgyxLElcPxbKQAO4k41JQnuRE+7+mMAXTEtHRLCcsISWlkuinM3FuiJO7DE7O4U6J9No9kg8pHDIfFZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhbh3acbIfkMFbKkQW+PLqwmYv+I+L+AmcxXAhbrdZ7AiBmpx2t9UYVGWs1sq11Q1QkZkfg14CQzK1T4qoM2G0SDQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2004c2dc_1532703758308_0.36348192976472604"},"_hasShrinkwrap":false},"0.9.0-alpha.6fd496d9":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6fd496d9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.6fd496d9","@crave/farmblocks-theme":"^1.7.0-alpha.6fd496d9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6fd496d9","dist":{"shasum":"2501e61e6b8f67f25a837e450aebdaadde029995","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6fd496d9.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-0T/uIkNAWw4kZOVavTQbJQEfwjQvpwYun5+mSZeEmW0U6i34tiLHlcrnRKYCnPA4yPyhuozZYXuFWPpS3+Wr2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaazHyHKgX2lvCvpIregvk/MPDzr+/Mr33Fb5KAOZP2QIhAOJG5eARu3IKNehVFtfMIOU0Zdvi70PhKHVD4ATumC3Y"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6fd496d9_1532709963852_0.14748465045411652"},"_hasShrinkwrap":false},"0.9.0-alpha.486490f7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.486490f7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.486490f7","@crave/farmblocks-theme":"^1.7.0-alpha.486490f7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.486490f7","dist":{"shasum":"477440fed0e65a2d8ce85c1a60553b2acfc23032","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.486490f7.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-FhXgmId+mnCnMJg3sY6nMcw/gdfEkG+NhYTZyy+qZf9bmScfp7L5d9n+84ivv/9CJUdVXl6CvjuhlXLpiS2lKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKyLRppOeda5VlMJ4OIvGP5QAIe+GWOqlceoCJqIH/CAiEA9CrhmMFfFMoVC4KmFgMIhEQH8cxxttwgFs+2/PFBbyA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.486490f7_1532712561397_0.8104920798057429"},"_hasShrinkwrap":false},"0.9.0-alpha.45ef571e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.45ef571e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.45ef571e","@crave/farmblocks-theme":"^1.7.0-alpha.45ef571e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.45ef571e","dist":{"shasum":"abd492d50642a3893a662d5f2928945caffbcaad","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.45ef571e.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-g3CVXzSEU/MKx/lkqrFGPheTWA5gC26zgpZuNzyug9DxVnKZ8+JYrb/1waLA5DEIS2qDPr1UMfHA0LMm4aAjOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCImDHVaheQHAp6lmRpP+MLVfzpzSyALltso8uvnmkntQIgTYbGk0B/inzppUQm/uA/yBW9zyQ8YByvY6XYQhY8K/4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.45ef571e_1532717339412_0.9355683960715302"},"_hasShrinkwrap":false},"0.9.0-alpha.b8a9f699":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b8a9f699","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b8a9f699","@crave/farmblocks-theme":"^1.7.0-alpha.b8a9f699","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b8a9f699","dist":{"shasum":"a4d8e46839e5e6721fdb6dbc3aed5206f4d44826","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b8a9f699.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-s2dbfreGKbADSB05ClVAW87LL8mkQtTOWCDCGho2kesG83ouEitMOhj6MjEqzSM38DNxL+3BsX25/Pbu2OSIzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3TSVNiWX7dcbAoOn4vF1qSseRu/cDLUWUlRmexL067AiEAtgwF0h6pIoxqkq9eEsOu8RjI5gCSL5hwuPSW35T5zhc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b8a9f699_1532719931465_0.3144965823188326"},"_hasShrinkwrap":false},"0.9.0-alpha.dfb1be0a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.dfb1be0a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.dfb1be0a","@crave/farmblocks-theme":"^1.7.0-alpha.dfb1be0a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.dfb1be0a","dist":{"shasum":"e4e6af2241828ae389f2acb4b57f285a60977c34","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.dfb1be0a.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-5v/jC9pxoSoWXgf39VDluY0YjCo9GreHtXsNp9WNCUPn0owwXstAczZOh5nfp9ShWp6ZDwSkXT3npEn8mHqfZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHGPGZ25ScviGJ78ISuzGrWwQxBzUUzaucjlCiXMnqJAiEAkg6jDC4+j8JneLWzpST3rwpmngyeR+j/EO80+BChLpU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.dfb1be0a_1532953630308_0.8296057798120904"},"_hasShrinkwrap":false},"0.9.0-alpha.eb72d5fa":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.eb72d5fa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.eb72d5fa","@crave/farmblocks-theme":"^1.7.0-alpha.eb72d5fa","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.eb72d5fa","dist":{"shasum":"918aa5009e7806f24c59f041eaffc6839f9b8954","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.eb72d5fa.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-4zNs+HOm65cZdTuyJ/mSuO+JEKYqnO++gp1vanqKbKNTzwnKltc+Ma/UeOdR5bO3k6UYidFNgEXDPPI5wEo6zQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJrEAHcBoL8VXEg9v+z05YcPawQbza5N4Weg9xxEw3LAiEAxVmXNAngZumyByjmuoV181gLgHtCByVoWQPDMfIuOyE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.eb72d5fa_1532963935043_0.9327234663649961"},"_hasShrinkwrap":false},"0.9.0-alpha.f5442866":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f5442866","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f5442866","@crave/farmblocks-theme":"^1.7.0-alpha.f5442866","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f5442866","dist":{"shasum":"5efcf0e390c1f664701225529be9c85cd172a8fa","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f5442866.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-yqF/08FEt3Pk9W/8bN19agbwAKhk+CWcrnyZpPiPgsrv31P5Bbgv/f9Xc7T4M2mr42Wew7G1djnltic5WkedpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdASrnzGkYtmTEcliDrzZ9ekBIPzSw4Kou8YrudjH8hAiEA/Jx3Dr06enjtjwlzGdPgb0bQA0vsMV1w+4iDlwnIxOY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f5442866_1532972111948_0.9591690067925354"},"_hasShrinkwrap":false},"0.9.0-alpha.cdc02cd0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.cdc02cd0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.cdc02cd0","@crave/farmblocks-theme":"^1.7.0-alpha.cdc02cd0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.cdc02cd0","dist":{"shasum":"8f05cd7e4ab3440cc1356177562f617a01e6f91a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.cdc02cd0.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-NvJZQo6ayaWtkvtCMD+5XOkJ4S5ejzRwo8lzjb5hZzUebWU5tcWBk9Cf3Zva9x47NFXie9aBtKOun66wK+uIvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWY6hh0ztv0zWHfjrjzwde8N4ZbHzSVIkeaDyDp1Y6EAiBaH6S5/qsBg8eDOiBhnuub2ZPsBt6Egu5E6uI3XqAXTg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.cdc02cd0_1532972573386_0.013236599448904318"},"_hasShrinkwrap":false},"0.9.0-alpha.5d75fe6e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5d75fe6e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.5d75fe6e","@crave/farmblocks-theme":"^1.7.0-alpha.5d75fe6e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5d75fe6e","dist":{"shasum":"7852b331a719614f9ebe716c04b611bbef62c5d7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5d75fe6e.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-d0uqmOG/uJBl0mnOcbk807AjvLIk1gQoeDdqIBEbLJyy0JNOUmI7MRW4jelIKIP6mYDlEsLAb2070fsRhHS8tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGhNzJ1apaosn6mVp5TAxk501PixE3xtM/WwMva9X1heAiEAnayLa0a3UK4BKizKHzFtrQqivbhfX5hQENogREIVF00="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5d75fe6e_1532973212724_0.7454094092373797"},"_hasShrinkwrap":false},"0.9.0-alpha.d136295c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.d136295c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d136295c","@crave/farmblocks-theme":"^1.7.0-alpha.d136295c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.d136295c","dist":{"shasum":"d5428f4c97c53f76c18369c5a0767963075e51af","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.d136295c.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-DxAnUdGfSLu7jaxo7luFGy3yMe1BVpcXMj3T4A6wMiRGGOOQjTcplWhLxj8ZDMAjYJyfn7mPDEcb29AUxevPvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA3lowWKp/40cB5g0e835X4QCHEp5ZeB1YbTco96XyN0AiAFPjqpThHigD7ZGfrXNVFU03b/K062Y0IOVjCG8ZbOdw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.d136295c_1532973754727_0.5502039620989749"},"_hasShrinkwrap":false},"0.9.0-alpha.de66eae0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.de66eae0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.de66eae0","@crave/farmblocks-theme":"^1.7.0-alpha.de66eae0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.de66eae0","dist":{"shasum":"476b017467593ebaaa37d1e938949e69e55297c7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.de66eae0.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-5hicmnJiGU26P7/hNbol6Ogl3D4SdS1Zjl/vk/E0LtdUUdkYbE7ZCcJ0OisBJlTzuTtGzmEtB+3zER8+Y/KU7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw/GE/gHp/C+yut8wQCB6pGZ5eO7JlziysY2q2XY4+HAIgGD/RCLMOEXCNGIFabKkltagZYx/W6+rj5K8rwtt20aM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.de66eae0_1532974371409_0.6841284438533781"},"_hasShrinkwrap":false},"0.9.0-alpha.c01d2a01":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c01d2a01","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.c01d2a01","@crave/farmblocks-theme":"^1.7.0-alpha.c01d2a01","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c01d2a01","dist":{"shasum":"8687b5bcbae0a81fb546465d13cb62a649c55b13","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c01d2a01.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-cR36EPshMprTDd0PxpSCPEHDR90ycHrF541kf7NiQHG9rpUioGu22L5BGZvu6cG4ggDHBamKJvS80b3/M+CA2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFn70ow98vCpKakYFCjLwwSGGiYhmLAQR5zSpmAkGsRbAiEA6SrEhXqt9YBv69M4XIEixTnL0LimSxg7LlLHcyZt1WA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c01d2a01_1532974596535_0.6274781563550038"},"_hasShrinkwrap":false},"0.9.0-alpha.df7efd32":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.df7efd32","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.df7efd32","@crave/farmblocks-theme":"^1.7.0-alpha.df7efd32","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.df7efd32","dist":{"shasum":"6c3efa85b06f6a90517b3e76786e4877b4642de6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.df7efd32.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-LWgwNiqS7cldqThEMvG2y4emAm+Frs12YUeTOJWuyHLG5YbM+hlrW7/ZBYJcJcemoUlJO9yi3oYsmINjCt3N9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEx9bCiTx6J9mW776rBSUxugoNC5A0hZ/4Jay2FvY0CbAiEAkYmi+L8JmrGMDzcJ5nme+djQVq/63fthRfbdmk8cCQI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.df7efd32_1532978508482_0.06455744610354586"},"_hasShrinkwrap":false},"0.9.0-alpha.2adb9169":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2adb9169","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.2adb9169","@crave/farmblocks-theme":"^1.7.0-alpha.2adb9169","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2adb9169","dist":{"shasum":"1e2b9c748293f5b49fe8280949231a40de97aa35","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2adb9169.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-mB/xdskrsqTEJ14d4dAaNtudwWJX4zBmdLL8h4dLLT4EOBzSLQI81rs7r53HMXfb4bDrSst3k8fZf2GLgDUDnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoH3P9EgEmLqXUpOCQs26t8GX9u4RIXni1GZicmssHTAiBBGDF2TGkigVtBxuK9BHHQdV/kriXnNPzjLPtQGePDDA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2adb9169_1532981665151_0.5560681883557108"},"_hasShrinkwrap":false},"0.9.0-alpha.441ce3da":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.441ce3da","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.441ce3da","@crave/farmblocks-theme":"^1.7.0-alpha.441ce3da","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.441ce3da","dist":{"shasum":"1d34cfd89e483409ce819a03ec4ae24139f43e41","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.441ce3da.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-/fjiYsl+sZSFIZ6P/7dPijsncpFa9+ybMTUC3iUFJxsZVG9PNWUzrPo/at671EsZdXL3DYwofTSfZKI3NRKFxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICM9jiPlLeMbJKOCPXNaQxlgwPxBRyOUyEyA6bvOJIt0AiAsiaEQQ7TYyq9c+iu/wUy6Vp5xwnP+FnfFokLMFNws3w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.441ce3da_1533035110864_0.2659044938853665"},"_hasShrinkwrap":false},"0.9.0-alpha.fe6f265a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fe6f265a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.fe6f265a","@crave/farmblocks-theme":"^1.7.0-alpha.fe6f265a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fe6f265a","dist":{"shasum":"e5cc52350b52530931e56e3660d932bc3625b8bc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fe6f265a.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-7YpRsBcoC2WaY9/TT3g0Dlqz7c+Wyr3RMMqBVY50MPFy24Zs/taUkWvLcbV/s8aFGoyohkhNA5fGwFzhoIz7sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3Mlx7U0YVlLy5vxhiP/iqYOOI0Bg36/vbLSq7Q6asswIhAIsYVD+D+yNHoCu6YmsupgGXPtWm4kPBic1ESEaYIxru"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fe6f265a_1533040562553_0.7914128875614477"},"_hasShrinkwrap":false},"0.9.0-alpha.844b6433":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.844b6433","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.844b6433","@crave/farmblocks-theme":"^1.7.0-alpha.844b6433","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.844b6433","dist":{"shasum":"df6a68fe3fa6c2b0d63499cebaa9ae2d5831b699","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.844b6433.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-kxqDs8ZP5Ku6md1WxCklecAxEINtx95dVeLHlLiV6VXZdpLrPG/LjF8DdioxmzcM3u8xC1ZxupQ6lmGVcWAvrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjALVt17Klhw8FR0RO/39Q/HYN1BiZZhjKTU0XEbM7RAIgGkf6id+OEbHycf6qKAtdS0X/6vOz0VqliX18u8vRhL0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.844b6433_1533048490941_0.5720656312714918"},"_hasShrinkwrap":false},"0.9.0-alpha.4c78655c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4c78655c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.4c78655c","@crave/farmblocks-theme":"^1.7.0-alpha.4c78655c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4c78655c","dist":{"shasum":"f4c7d0153c79401b74b34d6ee4ca61e15a5b15e5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4c78655c.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-0Pv3kj4a6RenTupK+vsB2OvG+sRvhz2XZpMR6CvDqUInlqg5w6wcJ+PdVrksu2vuWqWYc4wszpf5kXWsGY5CNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFpy8lWnz4xfx13Asp/nV/doiXPtnWhcwXa1pQSfZRvAiAiJ+wnii1bkniz0Kd/mXXeVJrF3+wXhhX6vu86BOBXdg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4c78655c_1533049312096_0.9503394382569401"},"_hasShrinkwrap":false},"0.9.0-alpha.a59b42fe":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a59b42fe","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a59b42fe","@crave/farmblocks-theme":"^1.7.0-alpha.a59b42fe","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a59b42fe","dist":{"shasum":"6177bb26bf901210dd2dca06436bcbe9f0618ac9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a59b42fe.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-jaWqGadr9G5a/0J86NEMH6aX2IO0zbUpFhdVyj/NBLBA1H/zQpmB3ZGadXPHuT1YEZ0Dp8A25Yxtqk6NNBTgoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2ut0dYSKzt33wZ9Uu3XxpFgNws+aw95d1z6A3RJ0sZgIhAKu+GPeE82OP6UVtwe02zvAHw4iqNEYt60Nf/uBkiW9x"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a59b42fe_1533058125343_0.7904214784920509"},"_hasShrinkwrap":false},"0.9.0-alpha.636662c7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.636662c7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.636662c7","@crave/farmblocks-theme":"^1.7.0-alpha.636662c7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.636662c7","dist":{"shasum":"c5bd0a983fa90d605325299e28201a8a13efbec8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.636662c7.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-R7H5puyPZPqshOHbdY+ccVD8VcdXyDjFX9lUsFQJK8Z/MJiGPoU+eVo78pN5yyfykeVNHZ0k1TUJnsijzacw1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBG/KiYsQbnRbfY9GtJrmcQYMvmYWaV1LnE2YUWclh5bAiBPbvKqqNrEo44oFNxFRkXt8jzyhQ3aNBAXyUB2hAjJdQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.636662c7_1533063025528_0.4252464202190849"},"_hasShrinkwrap":false},"0.9.0-alpha.ac123961":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ac123961","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ac123961","@crave/farmblocks-theme":"^1.7.0-alpha.ac123961","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                              | Type                     | Required | Default     |\n| --------------- | -------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------- |\n| children        | Pass children of DropdownItem instances                                                                  | node                     | x        |             |\n| text            | The dropdown label. Renders only the icon if this property is empty                                      | string                   |          | ''          |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event | function                 |          | () => false |\n| align           | Align of dropdown items container                                                                        | oneof(['left', 'right']) |          | left        |\n| zIndex          | z-index passed to the dropdown items container                                                           | number                   |          |             |\n| width           | Custom dropdown items container width                                                                    | string                   |          |             |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ac123961","dist":{"shasum":"5ad7bedd86da9b0076ea50a67679668b18a536e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ac123961.tgz","fileCount":15,"unpackedSize":24943,"integrity":"sha512-U2sP2147qILdiCFwrDAj8uSkUng92QGbir8LduHtcKrr5reFa+FiZqT1LRSxh0hPBE9hp7gKF/y8d4V6tYg7qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgwAUsU7aQ5+AE3ftiBEqzN8usZs77MNCSSobVKD0MiAiEAk7E5MpebCmA4ybp5cfnoC1YnHgKlHgqr3F+riPf1fFg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ac123961_1533134203368_0.6711515960952164"},"_hasShrinkwrap":false},"0.9.0-alpha.4943f7ad":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4943f7ad","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.4943f7ad","@crave/farmblocks-theme":"^1.7.0-alpha.4943f7ad","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4943f7ad","dist":{"shasum":"f4d7f2bf716cc2fdaa525d6e1f0f0408725aae71","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4943f7ad.tgz","fileCount":15,"unpackedSize":25669,"integrity":"sha512-DEmAQdT3VHvR2x+4BuQ8u8g11UmtUxvOb5t1BM5fgyhqFQ3LLo83RzdmSyPKl9hhZ4FKgo/q6iiZZ7I4uUbBnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDstyfOb584eJzFhjBimNHe8DseThSLR4iQ+g0ZBnsZXgIhAMxPZCLsHOw8dw9WG3fNHGtvtw1rgTgqRyKk/sY8zifU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4943f7ad_1533141525079_0.7340705500914937"},"_hasShrinkwrap":false},"0.9.0-alpha.772ba812":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.772ba812","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.772ba812","@crave/farmblocks-theme":"^1.7.0-alpha.772ba812","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.772ba812","dist":{"shasum":"2d106ccf84a9ec1d2320dff5eb7c5277317ada2b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.772ba812.tgz","fileCount":15,"unpackedSize":25669,"integrity":"sha512-ejury0lqNF7hBpGNgxaRaznhXKay5GiI35nhS6wKymKDzb79gzrFA4mG2b8QRrH3HZdkG+KHVMHvjfkw27oYDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQ1Ggel0cxJnVjr658zBgLEY4bNUxxAvkGnU1/5dy08AiB40PVWbzV1DdipZEsY8hkkO/MabZZG4BhKRZOJi9HelA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.772ba812_1533143267176_0.2676834657046758"},"_hasShrinkwrap":false},"0.8.1":{"name":"@crave/farmblocks-dropdown","version":"0.8.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.0.6","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.1","dist":{"shasum":"94f4e8aa0e7d81d0b07ccec17b43952f6db11059","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.1.tgz","fileCount":15,"unpackedSize":25580,"integrity":"sha512-vsHSQ/5NJ4TnwjtAZjDp953Bgk/+6RgQ+mad43EsH03dFElj9etnO92wbaesoKNkR3RRe1Kn3N0ysk/DhVSuHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy0jZdJVMhysaq60QUh2/lwQzRnha9OiCax0CnmnIO8AIhAJv4rNW5P2l9fm+yW1aScZP19IOL+4/f7D4sW0YJx/i8"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.1_1533144517103_0.6139755944285805"},"_hasShrinkwrap":false},"0.9.0-alpha.55bb1643":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.55bb1643","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.55bb1643","@crave/farmblocks-theme":"^1.7.0-alpha.55bb1643","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.55bb1643","dist":{"shasum":"17a3040d8b5006a921b7011334f110a77888c9d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.55bb1643.tgz","fileCount":15,"unpackedSize":25903,"integrity":"sha512-HoJW/uxMPmS6B5AQCFPtwkmsLczT3UF1J/+QITEgTyBSlQOspl3dW5T5ptsrxVKwXhjDulsFbsLJpGMMu7ps2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZ/LdZHzAee0LcqaWjNZa5t8sePqFzHNQLX7RNDmz3tAiBUGuwPJvRjy2FtHWWWDWtHtdHwi0h8sroTT0ze+ZPEbA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.55bb1643_1533153836609_0.3508020959386948"},"_hasShrinkwrap":false},"0.9.0-alpha.2e464d84":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2e464d84","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.2e464d84","@crave/farmblocks-theme":"^1.7.0-alpha.2e464d84","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2e464d84","dist":{"shasum":"e8b44894c76d93a440dd0ce225ce8e501d5986c6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2e464d84.tgz","fileCount":15,"unpackedSize":25903,"integrity":"sha512-bPc8ywGVEqrM8gMTxXbDlUF5JU6NfZoQto9T2YkmS16qxfyQfAU/bSQFFljudgrjTdjuWSobXIk+Qha0NdY3fA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3aPki2egxuTpQbLPnVFjSfnnnYTI435WsaBB4yrfW1AiEAonDfcSqmVDaCIsoJAzAnZ/gbI/f0LxE6fSWPlfITN10="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2e464d84_1533220985066_0.650585051574933"},"_hasShrinkwrap":false},"0.9.0-alpha.3092ab63":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3092ab63","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3092ab63","@crave/farmblocks-theme":"^1.7.0-alpha.3092ab63","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3092ab63","dist":{"shasum":"005427803bd7f1ad2e3d78db4c0f0d9885073cdc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3092ab63.tgz","fileCount":15,"unpackedSize":25903,"integrity":"sha512-i583GmMw1/cwQyNkfYfQ7KX5q5UgKlNM0q2xkt7r45uv/yld4CGffS3HRCsMx2cgKmcTnBrktN7SVCY8qFrznw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR4Xoc6sr7MclFodN9MqUjkI8iPGjLFRS6TejNLgyJpwIhAKcZJhrMmiN8WY1Erk+idO9UfQhIuaWWkXzqmtIMGWzd"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3092ab63_1533230511188_0.942558810606321"},"_hasShrinkwrap":false},"0.9.0-alpha.59c7c498":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.59c7c498","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.59c7c498","@crave/farmblocks-theme":"^1.7.0-alpha.59c7c498","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.59c7c498","dist":{"shasum":"06dff4b60722c86e5228621cd3e063d2488124e1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.59c7c498.tgz","fileCount":15,"unpackedSize":25903,"integrity":"sha512-ION5XnXfRi6FYVpLeOuuqcvvlGRhZQPMhhnGdKt9J8FtHySp6MHJa2H8B/ZL+w2cLHs8lfQD2GdInJNbszwfmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPQ8qECw2gxwnV40I7CU5OEmXvrKZDoWZxcOZNz2RQgAiEAvxOAp+I4welZWx5jx8udBfbx/49GOnTIY4u03T/v9gQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.59c7c498_1533236339854_0.3921605090270137"},"_hasShrinkwrap":false},"0.9.0-alpha.503f836d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.503f836d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.503f836d","@crave/farmblocks-theme":"^1.7.0-alpha.503f836d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.503f836d","dist":{"shasum":"af9f0a6001b5910888c86bc5826eef0b8269e4cd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.503f836d.tgz","fileCount":15,"unpackedSize":25903,"integrity":"sha512-PuHDXTIvYIlLb4jqR7O5BOo/7olrnZ6Yv0uwETbTs27RiFPLWArxnlh3fOpnl1xI+rmszwJdwsG6kTDvECJddQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMyt4K/2t3DrRAIEMYr/+ENFCAOtwU5PNb/p+UDAWa1AiEAyjTMHB9oTaECz0fOA/zruSZA40KulL2HpBbx+4uS4Fs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.503f836d_1533239441636_0.8006422642338287"},"_hasShrinkwrap":false},"0.9.0-alpha.c8332a96":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c8332a96","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.c8332a96","@crave/farmblocks-theme":"^1.7.0-alpha.c8332a96","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c8332a96","dist":{"shasum":"3e83bd53d1d5f302b1c6d94b10a654039ba70ea9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c8332a96.tgz","fileCount":15,"unpackedSize":25903,"integrity":"sha512-Ex2ThzCr1rtPLo8UgDFiw/5WMr2TAT6QnF+GOoKu0nvLN0/g2KyWebIkt0HZLPA/gyinyT9E1JUBaTToKI86zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnHzdnzPorfzbOQHl89AlN8YhfTK9BHbXxJ/DXnrlZkwIhAMO4WTLf3ovZMUTcatRKGszWWHXqTvuEv4mpCUg8Kev5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c8332a96_1533308258580_0.9345594947981186"},"_hasShrinkwrap":false},"0.9.0-alpha.9514bd68":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9514bd68","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.9514bd68","@crave/farmblocks-theme":"^1.7.0-alpha.9514bd68","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9514bd68","dist":{"shasum":"e24b2771e5d341693d28e27a4889dd48e82d413d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9514bd68.tgz","integrity":"sha512-m4liD6PuxH8/9l7wZbYZr9tejGlcDqBgh2/cGFjwce/z7oQL3z/tWox2GNYZO1lox5/hoDGSGH4o0fXmvzzYTg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaFWsCRA9TVsSAnZWagAAbDsP/2xGQEhtL/waWITO1/II\neUDHj+0Nf+CDVSYVkEdwAHGP7knbn3rtiFmhP3fFHfSxBK4KaK3xacEP5M64\nEC1xyzzAB0vDq5s8XqualMZRaqgyzZekLfrJFuq2B70ejBmhZQfL5k26I3Ur\nLZ3ENMvdZsickyyzXne0YE2ggcRuW5GbwF17wyJCTq3ELDE3Z2ORIDWdo3WN\nxt0lz/Cia2b/24yce1c8gvJAv5lvmm5siCY6QLX6fhVqDCDUnIV5rJWQMeLI\nrMT1XkkTGz7P5UHTwWuFWkCcoaG7jA/6Y9Nq41e0AEKOEJCG0Yxvp6VF7b3C\n3ap0aczg/jN2iT43RpvbVKTRS2EKeYy2+e+7/R3GprQwAS5soVFczdmxj1p7\n46H3odCAF2GKLOS/a5913wl3VrCm1IcjNNUaLQteBUmvxROWm1vF4DXJ/PwB\nMlTC1VZtAmSNvX45mrSl8pTW1e21FXLhfY+q0VtoUkSfnRMpV/4AsCY7ymsE\n4MZI0OMQJagRRO88UzImbYMWi3Y5/ee8Y+Bp99lcnK6d7mrkcHdxLsLdY9Xf\nnvINy3uT7ILM07LAKaVN3WfCu2qvO1l2ESrCT0Vb6GLCdQIcXXhrPVLgdk59\nMq7S2EYrfwQCpNRHx586vQUg2sIFoVo+IvYBwNVROYp4Kwo6oqrfvn4wioeu\nE4fd\r\n=VBJk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENxvA4J6cBvTRhd9v0iW+3KJy0W/XwSsY9PWGbCt80pAiEA1JNjP5HBcWN9/eOVSPu5nd39UsaR/2dlOfP5JD+b64o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9514bd68_1533564323633_0.8603084008801924"},"_hasShrinkwrap":false},"0.9.0-alpha.b1889383":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b1889383","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b1889383","@crave/farmblocks-theme":"^1.7.0-alpha.b1889383","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b1889383","dist":{"shasum":"2361b7d6301a573c35c31522cfdca80fcf7fa685","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b1889383.tgz","integrity":"sha512-qe0deZx4VUhXoGj/zJ2CY+l3LR8MuhzZFmkfRBuU1da/yV1lD3y8jqeLX+XhzJz+LEc/UtzI7JSd8fh6HouDRA==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaFyaCRA9TVsSAnZWagAAwX0P/iMixgH6GtXzSj4XyG/7\n4ejoG9DuypK4wZnY/6KLvTp9UUql+kDIgMOuzPwsf7v/QyDVuKQ9O5oRAM/L\n3IIKiLJGIUftJS/pyFzVQt/JoqbUT+VJA4eeruu7b6g94Lr6mvV5YYoXfFze\nm1w11zSJjYanxdKEOA0ngchTL4eaSfe2MjttKMjkSnRcDxhF6LgRRxO7YefM\nN/kjLYVJ4i9OXf5kM4R3qOoh04xH+L27THCkmNvBQbPgjjFrFkWCjObLpGTE\nKqhB+FuPu/IPDA1qTE08XXTTGPQFMVZs+830fzpmo7mX0DYHath46CpJpKbx\n6VcSDw2IWjNZsnColRBMKsiBgTEQdMo3PL4pppIh7mpzLDeLwk2ZoHfz1U+G\nDXS5V4lg0wcL+z/WccPPfYr00NdX43tacNsKChkvaDpPw/jC35uHKIy/r+SC\nRjw4IkM55roQyQUWURmDELYuP/JzCfeOfoBFbpCqMKRU/nv9/GTqpoSMQHes\nZm9W8VEG3YQLKRWNJcNAVtYIzI4/yi1u+BhiFNmaE5oxq2h5dOWyvAXvyaLq\nb5WGpMGGcCbOg3nyGpLoBu8eiKFLPPFSCtQpsswWQ5Bg06q3/bCF7VHdthyA\nu9IUeqaOCgKwv4GZD/2lm0ZQf1+feue9JoFtKqbc1ogRGidUxiRxc3S1jcr9\nlnB7\r\n=NQbD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC76KkTysZQRrPyeC6J8TqiW5peEkQo6+w5A7FQzN/M5wIgHNF0VwbHEffa4QvjsiTzp39DXVIUwQSkrvT7ehCO6YM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b1889383_1533566106456_0.07227552442771157"},"_hasShrinkwrap":false},"0.9.0-alpha.687832ed":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.687832ed","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.687832ed","@crave/farmblocks-theme":"^1.7.0-alpha.687832ed","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.687832ed","dist":{"shasum":"51d9e49c64ec4165ffe25a86a6b9ca2fb09fc2a1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.687832ed.tgz","integrity":"sha512-acqQmh/sMd4bAGOeNpZUb5dgt69uIbmrKhn1OUV77Z7gxS9d/x+JzahdepRXY4Si5Lo5fvDdzXIpppJEIE7c8w==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaF4CCRA9TVsSAnZWagAAG6oP/RLA2TyzUic2Jx2N0EFd\nDaoZZU2ZJXoMV3x1A0ClT0sSj6Mdhm6gSLQWCnVV3Z7fzIDvPIEn7r5s8L80\nBdQKJBO/ZGkgTS4f3mps/awLAAgo3RkMDxsLzDjtAxSUyUI/i+OMcQsMFnya\nU5ow/4NjOYu4bVYD6IS4XI6U0oGDzH+tGEk8qS0a87mVz6XZTjOLos4f/x3z\n7pFcuuWyjMz+5vB0mwtOjbKIB59+hiGi/p2h5DsFw6ZxV7yFtzoV7ST/o6qj\nrYcXUInAgUv9LYhTxW3wniWqut6/26e1tD0Y0ECKuDYbylSKQZE8ZvU17LiO\n0WJV7fI1RvSaGE7HesedVNRK8uP0HN6zd2EhUQ/0+kch+IWNAOjYL+rbxY5l\nOU9Vbwv9CL9corX9jydHVKO7ZtFzJ4C2YWXxm61eHyvK1zReDwg6YfrJaeky\no5gNsU84ow+0WAJnUnPrQSW7Cff3Fx04PEy8YrDOS+4XNgago3lbf9G4LNtv\nm8W4iDYJEePIOe1qnWNRtXYA/ksjjx2LmpwQURCMfd/iheEnPjoPxW5FiyEb\nZXeKTqOG6eXOOHXW4UjMv7M9uYtz/EEAX6nCjsjSSsPCT0ubun07aK0g0Czm\nVgoSj0zqYvNpPEDcIaUKDIfUdlB7SOofn/fiAakZt4WvFH2wbac7o16WfupP\nP5Lg\r\n=/AiZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4UcVeimjRPqtd9kdtpcnrXvn1UqbzGJOuQnUy50bnaAIhAOhXDYgJuD2Flnvs5zxczItBoBq3OeSJfiNj4YVeKdeq"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.687832ed_1533566443010_0.07427547158470271"},"_hasShrinkwrap":false},"0.9.0-alpha.745374bc":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.745374bc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.745374bc","@crave/farmblocks-theme":"^1.7.0-alpha.745374bc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.745374bc","dist":{"shasum":"cc22c28404fd5b2d158f50444ee432060d3851c0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.745374bc.tgz","integrity":"sha512-9mboY56oUUhnkwT5a/zgllXrZ7YyRY7NNZf2/CY/tWy14O3xLXNlVnwTCCw9KdcWA+SK8NECR+FFdWjN2HPYsA==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaGOZCRA9TVsSAnZWagAAWlEP/iTmofIXpaTh8OGb8x3q\nEoa87FrmU2jHJE2YM2021qf/ztbOmrcJqFxbsS4NNITCQ9DOar0S9PDJ6Fwz\nc/l23cPCsj/yFqvHCCiTB0+s/SjdCRbFiGju9CXbcmA68iwccz59bDPVOxw6\n1sBVc4v1UTlF2M0ilOhwWxde14kzc/qf2fYFo32Qa0Ok4GI/BczpIqobvUOF\nuZjoqkCpTL68rkfrabQPSeF/HRqRc+WllnU8D26L1FCz9USxWhG3QYA1MGdj\nK6E+50qfmshiI6O8UHGm62UMwFj3dnAanCK2Wkplo4WlKMTXq6XpUW+TFoOo\nm2+e3BzZkOuY3s7ABIoNqGUx4/iES8RFjgN6rGIPI8I0V6iJ7DhuVonbhejJ\n4nxqKgB4t7Lj59DEjM2qHoUsjd2qZy4YGsRfwuXMMrnF4Hs08qbKxd7apVIT\nwk7U+b5+Adv0jh6zHzR+JIqbJV/ZFGmqjj+G24CSsNScrBTwOa9RSE2yJH0A\nPxAcLuGkjB2MH6rDC2JZIX6UgetxhbOID2n+z6hvuansMslEQt/rtdTrQKBp\n7uE1EKGIChuSszHE7qOx+lkJLZxP6McFoqm2/mrO+JXa/OGTY8nTa/+vdz86\nQTyvrVD2apKkE8OBtwD27lF9InmYIn6gkywcMbwoI/TUPlggcNxPAAqVW0ux\nKc8w\r\n=4WFg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWjKVmCp9K9+CRu7vAMYFuEFRi5ZYUFpJi8MIO3kjeQAiEA2IaQ5sk7LL9pcN6p3wLCiutOUTtPvpxOmbCQkeuNgw0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.745374bc_1533567896222_0.6050647813684191"},"_hasShrinkwrap":false},"0.9.0-alpha.24cc888a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.24cc888a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.24cc888a","@crave/farmblocks-theme":"^1.7.0-alpha.24cc888a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.24cc888a","dist":{"shasum":"6d11dbab099d6027b12dd90942679371f7a3637f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.24cc888a.tgz","integrity":"sha512-3nyH1tBPZyeqP9H7vKInGNPjhzbsyQzUnXTBhJnE8/t/9h1hrpAIGYRTCRjNqfqb/iHmtr/kQoonqomfKreNTg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaGs5CRA9TVsSAnZWagAAUsQP+weBj3T5hIw23zzLyVP/\nALAyHFGfdlJkJilj1JON1POQpo1YdoARxIFtHTGnoeFy6gWyLXkbteVn/xgN\nYglBonBnY+3Uj/vdqJJIbQHeturg3glWmGRDXEIz1/bN4Xcx2edXHVaFR/+9\nOIt9CMY5z6lMW9KCIKD1GbTFH1oAZ3++F9hu/VLGSpIKQTdcWJn8o4oI2+aq\nZjHu3dM4k0NMaE2KoPV8BsYMa2FAWLNsVKivJuavRxpmjSJQc1RB14/x66bP\naMS7jLG1u4dovi044f9Dde9cPBU/OL3xT5MlRAZE+01bhO/GJNCuCOWvJ0sL\nFSTY6eyuZaKveMvoy5knhv+329yULVFb/FDG9iJV29MpByAFlu3oAiWlr7Qn\njcQeQbFuuN3lpeIvGDpdizj0/FIkDNk/6Ue0bMLsx2ra9acUXv3voPku/AUz\nPtSucyHRS8NlZ5mkoWP4jhcmrESHD2E9CMWk43Udfu3Tpks3dE9qm3ZPn3pU\nGp/YJmOAXEYhVAVdmQ8XZER+r7ACRj4ApHUUAZAbGgYmMEwkRTlxOlOqQCAE\n6yrtUho+kku7Lbbad4+Xdjl2gTedBLRalvv1ylaS8M5I0UXYBRr1VuCvQhCW\njETtZl9VwH4GVdfbbC8LJBzUWHnEP7C2oHqgApJLQ9qrL7eFDWwVSDUf/gvb\nVQaH\r\n=ZHQn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6We2/tdUaz8rcFEid6DtNpzxZ2r3syHnQm3aLLi7ZWAIhAPiZuMJxLh/K6pW3bYALMne9vyoAB3qkz2rSwSm8qml4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.24cc888a_1533569840588_0.45345247267442956"},"_hasShrinkwrap":false},"0.9.0-alpha.4c30fc1a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4c30fc1a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.4c30fc1a","@crave/farmblocks-theme":"^1.7.0-alpha.4c30fc1a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4c30fc1a","dist":{"shasum":"b2eab16b03c7ab142c850db3a7ebed43ef56e44b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4c30fc1a.tgz","integrity":"sha512-e/pdoSa4dn7Ppsx9AhnCN3ePzW2n69QLityr/Va8ylck2UjPyYsWkWQZAtO89UaXgrgLS6X8DnrOB875VgpCBw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaZkxCRA9TVsSAnZWagAAi3cP/0bFBAamEf34mryO3FST\n9urJzvcaBXyRHLiRs59VMtPmEwWAbbN3VlcF4p8d/3esKyDxvdkpqDPag8D9\nK8iUT6k25R62E6nkhxhHzFmvdv5UoJCfZLkWyz+Lk+omWQcaGER7KkndeJSL\nU00YZ5dmstXLzvqLWCQbQ71TEtG9bHp+HBc1pJLLQv4H3eH/tSiMaLyT/ojp\nkhZKL4D8pTraSbtEaG/gDmroV8VyGx5xkl/gyyY32YyUSCudNAv6E9rXJrnj\nR2lQQv8W86oo8XyIU7cYF4ZBNu11c8w6HPgWw6MSd+oAyvvOtGpJaIQCR2aE\nMNQ7iCKVVNmcavJbCpwj0z02l5NNWDoxWdjofA5vkrqfs18lB1g1DI6hl7AA\nxC/gX0daVITWVivao64T/HiNGPZ8n9EGjdbwvJ5xNIKypr+a08vzIHL6PQdE\nihM2p++3rVx9l1QX7h6fNwSVG6Pk2g7/cp2b9/lykTVdApYok/O0qx0fDwje\nUQaeJwF1h25WtdQw9DcXr2DTh7c4CUtlGIKQGLXfMcBGt5aS5OsbbI4Y1jU8\nXe+eKyfhDuwZpnoJNZ5cWP7QFD0jYjpsxPI5inMtQIqq33/eIQrsiBZKc/oG\nC/dE+9nW4+/dtwh1UJbszmDtS96takvzIgW5ZdpBkxHgMvy/H7xyEXhoUtBm\nPvyA\r\n=bJ5M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBz8QG4G9+DKWHmIWcindj50Wiab+YwhElMS8uZa5sqnAiATrhGF0/Xt7j+72hbGHK5uOGj0mqBV50GYtnK9e2Nd4g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4c30fc1a_1533647140068_0.8518115991765531"},"_hasShrinkwrap":false},"0.9.0-alpha.962986be":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.962986be","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.962986be","@crave/farmblocks-theme":"^1.7.0-alpha.962986be","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.962986be","dist":{"shasum":"4b25933236d2953aaf53beb194e73c4d74c23f20","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.962986be.tgz","integrity":"sha512-LynBMyJ0O90z3gOBCAiIlB8pRUA1wC60UCW4spLy8wPvX8W5oMMj4D1aikCmhpS7YN78Ygns06mF1ZrhtAcMQw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaaGYCRA9TVsSAnZWagAArMMP/3NYAk5mr9rBeVm2JtRN\nUSCDSKSSe3Z6HEw0n3XRWelbbiEqPbZz4JnNRnBjW819qv09D2/AtJiK58WY\nojmNnNtPm8qUhMU2KFv7X0K0CxiQWfJ5bbXueMlbeawF4BDguEanJ8sI0UxO\nBZFNeuIqMYPWkq1w1Aoz7musL380Lq1m/sap9iXKojCr2yiRbF2Uavt8Zp9Y\n9skNd2yNBiqAuqUWJ51arqF24nPs2sYKQOQUrKb9GU7jblztO4jBsUtiRH7s\njvibFpmRhkF/nK3gmvqy1D6DYetra/Ial1pokDTYC6P0rSxCciimwqgmfe2s\nZCpurZ8hYcWURx/UWfgL6ravph5wnO+MkK5Zz4l6TI/ToKCwdO0yZNTUbat3\nfopQNEQO89M/CLzaHWW/z+uvzm57Odbeo+dDdmK8u6L++LjlWivr+QEnXSvS\nW2NuXCSZ8hTjRmFSnlEMKwyU5uTWO9zAyp5BF+oVvP4T7fqaG8gDis3u7VBB\nREKKPfI/pYfPhRdu2u4WuL730jVTLDkbRHVJI8yRAD8zEI/wY5DqeVrwvxAH\ngXJoiR5UkjLKtqJ/Ps67VBuCA85SmUhB77YSUTuMakiQvk0hG+jXuDmW+9BX\nCl4solZGBPoAwj8DnkhRxFbi8QCvJI3EXsrubNXuYSCBsWo6OuvtGwfZC7lU\nUSw5\r\n=j4KA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr4CxWovmM1adVIdjtT9rriHZi7GryEFndlCoE34Aa1AIhANQ8d3n2rbd1/a+LZqFsKX47+LgqbJAz+pMFn/BQHBk6"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.962986be_1533649279347_0.3243447617555064"},"_hasShrinkwrap":false},"0.9.0-alpha.c37d23f5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c37d23f5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.c37d23f5","@crave/farmblocks-theme":"^1.7.0-alpha.c37d23f5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c37d23f5","dist":{"shasum":"83e86feddb8034bac920acb032341c1e918e7262","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c37d23f5.tgz","integrity":"sha512-HoCQre0Trhfn7O/sDbdukdj6B8P0THwJuwadYM69ioKkJkKfipFTwx8Mc7ZRzlCwWQnnvLbNVLTV5JGczcJouQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaeSICRA9TVsSAnZWagAAGIoP/1B8y0Nbujy3KE0JZpHf\nnwbIi0h/fbqn0sDC9DYKmPv6ZCbDQv3kCq9gS3VFKfhr+mR7LNQcKiYZsmf6\n8vsZpmCSO8zzRgnnPAqeLsNsCB8wzkTrUCQCR2soGgbieJN1XBA2UMrLQ1RK\ntEdcdGeHOW5q7kJnXgYm0ywqatHvNQHhh6H0WktBbUKPxDyOuWhdHBup/adL\nTx9+F670jG70y3RyXaK47sFAQdwERTj09gPSdV4rh+NG0pVuSyuVV6P3Pl5o\ncs+Zm4dxQB7P0B9E05h/qt+rYaVStBz/aGwXzqEv737DBm4ZetN6UAvb1PvH\nhWEJHcsHBrwqDRYwfa3ZesDAO/e4JPeKSLH92nZzBGNlQTkz8niUBYXuAvb9\nV1zWUjta98PCKd59DPpoXzuzdaQnpPaFYD6wFy9EuS+REcm9Scmf2e+V74Hh\nKfT5Q+mckzOpNUQgnbJdU0vgk50207UzCnIPRQxENfyiI7r0UC6L96RPklRP\nhLdvt3sXX6E6D55orHvNQT2zpxa3zJU3VHJLtVOfdNtY2Q1GynQkGdd+uLvC\n/wHMTnRYvvf7hN+ZuZ5X7OVwuVs2i7z6erTFgT1wOaIGHQNt66GRFBvpaGMl\nxJu/N/wWoLIeoj5DzVZEpuxvc4uHek33/xOnMziaeuFJT1n8HQN+A5Pd9dbs\nN2hd\r\n=DX8x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMzlH4TEMbklo7CXYJDGnK8xYEAXrXwgGpaX3OAMyzBQIgIaRSg+dpmAFRt79VRXoDO1ATT1pUDy7lKWb617Q7Qbw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c37d23f5_1533666440325_0.8427589429708244"},"_hasShrinkwrap":false},"0.9.0-alpha.0fa47d1a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0fa47d1a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.0fa47d1a","@crave/farmblocks-theme":"^1.7.0-alpha.0fa47d1a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0fa47d1a","dist":{"shasum":"e25b2be7caa7f631b2c4e20f78bf2f8b9f51020e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0fa47d1a.tgz","integrity":"sha512-PlOCq+ZcbsbgkZXTfidOljOCfua/vG/+OrAuK0kW5FZMRHPsS+4FbRtb77SjYNeTskIbzPh975Y97h3nEvwEdg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbayiZCRA9TVsSAnZWagAAwpAP/iATSwUfEj+T5uWuuN0e\noYOZFyvL7wUxbhYuN7rTczeAEBEal1V1wXC8zgjIhmhQf4h/c5nA4xtpiv6+\nN4hD/z0datC+o9T8OCbnpSU4TizpWC9jDlxhgiuQEwdWdJ2iHJTVxAd9e85B\nbUORkZQUzfp7QHMZldOBE2Ok/P6JRFmMNG7wi4tQ+ztDS89C9x46NsffBfNn\nU4YcyrC8lOMSnpPmDfwtS2kB5cpaj9Uc+uz5PcIF9oYbz3w+iDAKyio49m6X\nZ80OL+3TplQEDd7au17uxrkLm9ZsyrRGcSlnwF05fGaHMYKbyJWxeeEh4sBp\nTGu4XsN+U1EUKNVF7WjU84XHLIOpA7db8g6LW/sa8tvI0UPpl2nZKjYjrXhN\n2r8vWvW843b86ZlXaA27wc/K6VzPkjm5wVxn5DhnAV+v8kkrNopTme+LLidI\nlW3H4aoYY7wp1bP7Z2Pgyi8ryigtKPPFlTQzPGk1RMg9/GwR0dHntyjALk8u\nD52J9himY7JtM0X33rscSpN2tUANbBpTd5YJpiiCV+XOi+id19vH1JB0UWKk\n6gwQtJHHBlbDb2nnjUPsSrYBqyWafoY2wosVq3be0ZZZjwh9ntm125irg7vq\npgNfmGVjYg5gQionsTGGdBcdaMe30U6lu5aMwRp/Hc2rU1oYgeSGNR+hFCtt\nFh5c\r\n=w3om\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICY90/g/RyAj5ISKv6BmpPzmUelsWTDfVIOEsjc5kX5GAiEA2dW56eiK+zGxSzG9rZyzzOI/LOowChZF62laFsdWV2w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0fa47d1a_1533749401443_0.3925915825895656"},"_hasShrinkwrap":false},"0.9.0-alpha.c1e15ae3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c1e15ae3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.c1e15ae3","@crave/farmblocks-theme":"^1.7.0-alpha.c1e15ae3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c1e15ae3","dist":{"shasum":"be8f540b9865a21eff9879426b445061f57e3dec","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c1e15ae3.tgz","integrity":"sha512-iD0caZOzfM3d+AlORa8fScCl5VD/PdgeiJr47A238ugVQvxfFcWtw5Kezz/bstpsxZI2dDzqfjiYnzOQJLBzAg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbayvPCRA9TVsSAnZWagAAdzkP/2ymZmlWDBWeqelBt5xb\n4s8tCU106/hSQag5u1/EYtCyscu2iQIn+FKWkd4dFiXJF6bwCnKM/CK0NEm0\nGvz3NtYcpuLuHqB8NSCXxBfRdx8fbvgRmr99LE+dWhZXJ/yJKo7brVf8cGVb\nao6ujCMkt/3S5jPbCg+lP222dEh8rAUqu5rSdk9RiayQ9IBG41crfel0irgG\ny9LyVS7ohQHeNGKNR0jQICVgPlE8+fiDzEpEK4aDcrqIfedjG+8dX2hty1X+\nJTWK5+BbQ1oS6j6XXz8yNlNan0rMsVRzmQnIhjSbFrbYM3P2glDrWsC5fhMo\nI1CF4/P7U5pZ0HzMba33cGlklohfKnkRieafbhJm0RCgEC1NmY8CRyHB4bQu\ngEk2uYgKCTFK2HuP2KejYO7zt5b7B305dofCzwNnaf30dbJkTBEMkKms/mws\nLgHKg6Ti8ugMWs6x/o45nAArveieKYrYQnEmGwG0yQ0pz+L20FXwmPto/iSC\n28kpOrbN5NXftAWPMn9aUC+LfyHvNp8QyOfaGcHJgqzcZ45t/ED+uqZ6QdgW\nWBJjAl/9ciM0IOl+aTZXvfKmbWBgboIqA/Hn/V2lUpf9nZ5WkwyhG7jY2Fpr\no8aSFuZni6e3wSWK/YZGoYwFO1YuxVr2tNsWO/oi5TAKusBqehRH5NdTbCit\nOwfT\r\n=hjEa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOgu3QH+cuvyJ/JDo5Os0ng+aEUVLbVr8TF/38wIuR7AIhAPX3jW49doIkWraMpVEw6jzsw3wy1wFrWoMi+pj/pRx5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c1e15ae3_1533750222736_0.15268058068709633"},"_hasShrinkwrap":false},"0.9.0-alpha.7dbd9ce9":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7dbd9ce9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7dbd9ce9","@crave/farmblocks-theme":"^1.7.0-alpha.7dbd9ce9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7dbd9ce9","dist":{"shasum":"5aa419f82308c758327379d8c3111d8072f38b13","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7dbd9ce9.tgz","integrity":"sha512-HdqOj+VSqOzyjlrJIAOlDlm6zJFniqryNsr5jkq47B2xzx2ahwT0EfeAQ9ItAEcprkMd+0679wZ3lunIR4NIEQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbazBoCRA9TVsSAnZWagAA65MP/RSvzhjP+mSHdPR4D4Ja\nMCS59zSqRSzEMsphqBvKeGmWDcrB+zCXOUBYleuY7NSNZzTYgQDRYDeFI0n+\n0sgrI4Qf2tPR//XD4P4ME+q4vaMjZ6Gfo/otMBtJR0JowHC7+Kh/iQ93yQHb\np2RYyJ8JsopRZUUD1mlOFUvw3bmC+v2UlBTfo/PQBYws74pdB7xe296o2Gi8\n2lVFjfYWwfCFCUbxtRfsa41mej1yf2ahSe92Ib7rAwJEwxLPSQEL99qfqNyn\nShD7ZaOnWasy1xVT0JGKUG9yiFWF7s8CQb9zlekKgf/rAA0zalkjpKVoRdJm\nwIBqpQXBUq2p6H4V1mfxXw3R6CKf87dKFTcW27mpGx4ZHlTovAKPpkTUSrHs\n+DVzYf1026SpxmB6KVjhwbIKpxlG7bu6gnfdoJDMfbCxG5HJamJ5uNPUhbQe\n5MI6RZz3hYF9Tcky1NBvWfr7S0J8nJBv/vbcRBOBaSl7rU0iRJ9cFw9HouFB\nrm5W5/ufZL1eqQuZTsc6C/qGdNZK0ejtqNzjZoZUs1kXU3D5X1ZPeDPDiIQ2\nTj2xYQWa4G6pI3gKdsJT7lgPvek9J4gVxM0WeEJwrXZSwtD8UZK6zKYpkAq7\nyMIrnKB1d0AWxHTns1DDnBPiE56CqEp6VR8jgdQhzpnQSg6Jeivfb9SaUXp3\ntBmZ\r\n=qCeK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj7BFx0hxRabkcTfbbOWA8qtZjaWd9tianFRRGsANovgIhAKymRC6KMbUj11+mlu3EtqcsRL6bf5BYTnq2MIwWG92E"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7dbd9ce9_1533751400202_0.5161641306092177"},"_hasShrinkwrap":false},"0.9.0-alpha.e4fd0805":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e4fd0805","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.e4fd0805","@crave/farmblocks-theme":"^1.7.0-alpha.e4fd0805","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e4fd0805","dist":{"shasum":"09dc57b2c7b57783758535c7bb0f2d1158829849","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e4fd0805.tgz","integrity":"sha512-1Qz01eMJF0amLPVE+7lXHInHJ093qeyZEVCeGyCkU+2t7xvr/M55QUz4Cl2ntqR5qT1bOT6YuZyjUPJg+0OMkQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJGcCRA9TVsSAnZWagAAAYYP/26bLfTfdxWwSbaqNxMy\nxy8I8EbD0HP9/SKGMS5o4+bijCClrunLSbdWWypoqxDtuVNiU1efMki9Fr4/\nHcZVab/qp4qqkASh98Cff3uMyaL8nT/iWQw9Rtc/2VKejCv1Mo0tlNpv1prt\nf5r0w6Nv+CkggGfKWM6CDAVwHMb+nxhVGEkGzhKf5PNdWyd/5v9jwoBmvH3d\nsNXGsLOK6+ogr2j9z4ErhYnoeAzO9PCq7vR/CUYAKany1m9v3CZSEgfbG6TH\nV/FPQXGgoe2nLuX6k+O7oKEymF492eUm8xqt/KoFbV07MXhiG/dnLhC+rrAA\nJAu4448VMIpT/Kx2lkWuEqFCWZeV5YzNRhvfDEgNa6GnnjBOe5IyzAakAc6b\nPQPGkFLBe256xv8Bf/szkPe3aWEDdxSLCN2ozVCqWheng2XoxWxpIsuMfuqP\nDiC0QT6kvtyk6y7ZMgl59Qpt96kA+f2WM/5dIfXX9/MfXRUmtFIaqVOXHpcr\n0FxKC77El3exNo873DPOzw8xkQp2FyA9TJoJkW6TTZ/pWJv7hld3yaylvIKH\n9Hpha2Kwrh1dMyvy1SuseeVGituv7mdWx7QoeOGa3FGWA4HUu7zf4f/1d3py\n/nvltO71lKehZZrReVgIpQpIocD/cT6Ry6BOqWSgmB7pSKpyVHImvEs6J0o0\nH3Lg\r\n=8krr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyONbdlEuTwYNTkLaFK3UG9kLaJ22LSWcKhIRkb6F1gwIhAO5GBHV8JUXTjHRrRgqmPt/7QJkem/X8fJu8Bqpt3ZEu"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e4fd0805_1533841819547_0.7839902580941411"},"_hasShrinkwrap":false},"0.9.0-alpha.a2c264b8":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a2c264b8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a2c264b8","@crave/farmblocks-theme":"^1.7.0-alpha.a2c264b8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a2c264b8","dist":{"shasum":"8799e1649d791d6e091fe4d9d43712a6d10fc331","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a2c264b8.tgz","integrity":"sha512-dN1Xl51zYPIowepp8DMI2NgpgJ9mO9bxKb+Mrp/8IDpwEEW17oNQc22rpBghmNg+WdZ1/VhBRG6K685aXFqjZA==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJHeCRA9TVsSAnZWagAAw+QP/iXubWml8V/8svzhEIYS\niW7FC4p4bmFlcLAz+m7m/XYZvx0423tr866ONldRMPkh7bQ0wJO1HGm0Q9UZ\n+nJ0LluVQD08hyX4aAJ/BO+KUPXVjSOYiVMnVGEu9zTZK8d0oPJgsrFhkfPD\nbmBAJutmEheoobuLNWy1CIal9t1mNVNzV3JjYV9MnhtCchaRfxfob1mQlvvD\nh3fMGtHfTvVr2fj27MHZchifiVWqwHn0agtvw9Nr4eUb1BYfs/jJWzd/ha3V\nhnx4H+4P93eNgvBgTzmrEmRcBNesyUCXcpdFUhZUHaLHXlk4fcRij+l4MEVX\n3obfN3PDjsko2xqlkkWsLwqNTBqAhN+jD63pHXJFP5xHmzeiWokZVKxAWlD2\ntSY7DZ6xSHHV2YMY46cz60vkFiKQm1s6QjTOwxr8jD1dc0qMjt5j7gUvNg77\ndMe2MMDHmj0U1kap525jwALvnhrgys1sfTklj8ZTFJSubLy85V6Lc6o8Yn2I\nYAHNhbLHZKZ4XelCo940CmOXwmUBt76FPESSzRuv4twei79+lXcNfGgFekOq\nJm+BiXaQeuljPzfdvgHyYSL993wzEk2LuXohKTAHPJ8YA87MCZLpVVHaaWTi\n5cUrUndmtRexveC8Jrpd8fnvRgQi3YB+Co9NE3a9EkX6Et6xX4k5KEABiBUg\ncLwt\r\n=5HDj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGq0Og1vZL/KhLzvCSiH2s1URMYnF7CXrzFPUYrZD7hUAiEAmBVrcJKYeT82VydVViV8LK5Zj+gTmgD6Y6eQcXx7G/E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a2c264b8_1533841885717_0.5027803734166594"},"_hasShrinkwrap":false},"0.9.0-alpha.15cd07ff":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.15cd07ff","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.15cd07ff","@crave/farmblocks-theme":"^1.7.0-alpha.15cd07ff","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.15cd07ff","dist":{"shasum":"f4da7d83e7f5253259eafc3d4ab18eecf172cacc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.15cd07ff.tgz","integrity":"sha512-eZJ9rZhQwNcpwUdxcJt6zXJGDCdEjdYONno579AD2VCG9wt6GJH35nHfYpmIUnGquPUaNWCshZ8fB53OQ2u1xg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJdbCRA9TVsSAnZWagAASPkP/juO9IbKVJsqkFk4kSix\n3Dje0hi990a54DO3616mYNveoEjjmQKfdXr5YVbXLMvuLfmsIAKKqbFZNzen\n1NyB6EH7xjhjFnbRHZ04YMcdJoFEASkWuC1TgF4inatpNNhfdqMTBo1zybE3\nnjvfalubzrGLmnM7TG/0Hs2EhhHh8JSDnzDZMQ6hpMELqcfm3DKvLqjS9/uz\n2za0edJ/5vpHLRlz36oVyP85oDqcfoKmYLLWWHhD81gnq9nYyBZxDBpFL7u8\n6szjqaHzfEpShvKfjVJ8SxsOQV2at/o4mHi7gJFBAR5+hunVU65Yzlxl/Bdo\nJFuLaZsuU27KZ5jaDb8QJHeNBiZCYB+tTOjgqGs4soUEE8lQyLaF0ykGyIEz\nJj5JEy+ubjA5NiRXtXLUw5lNZBWbeu4nbmrwwMXxsQgnzS7pA+NPDusExFRR\n8HWmEOmOgrTpCZL718nVZmRyz+6XyRj0GgbnP9Z3zpkgR2VYENi/P+/fRh3c\ngf6vjDFUurRL/Alq5ERyfhQPR10s6xMU/46fbwJaD6vBvjLx45gvY2qmh/5A\niOxRxJNGDZgxk4PVple2FETjuU3+VYc1qZw8vjy4YFFuJDmol0pB91TbOBPm\n8eF3XEFfThlncFTi3TxQCLXoxlrjq5YrnMVplgDpywDSUQk/S4c6vLJOD4rT\nKtUT\r\n=f3xb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAlO5XjHiHObW+ajm6TRdyBJvwcjeyHENv7g4Zb79o2gIhAI4N/T9hJ/fT50KEQ4/r3VwXNms+ykkbRpkjVHL0Hy2O"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.15cd07ff_1533843291277_0.6463620829821648"},"_hasShrinkwrap":false},"0.9.0-alpha.b6d6e7a3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b6d6e7a3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b6d6e7a3","@crave/farmblocks-theme":"^1.7.0-alpha.b6d6e7a3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b6d6e7a3","dist":{"shasum":"2823119a35399c4a8c086b02c60ad015bbbab643","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b6d6e7a3.tgz","integrity":"sha512-pQmJo455xLq55qrfVlpgz67PWCL1wJizXuJFzOqQQ3XVV6wwvp7nn787qErI/eJFpeA+RpjTq2YmsOfhXrXXXw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJltCRA9TVsSAnZWagAAEkoP/3/C2MzS0VHdKG1mEHmZ\nEfHlcOdihRoFEECqga1lM8YVMSxizv75Mll4G4nQOcQLytrNs/FRcJPvbaRX\nEEkqV0VGAQef66xYq+w9Qc5H262upXw3FB05Xavy7lj8Ceu/Kzaco7OpJkK6\nUkeuYHgaakqvPJI8p+Mkc0zuCO8A3LOtPqQ0GGs8h648s50YIVMUlDf99jW/\nnx3kKsREs/uH57A25IchLfnSdsQA8TW1WurjYFkTBdtAjwcJ1Vr5IEQsAz4s\nfc1N92K4cb0DqAIbmquUPEINKy/+00A0DyD8p3umdsJzBBtrf6YWHJ5q+bq8\n0cpVIBnnd/tMxvHyY+NfvyCGTR+J+OdWIVmOp3YXPgaIDZG4C1Yulf2Sis7G\nWQaetKHIG6kxA1nWxBaU+8FIiUVi+RVRwir/3VjsX1DmvTTLpncGVoGG/ruW\nRK+fzSghrN1vIsXOLtRfrRxxRzjLQGH6u8jJZLPLKbYfZGU+Y6WfWSsSOYPk\nMewe2919uLd4Y+0+uqkORTaQervL2nH6R8G8+/E4om/+M2Tza//7sjjdaJQa\nPfo5MwVOjVfC7hor59UW08Ruf85fMz7pxVUwqY9eKzngXRKMIPpKSf9xAaQc\nSzQf3NcB4J6xhI01RsUCYgOtKpxU0CQ1oKFuO2myI8OYdC2BFlAOuMyR1bFa\nMsMx\r\n=zA5R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqRUkyUEUvl7gJ0ikelrDy6pvU5YHyta6TJwqkcjAYqgIgAQ1I1eguo67yK8z7hKN1HllPbjkC0CiQSmrLENlTXHo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b6d6e7a3_1533843821420_0.6949585848863797"},"_hasShrinkwrap":false},"0.9.0-alpha.6d678c53":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6d678c53","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.6d678c53","@crave/farmblocks-theme":"^1.7.0-alpha.6d678c53","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6d678c53","dist":{"shasum":"44de888c04409d484bba50c6dc2c307f0e1945a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6d678c53.tgz","integrity":"sha512-Z1/4YEJ52wSt4WOLE9UWofIYJaC1TvB10cF6pXytn5LbZIGL9SDxLzlg4Pn5tYsHCg+NSClZvGB52QEh2gInvg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbKXHCRA9TVsSAnZWagAAkrQQAJ6qr1par76aESsZb+ns\nBNI0xsi3FM1PrYhNFVY2JEV2Sz7QmitepwxoF8rHI4hlKpuRWMIeGOTDnZOb\nVq7TE7ZnHBUutbq1agCF6DAq5JLo1hvQVrQ6rbwhxR/XHHLPy0EVY3RMaO1h\nxOhWNt7+77fCXlXYoUN23dwvaiAPPyv7A2nrB0crGr/YI2NMO7dOSFLqBhG/\n4ypwWyG/fsbu4ZZYaBdWNPUdPmGMS3Fyf8nZWJ/pMneZk1dASeag3+cdHZ0a\nG0wXehR9Q7DggvoOCOmLpLbgY9wsS++snBHOY6xihTfrAuTwwUVxOS/41Irc\noolapG7A7B2PjosU4atM1FsduO4TEYS6GPIKGOUX+1YbGff9UUezDMxu2+2j\nRE7IULmH7sAmIMs7EBiV1ckPtAahtsjtISIHUQKbLzcfvTa3jw74VufKftWa\nwznj57GXdCWNTavsdmXqoSexn91OtExJOWHJHSZVeDH7JYixB6ul8x/V3Y79\nW9V8uiH9+WD8B0GmC1QsPkyJgEFLKnXVWjFlUmwImCVXZelCsjNC1ETxmWMv\n5TBPx892F3NdK66gVvHNovmcxOHawCj3Equb27AnzMEiR8qU7D5Xxpo2sPcH\nztNTr24u/4N7YfDogdDk3YHR3wo07sziI7qCh9sXUbEnMgrtWqfgXfq+U1tl\nREhl\r\n=pAZ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqZJrIxMSIWCOOOFjG6X/dGuLszRRgKcc/cD1Rry8dFQIhAMs2XCLvLC/caDm+d9zU6uNZX/TAJNKHbh50UP1XMZnG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6d678c53_1533846983002_0.630707900511448"},"_hasShrinkwrap":false},"0.9.0-alpha.375ccaf3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.375ccaf3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.375ccaf3","@crave/farmblocks-theme":"^1.7.0-alpha.375ccaf3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.375ccaf3","dist":{"shasum":"f96c1970983896c85687a6670a1a94623b997859","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.375ccaf3.tgz","integrity":"sha512-FsmdQ6DptRnk1MoqeymSsCTODgfdFEKM5CTtCTOvIS43GyC7lDkJPrlf+1eB11XFLXGCMHPCn2CfBTvRMKXTvg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbYuBCRA9TVsSAnZWagAAefMP/0fBUBX210KL03c9luRj\npe6aT6aFx5MOVZgEhMq1fzZ39L6cmoN1QdrRzx6Sgi5iHJYmPP6fFrWT/yxh\n6fQGrFivO6yYwMz3cjvASfO42vRdRreNDHA+4+z9qjROWxugCz1GL08E76LU\nVHYBjUx0m5PIChYqJQWWCiMvHnJvt8hhW64aM5ekdQ98jKTDbQyJPwthVwAV\n3wnGIWVwHwEb3jtUvnvUb3DrXKHaWYS+ZsIJV/kOI4mM3O6FzaZGQdbjsN4T\noBqdb2fDUfg58nQcPwfnggotgP65Bgk8Bai8/kKwxywU9cFPL6v7Ps0J2k2T\njYARg+zMwiX6wufJAT/Zk+IRKVeHvK3q+Wyuxq7RVdQpNtdu16HNdl676mJf\nCp5LWub1vab+aMGtZMkD+06btTQ2TyZg6Fmx4UzLcHgtF4oJK9uNcsbRMZa4\nn6yCWeLt+bxrqVW9D5pHYHdaYp6uC2peTq6fBquQwyTH/kX+QOVAc6MzXzlH\nq/MBhr0XtYql+j4OYG/rPern/eP2ER4G34C/OB3k5bDnTX7lgyOBVKomiWXx\n7RjGf2IABGMLBJ6gc4v1lJoc9myRsmPSNSz/r0Imxps4WTsrbM4oVzgWHZyi\nYZStdBPhewRGpYJneGefd4KWkNlhq29NSB44YpXP9mBz2t0whxOHGgKVLD/D\nmS8M\r\n=JKcf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVeADvJ+AICd6H8Epw7y/X+UMdZ9Klobxk/EXe2LdTVAIgAjpHNY9B4aDRIEQYdpKIL6EuptRULGAaDLMmQ4v+W38="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.375ccaf3_1533905792537_0.7047251954836098"},"_hasShrinkwrap":false},"0.9.0-alpha.ea8890b8":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ea8890b8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.ea8890b8","@crave/farmblocks-theme":"^1.7.0-alpha.ea8890b8","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ea8890b8","dist":{"shasum":"fb91fcf834e632649405e78dd869a97e85a2af8d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ea8890b8.tgz","integrity":"sha512-42S+ulXLaTLqgHVTl37qXqxkjTd6eehDUqq3sxY7SZX7HsMOJ17j+BjqxN8hnJ7XV6HuVrrVGtupaZPjWYmoUw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbZhBCRA9TVsSAnZWagAA+1sP/jSM8lps/Vlcb51DlW02\nswJjTkoeQAob+oRjWy+jk+0710RXDexWZiBZYR5k0nVm41tSIZzGNgzzUZ7Q\nhEEPqIBkxEmyBo1Ld2sXDjmn76E+24/JEkRTeZHb4/9hgrJc4MTyxxnPquBm\nY4bsaxacWIy21j5qrX5a9ZJV9ycGk98ddsPDeVLAjofBE+wUdAHgK3iDHj7H\nPckVLIcqUm4aCnEtcZg2muhoVbBQ7ZC+XlZ2BGv0BrZ9GkYt4G5+PeqMjGye\n5Qtrsk4sjhpWsaULSiqWjDBTDQqQB8Ibiu8IQhdeJp28rOykE6JoqqYo+e9H\nxGJinCepVi6mKqOcyMXvVnnE/JULtLCaMcgRNKs1nMoFI3vVgOdOgIelGaZp\nlPke2gRmBNeaIa9McsSsp4HUsvGv2slkfenZCUI6rVKwzY1Q0MtkljktPM8V\nphk9K/lEC4rGY8E+Hd468FBsA6WuHMexcVM1tH5M93ksHXQkS8uZAZ2RYFT1\nmN9kJpvymVanMGNuj8d6vntey3JgDRsaCOLlrpceKiRSdgTEJCNxFBRYTZKl\np5aH+G8nOKhoG7oThY22AB/RCu+6Nzs573pNgcY3lCFRCFcmTjJYt6R9R71j\n554Dko1FHvL5Ic9lYlPTGD+urPsFbF1OVgMqhGPgSqPmDFCh3GmfPo9TFWqq\nThYM\r\n=FYwD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGx1BWcf83w385i8AxCbxKD1j45VJpT5u8v4rGW9s8UAIhALW3cpWLq2oOuscN0nryfIcLbMYeI7EEOtWrdbCBskVi"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ea8890b8_1533909056510_0.5535321277745948"},"_hasShrinkwrap":false},"0.9.0-alpha.43b297de":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.43b297de","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.43b297de","@crave/farmblocks-theme":"^1.7.0-alpha.43b297de","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.43b297de","dist":{"shasum":"36e772386d4cc6928c1dd78bcde930fdcadcba48","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.43b297de.tgz","integrity":"sha512-oqp/5rv9C8ElajLh0bFeS0MA94fJ95dNUIt0IPP2zIB4msUciq40GKDc7ooE5753fm4a8rW1t5JA2VIFe4/IkQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbc36CRA9TVsSAnZWagAAXaYP/j/dBpFifI5lyE5BoElF\nRZeK/09QD0UXvCWdZh4duyGzMw5GKEKnJChcAqrMPzp9Kn8y/cWLjTNqGtgw\nhBUha0ymGOkezVQWj8auYQlWl9+6bZkvnL0JoH0WMecwrGEl9wF+oQBbfeqT\nl15gZWltNlZwHweGb8tGZfX1Yz3dcxmmjq/6omg0b1bFds+VSVSmplcHSiDJ\nlJppW/sZ3ZwbSHLiu1B/UfHmtFHsgSL0OGiAjbODs2zGxc51vzRvFFhqEHRO\na1TO8l12AICHECxYR3rbtD7xrQ37br4iTBaJMaNljKbsdN1c5kNfweSypX19\nD4tHBFw2MLOA49THbXYUsmbqz0a8/Rkn8sqljFsK15onaWpHAPeOAJ1A2i5B\nUeA3MXZ+KEQWF7yVTiElGgQhrMOBQeSj6dKoOWUWiKoxJ62aGUbqGpumv0jf\nzcCGfsJzqKXTDBHyCRrAOwITNPTiMg9mKe3o6QAK2ST6d5CRAJIBi3r+TPnd\nnSVSChAlf9SqZ2d1mb9/MKbgUkrMd5t1XZvRAi621LazcovGmI1SyAw3YetC\nwx65a7rD3olJRVz7dYgnpsyM29o4Gvldfmh8jJcPDT3rQDbODVZBEC2E5QSn\nGNAeiO8C60yu6KJ2T4GTcMB2f1qIEeuFJTxCnBDj1hySK7H0ZDn7NnHUOgwW\nfe3V\r\n=4D3l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3JYsTp2Zo6PCUpx4PYq1nb6rdhu6JjvgQz6iZwKuTEAIhAL2TK/4oCzKNPZZEKfLXawp2bFNMicXC3NpiunfiAQ7X"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.43b297de_1533922809893_0.752771662008106"},"_hasShrinkwrap":false},"0.9.0-alpha.d6d6ede1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.d6d6ede1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.d6d6ede1","@crave/farmblocks-theme":"^1.7.0-alpha.d6d6ede1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.d6d6ede1","dist":{"shasum":"e226bf573fc88421b9417041d830b18b7d36c9e7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.d6d6ede1.tgz","integrity":"sha512-/3sP907f4oLdqGO+6trNRFDojmA/4iFkn2m0RJIMPlE59l9zWkUDxnAVKZjTl95BGxQV/MtjdjJDcaRGVDAmlw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbe3/CRA9TVsSAnZWagAAnWYQAIKpSK9QHdz3nLOCcirY\nAhGmmMpjnKklIzPwkARJUW67lgKEdPtCNSnXltuYfEqlpWJJrLfN9P2NM6Lh\nThCO6S6aR4uTCSHl567iXW3pJfQ7COx40D0mxZjNf5jxPXluiKZ+QQjYgvWQ\nZ9YTxWpr5pEflDvj2VczJmJhBbjmvokTdVs7eT2RW/YNlSy36dV5pVpubfdy\njOI7zGikRdSkF2M1Bh6JT/OLCshYZrf3qzFZsIIQ9TYtGDyDe/4kyGRKGyxB\nLldWojV7E0Jpirxaiq3e6vxINO9fcMUgEH12PoFtdLufzmThnssH+IvdxECQ\nDgLXwxQATU4MbV7saZSCdPxBOxSZXuPvTYGSWVgx03+zeIJn2nSyR4MLSdnr\nkUi9/g33WuRUUxvixYSHELV21TDbdO5tZWdHTeE0mP/uCUYBan6IGYPiXppE\noZ7kUIFJy4KSl0WRISLt0oxRT8Kks4elYmsudFhH6xsWyXehF2CxuvmjwLq8\nJF//R110X75Dt2EdZ9mNc7Rh7TEx02ORy1OYaiBr8c2GJYLS0zu/z1K/KSuS\nKPEIro4bsRXI2gFWPAt8d/xh2mM/mPnEQfQRZ52V5nm436Edfk4hxeJA/ZPT\n1a0JIEFqELtkumJ5VQDMefXVkE3bzeoA7JqxbkIzEaYBix7w/OFyMJKePSc8\nJsWQ\r\n=fKyj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvb5husB5s7Ptn5CsMJm1JgNYckhDc6Ru0Mtzx7fgDBwIhAMveRtmiJGb8D0BKRuJlQ9UBFNoW1NyPbXyQmdHupySM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.d6d6ede1_1533931006746_0.876425359069255"},"_hasShrinkwrap":false},"0.9.0-alpha.6191ce51":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6191ce51","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.6191ce51","@crave/farmblocks-theme":"^1.7.0-alpha.6191ce51","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6191ce51","dist":{"shasum":"e7869519ef12d441d247ee42d3279a4b55ede423","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6191ce51.tgz","integrity":"sha512-fnTW5kFyZG+99tcEY2lYDXOVmpRHwjztbUFD8QRHAoWQF9vySf5JyxJvZ0BwVKLxBzqLxiI19NmEGLMFY/0IaQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbnK6CRA9TVsSAnZWagAA+84P/1laibTS4i7vnp8KVrd6\nqT2NtL4O7LGuzM8pkI/N814kl97s7n/cRvDFZH6e0jDNWPjCh0XMJ9meJxpN\nYfBIu49XN0WdUrCMwLeUQlUzPVGz167Ljj2+KRa+JvGjtTcyAcQ9yBaQCoqp\nyM5uz/TFoyHf5DMeASC6Uvb2ce6K5F9ryqv9tsgizgUHH8FL0FyHNMDkSN2D\naCR3v8/UVDIqLwbEFK3Co300jUbHYtKcGN/4T7rW+CF/NCbAuQA9too/nuPn\nfg2SFa0Li4uMqT38dzwIV44pNq6H9qee21yezWZ9ftpH/ZuzVNTjXIMwiu6E\nkE1UQx0lpWM8JUiapFEjHNB3MQ+O3G4wy3S0RBFgQbLz6Tv8FR/Fo6oWQsCv\nnUbQelXhLm3Dw0KJzktQBdKGTGtvbpCk/JjMjdk8n5kjTL2+wFoM2lSoJY3P\nUVXq6MBT5etYjYiTHCK8kK4paFccfwK4hIInX82LPZxdy6qUdXB13U4Ot9Yw\ng1V9Js2fqsvEjDHqa5UK0VMpBDpi9CFa0HtmfzLRN6oq6oH1tBiCCzPNwVI0\nW8ELWrsgFbKbkmgdYAcsBIyfR/Qhahido3NNYf9AcOo1AvXBtL/zirCBETEK\nduZDNRRLUqRqChnsEJipqDzLHOI6iTnjeKRvH+oBTMEDW+YlR8CmDRKfmukT\ndRSD\r\n=kSLh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMGJAjl4wrSkXRuuNeYmujuHpoyHkmsJeccproeQTEcAiBruCCjcYLu/hQPJQdNvswdaXI+tA8vs8lNpGqWHbyGTg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6191ce51_1533964985690_0.7282721545626583"},"_hasShrinkwrap":false},"0.9.0-alpha.f78c9fb1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f78c9fb1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f78c9fb1","@crave/farmblocks-theme":"^1.7.0-alpha.f78c9fb1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f78c9fb1","dist":{"shasum":"a99838f33ac57504948564882ff3894281de46a8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f78c9fb1.tgz","integrity":"sha512-eQzRcmq7OVKHLHvaD0yOvHwtRrYNkQ9Tl6X3mFrxxLkVCxFOpaTxntot/xer3swp5L957UfLChaNkQ5vYqogXA==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbnMYCRA9TVsSAnZWagAALLoP/RPfJ14gE8cZGmZTrz/e\nwWmO+h+wvSLOnd8whWfCFSoEt4egLyTHncYm1M/tcP0XQoKrncMuaGsBMcTo\n1oNDaBpGjmffewB9zzsItDrDOzkk2WXDDH3W7sndd79Z84Q9YgeHQrBe8zMo\nIS9ejGtS4aB4vrbbHUYBDBdQR3A+tzg70jDtao4XBDxMqWKraho/w3EMXmTl\nHQaAmJ4z7VV2gVic4AzIKzhdpOCKwMyePVpri+Vtn28x/nVWbPk9YMx3Zqvr\nwXJaI/AgVYQYYElpKqoNf1tV34l8HKe79M+xB4Xwvtr/qycU3sG8M06AHkTD\n6MpjZ/SbiwVomoMNgZToy7SCypnKgBBEUpUF2FMVxJzLAvSI6ahUVWunHxKf\npvTDtsT8clZd8ZnokM2/Vuu749DAfUFEyrejgplBGKQk+O1G6zLwzfkwMcmX\n4Y6pFrf2LcD64IszNw0FIrrPXyAwx+hfNdFP7HqFa+pna/JxPE53ZIqyxi8U\nldUv9baTjVZ1gKnohMHfNB7YryvVoSzPnM6qz4wRx+llq0hpLw9vofBumEW5\ny5hOxBrpN8IQHyVMMxipRH9E5vYWnYvxyG7Gwslp+lWHIwlb2OvQbO1lOKxu\nQBJpnhDd++c1Hjs0jdjzaaHn0rG1iXHkc8SCg/QQWUKlfqDar4Z/tixsFl0D\nMFlH\r\n=qqFr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxPcUHm9LuFmMFFKrAaMh14XPTZuib4cX/WHail1NXMwIgWNu1GebauGAXsWfQ4tRQiWd2xXTuCaHcJzi8mhQ0kq4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f78c9fb1_1533965080372_0.4439295310406759"},"_hasShrinkwrap":false},"0.9.0-alpha.a4bc3eeb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a4bc3eeb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.a4bc3eeb","@crave/farmblocks-theme":"^1.7.0-alpha.a4bc3eeb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a4bc3eeb","dist":{"shasum":"880ff53f291f5f6c2af1065ae8ba7b7febbf6957","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a4bc3eeb.tgz","integrity":"sha512-LzLsYiZ5H4hwmIzIxr2jWL+X0dKwUOydc11C3dCmoeqte9pR04o5GI+yB8siQTCtAfM1S+sSbs5O2hrwTHyN0g==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbsqFCRA9TVsSAnZWagAAc2UQAJq7Mw8RyH7zYTet/dJN\ndtYapyxyu9foz+uu/aIRi7wt6Jt62wsi1mWCB+YphRPKq+bszsjSocYWyt9c\nphEfl1sMrKCb5wAbj0vGfbnQhwcp8XWN7uiDncVt4aiZKKnBj+8UzHfRYcFF\nkqhmyIp8OloJ+Jyi+TDFqqVE6oSh8KEoHmNcJYxVMNMtA17BQiXzczx+OzCe\ntq4huOt1ujDuhMscUP93+TY6qwWjaFL44stzuVbetUqyW7MbPjDsaOlo71Q0\n6jVPZfx7U5xN0TLumB+HYGETa1FAj1em3UG19P+cDhsi5IhMS9Ux2E54Xzms\nTxUkHhhD/rTZeh/OVwAKg8OZtEPm9IVaJTwmtxNwJmTEqMEiYVAvJa0bh9Wn\nFioDdO5iCy0Vfou281gohDnjA8kx6lLiAoMHsR91gSf6bQJvF8qQgw2f0el5\nHGsPg6pwFHVr/GrMqaxhYMbTz6RcOEGZFot9uOrSExfJxi+5iSe/rMcn+grJ\n0TFLOUA6dh7LUzTQlj1LGYGOo6Y2OWgGCvLx41D7NswdFa0REbN1vP1Vsf+y\nI+ysDSyy65r/dFG+K5wcXtmjCL9ecACE5qg7vBAHTrc/j35WNCI+py1/UxUe\nk/76l5DC6UzF3Sb1OkKHx+stvlT4XL0mWxccM2MXhBacZZmYkboFtX1e9VGB\naBQp\r\n=4wqQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGfFXAAagncldu28zTmwsF2e02wFxaen7ddynDIX8mQPAiB/HOq7aWHukG3xvSUzbs1gxyaawkOTaO7jUlAFxrBKSw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a4bc3eeb_1533987461011_0.6143370161976693"},"_hasShrinkwrap":false},"0.9.0-alpha.588b3262":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.588b3262","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.588b3262","@crave/farmblocks-theme":"^1.7.0-alpha.588b3262","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.588b3262","dist":{"shasum":"9475d2273be07120ec3dac8d4246a8d864474f4d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.588b3262.tgz","integrity":"sha512-fyX/xztt9WPs5LPwqnIbIDG3S1Qr2siWPfbHyBB6OVuS9/qPsnmvn92axv7kn3fcNp6JxjooDXT1+JheM9aldQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcYciCRA9TVsSAnZWagAAiVoP/2kdQP5Mg3O2bLEsCxNd\n8XMvhvIKjh3m4awQtHdFNx6cTD+EmqKHQgsQTgne9JDmfDJefY6w+5hkndyT\n55N+MdRkv/Eyqs5rBvRMaM4VV5fppkQqNu4CiAB8JDdlFBXnSm9OT9TP9dcT\ndCouf7+EmrSc36eeQyP/YttkHGOl7MIcz58z5cOycl5KjT7mpW8oOkukfQ17\nS6pfp7saYIUN+nPHaxdJdX5mMFxTbFYN8IiXqWW9KE+fXo2/y4CJ9L3rdxYN\nErJdHIeVJ8w87mmzhN2N20iiSrT0onluLayVOZyNr91XIq2o9OSLKujGBcWi\nZt/MQ34OcbyhqkREquqc4dymsVYWuQ5UrCyndHM1FUnrgrgtnUxNj7k3gBSU\nYAMvc3TInn7KXJyI3MVtVGiH4bu7oJhuu2nb5PBTWStZCAZicbRTGKlyNtHK\nyKjg91VN0a1Iwb0Kg7Qa3PRHZNqslQfKvcJMvKzvzj8wLItoNknzYbRp0BUE\nTyI5bS1wKpr9e8F6kSDqBsH8kqSpJojRo02Z9aflymIHU6ASH47pF5bpM3qv\nCbgV9T0gEptHEAN49yjBXZn4ZXlWovuAzbH64D+JOk94CzaxF7CByi0k/Jgi\n4utnwA4TgjKiYARgxvaSYMMSg4ODayW/b4FB1gKsdOFzv7ka7wvgOIc/6Ifa\nJYCo\r\n=mP8e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDb0i9FK9/MJ97yDP8Dy/ZGrfO5AaqUIg0h8BZXJnGv6AiEAv3WrhYfO0iYgxN8y1kydx/eVNj1jQBUmKNMqjCnoQSw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.588b3262_1534166818189_0.5079771212075515"},"_hasShrinkwrap":false},"0.9.0-alpha.44455819":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.44455819","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.44455819","@crave/farmblocks-theme":"^1.7.0-alpha.44455819","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.44455819","dist":{"shasum":"5e7e641f9ae28580763abf425c43677b031a1881","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.44455819.tgz","integrity":"sha512-bpUorYlQvz04FRR3g8I3OxFs+HOCj4mK8nAzHRijXDM19BQCI3uK2Pw10hquNLty7uB6Wu8HtkEqxcvtV4M39A==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcY4zCRA9TVsSAnZWagAAfYkP/3EInrlrUqKcaKzMBpPn\nHP7g3mtRrve3SsNrAbIhl0NtIfm9Tyrqc0BEpDlOGL0SReCnwaW7X/d/+1F2\nnEgSaeXBcjxaWHmCKZDmgE3o7fhqfubZEO0gATZWaYEbjgAlk4s40VAIn7FR\n4mZVPncjNiy/ykfJqV/oBUN2KKaDa7vXGKPW7X+Dh3nlHXiApE+/dCggv0hC\nArZncZDjlRUrNhCyfViGAdsGbXDbJqT3eWOmtZJJRDX8Cw78pvtzFyGxeN7o\nkSL44y7Ecr7OL5VVcgPI3GTb/gbiBU3uOjkJhYzyR+eE3gzGnIZUB3CgSdyE\nE2LjK8oj6NZl0s4Y6B4A9XU+yL8Ot2aDvQLEkS8cb0z3K0g52Jp8UTUlyfX6\nKUlSEgiWJKi7tBy9Fp9PDxmcb7YUkGBE0SENkf9mxEYFOw/Ia10j7MIVi8zA\ndGZ5FDxIv3RiAU7SrvwhlAHauk1QP8PhwUIMW4uHqDq+xjMjQXeeHmDPxjRz\n0JVptSUh/JgmqaVuQnxOGjI/YUtleXKe9hTDia1FaKurIYliRwVi/DAPxb+l\noZC8zStn6bkMGB2TU4BYBuSR70pS5O8rjsk5WBtupEz4LD88ASWfbMhu9q3G\nJLIgvwgXjq0FSUZxEn/YSM8yuBI/KodeL9AI3/CIaAMShXhaiHJHWmUGgDcR\nB1Ay\r\n=QvlY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1hu/vXkZqb/8Zxt2XF0pRT/CxMoAjInmAfSMLMPWaKAIgU35frGNryzMbYe+PxoYnFEwWMpVeUVqXAUud+lZkKXw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.44455819_1534168626562_0.45544462406338626"},"_hasShrinkwrap":false},"0.9.0-alpha.42ef722b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.42ef722b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.42ef722b","@crave/farmblocks-theme":"^1.7.0-alpha.42ef722b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.42ef722b","dist":{"shasum":"bcbdf0edd6a021e1d8be6e40f5b4d6880b3beb06","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.42ef722b.tgz","integrity":"sha512-bZMZITfFgUkDu9Hq4ETIh4nJ7rT4nf/sgT4AqwY8BNYaNANJcTxT8lVkjiECAoSS3HFiZ1jlCn7oLR8aBW6Qrg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcY+uCRA9TVsSAnZWagAAanEP/0Ld1JhNudJHdXwCSDex\ns6tH/fCO0T+pyWkHN2J3crxV+cqAprst05ssO4zSr8txIg2ktnSXILVArFJe\n4X3T7IX7q3xjNEIVabE+PLiFGCd/o6r/655XPfl8wK7T5UiLWybc2nP5Ewak\n1cUVEkCigqtEyg2KbUKqtidXtS2S6NUwWQ4dqHPmC8QMlcRuz8k1ltMfX4RM\nSj36pIR+3iRWpeyjhifP0P4P1f1+w1U8tV7PvS2HyOYdPBUA5A6F0wV4HsGe\nL75EHIZohuaMdsLvuz1hPDGZ8NfIR6GJLugI8M3qhWYWZlqzkWwCqMvqWlrr\nSPoNHAC/uYW3bdYrybSKIu6FnvRtIcfej+/M6c5lh0O17f77goccFZZrtHDO\nMv56ypokNP1XGj3Y+vsAngsq8C0R7VDpBv21SwSAWB76cPC0bPj4bhwujXrm\n5Uok87cSbaWNDpjJ8XGD49RJy6p9KT0Uf+sMQwA5gOq7a0cpH8k1xhaThhDQ\nwIq1dKWrwqxAW9PXLgj7D9bk9agwJHyeUSGrLHdAi9GUg8ZpfS09NTdpML2t\ndrLJQLfP0ERGEZsr6lunfyRFbseCDCDgraoJUiGSXqhQ+D5AdIeGcBdmKDeD\nlp5gpuy9h1/rdaQuYoQV3PI285FCaWIa3SaesbN1rt9PVvrOuBoycoZPqths\nq1KD\r\n=jI4W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMCA7goREyIcAoJpUveEVF5z07r3giE4klJjWPIYLn+AiBFLgbXf0EChlb6fCvvgyKW7vea4QUCiA39pJKYnZ5zHQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.42ef722b_1534169005579_0.09578228083942442"},"_hasShrinkwrap":false},"0.9.0-alpha.b5edc8a9":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b5edc8a9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.b5edc8a9","@crave/farmblocks-theme":"^1.7.0-alpha.b5edc8a9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b5edc8a9","dist":{"shasum":"63b582f4ad28267283d67ca9a99e94e87efec3a6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b5edc8a9.tgz","integrity":"sha512-BNDm/p/b3YNZlro45Lr/74sutd0d/H2mCeYURFnlGUGEAT2Y0itG4t5OHNAlravLZAGEftdC+z3ohFrfHe5T4A==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcbz9CRA9TVsSAnZWagAAOqIP/jEKBAYzps1Dk3ci7Jn9\nCcFri9jUYsteBtKZ2faX/sAYiEPVnxz2CU8pixqzvit1rUJ6shEThzp5Jqnx\n8THGCiLAP5bvTxYDNfmazM6XI2mXQP4yWliQk0q73XrsIFfjITUmW7Lxl+81\n8INRuAuXxYuqUHD788eKQ5fB7XRYMHRh8a6TOrcVx0XUsqEafGPcaBZ4LxpN\nqHn99n9g0HK6Oy4fXU5+xIcmdHnkRiVnw6KWs5EgqjZiFNUby2gaVkbhNmyH\nbice8dSoDJsHuJHA0UiXSbxyRboC/OtVY3dhQKnBs7a7Sy2NjcS9dsN9At+M\nZo5N5uajWHiZuhDD382HUiSfVHnz/neBerDX1zeSDbPmq9l9F/oZ1Hfkbcjq\nR6kkV+ZtJEbpq5D2picNVARmY9nrQzmnx0qx142Gc39bZC+EtfHNJJDB0Hhh\nrVixXt+VlBBtiNrypVLvwQaCdBNH9IDluvzcp9KSGKn49PuDeKAfeK2He698\nPT03dCxZdPXHhbx/61oNOLFZZnSsdefBt2im4TtO3WYLhr2f0Zzar23Fbslo\nJXTgZ5DbOKFQh6SVOeh4WiMtUwhIH3AXj15w29YdZlz3HEOcdWlZ0yzN765G\nU7LrJpLLQ3eRtd7te4epn+D5m9u3zMLvFrClSVGuwYsrMOPF0agnwW2t9840\nyn4p\r\n=n4Oj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVYT/5NTmheeC8QG4VW/Mwc6lU3WCKweAdhsKtYbyKRwIgcUAMWkmEjx0iF+u513oMEVIgf7NjSE8N73+KPjH/F/k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b5edc8a9_1534180605134_0.49383835539834253"},"_hasShrinkwrap":false},"0.9.0-alpha.7842815b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7842815b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.7842815b","@crave/farmblocks-theme":"^1.7.0-alpha.7842815b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7842815b","dist":{"shasum":"5dea00be35a5ce9309fcc478806a817f2f2d245e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7842815b.tgz","integrity":"sha512-zYiYydw6jigQZXOCFwiEoTFHpwvnan6J4bpAPkMjkJx6QAE2ypLwotPMp2MVf1CYTb+b+JYT10RGbif4+BRYTw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbccLGCRA9TVsSAnZWagAANioP/RfkNCt1BZtPBYM2l5li\ndWmlmlpZC1qyN4pJeDXqZncRkiwEAAvOKWUnZw62YAsV+bBGUPY2w60S7gEC\nSc4ZhO29RIUrYhQt9eKPEgpUWM67W/dFmBzFZQOOKWDJK1QKJEb6uufa9/Cy\nJkPAr1AHkf+9cSwtropUJZ26wVpVYFA93YPi8gO2KKldkXakeIsR+rpZ9ULk\nIsyBMfBck0UZ0SLuK/QD9BmuIhg9qrAZSpbyN4oQfB9tl0/83Pe49+a8zn/x\nL5C+B+dmcbZc2+35z29sM4dOzuEC4EB5nsJqltttps0Da9TovmDAsACd99nQ\nHL+2CU6yB2wcd51eD58hUfjt3pxIZjBIeKtYkPNLpOLUBgGpIfMwlg9ArOzF\nbl7M5hSP5DHM/HPWm7XKQdSGDE4WyOkCCTNSGvzAGwkFvI/crysAK6NCzcXq\nwDnwyYEHj/UnoTixm5TqZOiZgBGGCZaW5ohCvQP5Zq6DoM71M2l8kxU8LteP\ncpqAQKds3+e54iEZPf2QnL14d5G5bPH8Iq4Yo4O21LqVZfD0SF6J6cWyitjB\n3MXvWF23FGAaBZPMdtrAUHNfk3IbRhK2ikskbmD02sjd1UHcw6U+r+sxfY4N\n8z2C8hGjFrUgdCXvUNctxRWjbYGwZ//5Ktw9KdpKeP/2x+QtSsrAqnHP5U7f\n6Eti\r\n=OYB+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDN2KLfR1TVIrhnBR/oxnYuJmUtoMGMoTzRpqmcldh8sQIgIFGR6M35YeDq8pvf8Do22RXRIVOj2HwPKBDhECmFkqc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7842815b_1534182086185_0.11739763572013273"},"_hasShrinkwrap":false},"0.9.0-alpha.fa4c9db5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fa4c9db5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.fa4c9db5","@crave/farmblocks-theme":"^1.7.0-alpha.fa4c9db5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fa4c9db5","dist":{"shasum":"697cdf0cb3f31fa62afccfed0ace42fe3f135893","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fa4c9db5.tgz","integrity":"sha512-url7aKmBbDwZ9mP4l1N1WTeI4iJMStBEdelr2QQ9ZalULpm/ITooAaiVaB1C0Tctivw7sx9VQ5fkcgYBZTe2bg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbccl6CRA9TVsSAnZWagAA4lEP+gIXO3y0qoSZT3DRnAqW\nmQL/Y4gTmIpY0yltgExhk2X0gbglV/f6k8i8yTwuMRWUZ/9qfyOVlKaoF4Ea\nLBH+iAFAN40H6tOzNEc99ItgEVZlA2DzVqf4Slz214iH/4d+1SWgxUxrxre1\nNB791/+t7Oge7PQBdPIbJklGJiL1Un7AOL04CVGGWTxL20sDxVB6S2XQhd+P\nZV+5YRZFLxwO1HpjUheiIdgMP5sUmyqyA+QJKSxY+Tgd8wpi0DE/N7Q89wO+\nSzRbRjrXTt+y+A6XA9aWPct0arvpyeFbRJtwaztNIlZxKzt0zcrNAsOBoL/E\nrnbRw0arr8MQgOd6OkT014RpiyeWoH9Uufl653Frvx799NiXRD7TrRpNg0FB\nLZMS8e6XyPMJgHCW6+v3CNF4wZYbNwlko+zqlmLdorAKL5Rpkhekj4ReZGGx\n3H4+tYyc8TWVg1EoKI6XY69Vvfs/G8Raixr+tjqyNIIiTz6+nFxW7kaAwYki\nUfiSE8n5jm2tnsAUmIWhQzl9BiPwmoVU/t8nfCvXB5S9LjgX4zObHCTI8+l0\nlJuGar04Ak3HiFJKzI0l9mid77sqxuTsbBBCL5x25/nVuCjpAMorV0lnf4ah\n5clFEo2/etL53zq4V9ngjvIvf1Fz+6nMIWpZSbP4tAK1a7HgUfxGJ92lJxpH\nm+JK\r\n=OlvH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+7H1MUWe5r64R59/a6sJ476bdRvlw3PR3evoF0qsymQIgGlkUhMlgVw7puYNXT3gTKGDn2iDRdwWCgJNtXnvlYJc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fa4c9db5_1534183802275_0.7680865951272671"},"_hasShrinkwrap":false},"0.9.0-alpha.72fd3088":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.72fd3088","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.72fd3088","@crave/farmblocks-theme":"^1.7.0-alpha.72fd3088","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.72fd3088","dist":{"shasum":"0e01576cb93eff2b31e34452569e947e577a0007","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.72fd3088.tgz","integrity":"sha512-kdyXv5sMGCbRzdTnjQTfK74iGXdTP4k4ISuivib3XKav5vLIKivLfgyUWiEY38ylKZ2xdGMNqs4B2FGtnz1kpw==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcdlVCRA9TVsSAnZWagAAEbUQAICVE4zKgd7Mx4y/EFIr\niCJ9f3qdg7AncKWGx4E13CBQ5BXh9ZNpnXeeajV48bsf+5G9zYdAWn7jSJZD\n2/5tIcn+ZggcIo6vua2rd+5/jjgdPXBF1dArtCWG6WyniSK3TWTGHRPO0q/h\nqIsWgTLAlMdgIm3azopCKb4CYzUbfhsvK8ZEY4EF7dldG2NQqm/aysjD/4wr\nVCIoGd9qr9ZHQpBUx4Ydy93whlTJl5bBwfZk0kAgYvw6lhhqz7EG6mHzmUlj\nls26F7TIz31e32jN3/epvznOdEWZhwJU6bBx/mU4FFvpZxZLEReiFLQ81i0Y\nev4/k6IG9s7OCYsONIWKvQnw+4+6Mllb1pKFXCLXk2XkGA7g72I2p9Y/cWJA\nFfq/9kZFjzQueZlzbRPNDycCK75E3jtFDALjIuHxQ3dV7JP2eCTfjM5cPzwM\np4Dcsbg7ARVyIu5ra050AKShcsyrj4vUjhpgzdTGyL1qMDFJP6H6WxmWDBKg\nVcVimqhsVGYHDSO3QEv+xao+uGxWq+7/vQOviuQbd1DJneD8sXTcBAamBp9J\ndWb1FeDmJx7wFK8bv7TtRBCiZwxc/SfeHhY7gic/QHgxnOGd1Rn2dVAsQbeF\nHb9Jf7S071V1fGFUCod1xKawKTFg1LkROMfBtVuNbaBNre+iBNNMWNFM7TH3\ndkgb\r\n=eNcQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKQYxi3wOj3SPHnhAom56TJZ1e6e4cyQnJOcv4SUbiIAIgcFM00jA8Ub8rRyETYpN8Wgef+9kCXvUmpUopZd8Ejxk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.72fd3088_1534187860738_0.84692578362905"},"_hasShrinkwrap":false},"0.9.0-alpha.bc38dc6e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bc38dc6e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.bc38dc6e","@crave/farmblocks-theme":"^1.7.0-alpha.bc38dc6e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bc38dc6e","dist":{"shasum":"464f6af4144f86d53ebd9b3497b9b04eea431b86","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bc38dc6e.tgz","integrity":"sha512-nLlVx2DbxvrXFHR7Bn3KCIqYkMJXe1Ob3d5qKbnHYqg9lpy9tN7afCA7XIjoyRINanXvyKrFcPDqDmabqozceg==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbceGcCRA9TVsSAnZWagAAbP0QAIzbLCA8Hav3l/mhI7b4\nqf2vjwh8WxkM1TU7T69DdvDJqjwNivmSUL+spKcQwFrAv+hywA5PpTrpbxJR\nkEsyZE9YL30hIvWgUqSbrlyUbxbIYTn6ohLxJWG6aPlDC48w2zrE1zkb9GOV\nNSiPYOSvVryXssvRfMNRveqODTs6xq/TmkFgEn7ormctAG3m0yTr+mZmWWc8\nJPQic5xHN/S1ThcYhS+szKscEbmavTCNnitrJ++jR7TD1qD7rtNsWpn+bP/h\nQm50Hoa7cr12aM/fKDYXIgo30uHfD8+wT48Wn9lJYWQlCjZ5MxKaetbeQskT\nXl9sGdetXjZifXbPt/Ws/0RSVQkAzrPlbbmqdc1LUmhyMQkBNE7FN2aHenEt\nd/zCtO8dSww+OJA9p2f9W5QdocEp2KmzGifQvN4/w6AKJreG18V4Rf/YrPzv\nKcTAY1E1YWk+cAw8jc5Zg6tvcYwX4jf9P/X+7pX8rv/f8DVaPB8rM3J0RB28\nemDLE94/ZNIo9ewkmQ+7Q8biJJp1ND2CnQX5UtdVSA1gpjjwkjEo2frThfmx\nFz1Ido1p05McCJmfdlsz4KWYv6kD5TiuKHSoXBR5zFigNRCG1XGzks896AVG\n2AuNa/ipY6u8LVPllBA8PWtAz4xSRHTjp4dszG5v+Msc120QgEQAlW7QyY7J\nRrFx\r\n=dH9F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDai0SpZilgIHJ00MzezeQnx4crIx4YgcSjuNXOr2GzigIgIyM6jL3svKOa4SbFAJucoA+gZtVajWcTNOXE0UXGOnA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bc38dc6e_1534189979835_0.41345857595248003"},"_hasShrinkwrap":false},"0.9.0-alpha.f2d16cfb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f2d16cfb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.f2d16cfb","@crave/farmblocks-theme":"^1.7.0-alpha.f2d16cfb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f2d16cfb","dist":{"shasum":"290dd27d115f88cc96ee1310352338685d3bbd03","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f2d16cfb.tgz","integrity":"sha512-qhNCP+045+FChsnIRfSuuUpxs9Z2JB0rSGp80xiPAxB/Xbl8iaeV2SaqgJgL4rBJL8OxnrFUpcGAqyvOfm/HNQ==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcfZJCRA9TVsSAnZWagAAI0YQAJwU2W9xWTX3sy6QrbIk\n3c+b3inTwTGV/FeMFAeRGeucVx15xsj0kU5nVuwthfwC2A31JEhAev1qxJAL\ns5bLpYjzPFg8mp10x4G53PhJEsRncQYSOU9z/8xFFqmhBsfFhRDmtI8Aw0SQ\nqO9b56daCtebSBlHUZjff4ywhW7brDD4DPqlu8wzqheQQV1ChGtvQPuPuj7J\n+szXsFIDBBXi4TE4ucDjPWCviR49E/n8SK9S6kZdyTHCqGXjwrEp8f8h/5RV\niTcZt7qoW2fJ7ilJKFDdSU3Q2OEQgDJWHhOlMc6fwlkWI9TirFYJ1qdVLHI5\nXX/9KgHHROe2OtKHnvyQJSO0ZBu16udHYC9a0Ltxp4tK3vlRUGOXng5lQkgG\nLUkgskEmtclH4wjTPb8HCFrn2eGAC//ZkEkWwz4aJSzDMj9nYxQr/5Cbl2I/\n0r+QjSeQA9F9QlcCRdzMIS6J2VUvVt+wHfdkgS4QNd4BaPvAsjnSYmLSRypD\nxLtrMvSRwy97mpcLkmQBS4jc9ZgXW1+ZEnZhH55B3jndVdmOUiTSJ94gt4SH\ncZRIHSRH4vjPELug6s4/IhOLEHP6wDOtQar82gBW/5YMDQwoME57zwLg0gjd\nDACiBAURrjqjNIJOQw5z2KY2PfL685+jttr2UM7wB158ZIWAFEz1GWI7zgeY\nvUil\r\n=7z4Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1mfwBZBy2JDFyHf5R9ZhdP7HsJfjxtGTIPSP/a8wx2AIgCmDD0WXsSLJgqkejpHjVVbAk5bXuDF3jUE9WgvaiP80="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f2d16cfb_1534195273355_0.8815647623880383"},"_hasShrinkwrap":false},"0.9.0-alpha.3b6a29ec":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3b6a29ec","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^4.1.0-alpha.3b6a29ec","@crave/farmblocks-theme":"^1.7.0-alpha.3b6a29ec","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3b6a29ec","dist":{"shasum":"f6e58a4b5b0bb094fd63b30994b57c9527c213ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3b6a29ec.tgz","integrity":"sha512-F0iSax5sr7GZCmMBC/7r9Dzi5nmjsrOO1dAaqPn/8yb60RsW1sqeXw310cJWib21jhPOBDkDjA7Ib4YCWXry4A==","fileCount":15,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcf5bCRA9TVsSAnZWagAAfwoP/A0Xzboe/ZtJf/tXZShi\nXVV9pVoQfJb3psDTRHVmdaEFXPKg1dkuZ83CgjonR4B/xorFIdj4px8p/D1E\ntODTwGbn12QB5wYsVGPX2jXfObl9vpmkm6BI++9OeVhbeEpP6bRvU1tgYDjI\nAmB9vW7ciFh6RO9G0QxPIrpOH88D/wOTRHdhCEdIDvIGUr+DqiwBvMW3bVrb\nrH+ip2QkuoKQNC/WmohCuolO/eW4ATiYgds+mCmI/5SXOfYtRvoiRbkkLN6F\nUN2Lezuep9JvZTZRobMqPCqf633+H7u821b/BvLFLkNphiFP7dhEUF42g0jS\n+XKxCAbOScfLe50borg0+MZS0PztlSy98lCRYam3TBXrNxkJm3hfY8jkEnhE\nsVg14zD2gqtiay/KhAQGWEN8DiDxJycEEjnf81i+q112dJQTPaz2kf8EQF26\ngBvhpkF/WX+bLqEjg7GF803b/9Kyik6m7xU/92p1PsC+L0+iioviMCRjryEm\nOZW7ENIIRjJ16lY14n13IklITLkbeELKHscNIYrN63FsBSE0Bz6nN5mNqLDS\nquEqxkThkZILdpxubWQMiaH/hVE1tq7oHXO5fxihkWr7OYjEnEZZ9gUUg0j0\nRXRf5jpcbQCvO9yAffNi2HxFsDXExEFJ/I1f/z4qzGxYyBkIydzCjZBywLYU\nFWjo\r\n=lCMg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEXMwlhHvAyW4HUvE8PrPTK+SniIbUv+eoNl6Eog3OCAIgbCfm5o9wvZrWWhEjFTDUwSDO2yK+poJrFJVPqigPW/0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3b6a29ec_1534197338674_0.8487422351237135"},"_hasShrinkwrap":false},"0.8.2":{"name":"@crave/farmblocks-dropdown","version":"0.8.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.0.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.2","dist":{"shasum":"8f4735f770174f6ba47b436ce3d721fb33f1cf52","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.2.tgz","integrity":"sha512-UwnhZA9d25BOCRTDWjiO+kH3y1ha7mH5v7219IeMajwU6hpqNlkQByp3846b17nHzROuSBzbXavjlRB8Br9gCw==","fileCount":15,"unpackedSize":25814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcgEnCRA9TVsSAnZWagAAT/oP/RFvuAqs9hdP49aIUJna\nQ9jWGmBAjBR+woIIW/ZFuUCVxtvV+6pyLO6MvyYPJHC/lHHdqZes52Of9HrF\nWCC/cLU0ybJNs7RZWxpqghiToU0qVuWgCCZ2q2rNgIWl/MyzkyIyc4cSRizR\nv4mkPfutwWTBJA8Dv2FmLVAb7rCNQFXlj2S7HPciMdGB8eTvhyNXtffw/Kpo\n2R9ugdUjpinzaW9q5VubLRQFwvBf2BWbpkUIAVcDpULskuUCWkJs0fnnI3KB\nf8LdOAnm4v8IGeIdVUoiw9RNL0X1H+VtwCpDy4sWclRTDFwp5LoFDGBR7rUL\nkCcLkP/+xck4GVjgeWg6Mk0/w7lAlBfS6+aM/uxNWLYK0/QrzxnKjDcw/aOM\naJZKqG8j8QtxNsSYGIe8qQQLqfy2mR1Hxtmse72hgsrel7+63V0Yy1+omLux\n4OjVbvd1suE/zDTKscNWFctMtf1RfNFAWOH/N/aGBfb1atFjvXivakQHUVUH\njwpw0jaXCTl+onOy0R7xLxLYvFikwNF3jjqaTe60sVyG+FWQLpYUSfRSTr4M\n/gxQgOfvQj9ym3QA0I6uUAjPC9NA0OuG7fqBzWqHi82LVCrIi7AV/XiICaXj\nTCeu9LDBLAQw1xTxZ8JVhuqdKwogqYfmfVA9/GqjvFH26gi2ND+LfxbGdauZ\nUbPw\r\n=2FIz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwGUdCR/f1vx8QF1Xb8yR1udcs5q1HEFOs3JATENYH0AiA6JsEhAhuUD1CGmNR0ryxJXKHoH9gPzRz0Hrdzl+P6KA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.2_1534198055049_0.8935807905169482"},"_hasShrinkwrap":false},"0.9.0-alpha.5f64fe94":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5f64fe94","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.5f64fe94","@crave/farmblocks-theme":"^1.7.0-alpha.5f64fe94","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5f64fe94","dist":{"shasum":"1ed29fce2dce01a3edc22f2ed8685d82e97890ee","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5f64fe94.tgz","integrity":"sha512-CouDjRQN5Sot3XNKJITDa8ePIO4Om0ZJ7OGNvXocsKbC/cmEn09olNUgU9ezzrRJvUMsHXteAPNg3w0lt30ViA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcsGWCRA9TVsSAnZWagAA75oP/jOj93UmJbVpL6aE+Q4z\nG0D4s0xAHwx0x4W3caX+7DaY55zrLqtIUr5Nq2Y1ZGB9xIMEFSevZRyuvee2\nJLyxLJrhgNmziG3nQOY1x74fVVyuLPVX4W13sXTipPGpNWUD9lgn2sIPpuev\nEUbP0HN/oJSXzX5x/WJRBPP6AbIyu/HGnXBqa0abOr3OpZoa5RIKmTKKiSoV\nHF06Fcevx3e37ONrxVfZ1MeQZu/0UjAWzAMO/xRVF9hQ08x9dQ8fSGZGxUVF\nxtXPrhwRAqMAXIoFHqx3+ODu3jnJGhZ1O/nVQPpyIiXNVie2hpcGOJPIg1GK\nrwlV7JjYdVIxgDRLHBCCjgjUoL3PeAU5o8UxXcF8mRElu/BZAyPgUVQUsXVJ\npimqy1LuEGegREdUT6Tub3HyyVh/DfgIaQ4OF/abhnwq3zpWEsMjcM3SoODu\nVofE6VaZL9WyDa1TJx2zBlbFiXzQ4arAekZA9+uPMgtj2dAC24/EFH0tOncI\nGB7Ufas+l8fMMqZPzQYar24Oclbrc025FTEAEk8JUXrZCXve/wBxkoarrq7w\nfstQX5P3PZ6M1STGstAPO0s4eZ/HwbrTEZxL3rybLaSomELGGp9685bFuaXd\n22cv+Tt0sVnz8briji5SjQM3oPi1qce/adrAE1CRMdTkpReIXJ4dRDAcd/9U\nkGTW\r\n=WdvW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRo9pweOS0HWqmSXvwh9njlQG0/drTXeNArhCG/VUHywIhAOQU264Nc6+bEmmP1YdY+rj+8CeDU0hJyjnNcjVHuttV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5f64fe94_1534247317663_0.36796209858229645"},"_hasShrinkwrap":false},"0.9.0-alpha.6dd0a593":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6dd0a593","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.6dd0a593","@crave/farmblocks-theme":"^1.7.0-alpha.6dd0a593","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6dd0a593","dist":{"shasum":"06dcddbb1cb9c90cb5fd75554711033870ffc791","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6dd0a593.tgz","integrity":"sha512-UvTnwccxX/ytoa1rQLj6pm6D1Y5k75AZTrPjHusngxk5W00ojHGnGptp1hCBEzAJGxAZqduyflas1I6gGSzydA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcsQKCRA9TVsSAnZWagAAAg4P/jMtA5b2/czQM1oJ1aqQ\n9eUB8WYFXgLy+repoauF1K3yJRUkRaJxTcYjOE3CaMcn3I7eimUfun2XXNh5\nk6h1MvTioj2HT1liPR/r+AVqnPFvfir8CQWLymvUd5VDAS+kLbP1MxbRc2pI\nS1bmPGMZi0Bx8jo0LjTzdQxZwtzgMx6gF+BXSlAUZzveeQTXlDUaju5VZGSF\nue32yaONOoPNIzntgW7rNZIRHNYBDyHFVymK4WOgk+Rl/cu2QveVYLOrhP6/\nwPUAIxPKsD43TZPSNxeE8Gqjz4WvujgXficxut1T8zxkOgZ4Xyge2KFuKa1p\nzxvagon3enDfJ0CgIqkxhL+kdLhXqJeH7KodO9nZqWw4hMxiKtlqh0flg7p3\n8vEdCY8RniyEcXcxNLtQ8gsKiSd+U2sgJEd2+VXyI2MhI8hfqQbuEwdiX70U\n8g2AFvUEzbF3tBm92mDuGFU3ddjsKJhnmzw9vOpNtWjLuhI+d+x9eNFFB/i5\nmCVBzY7exWA/w/ibKxeDok0SIYR0x7SQtS6oA/BTziLpbZNKdBBuAN+u3cFd\nLHbE1Ek7q4KBHdbbeaxXUYAVRMeqXziu2MCI5Ztcm16zUdcl6Yy1/mpaUv7l\nJ9m9JNmTkxV882UWTAp1KPKMnUeZXObhE89DhgrcgGFKAr15+V3e7vD+7tzk\nPqhm\r\n=8Iaj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbWdzjVuRrTRjCcUOS0ztY9NqIr0Z3wYxhkvFwsht/MgIhAO3UdoTkBG3kRO+fA2Ny7Zp384Si/Z86g7d9WCuTDQEZ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6dd0a593_1534247945670_0.7588657655102049"},"_hasShrinkwrap":false},"0.9.0-alpha.75675ae6":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.75675ae6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.75675ae6","@crave/farmblocks-theme":"^1.7.0-alpha.75675ae6","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.75675ae6","dist":{"shasum":"2887f00df2fa62d3c84f4b041d1c0ba24b60c5df","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.75675ae6.tgz","integrity":"sha512-F5ExUMSiESdTTNQo9AG7JjBP7pe4uo4uBBKPbbYpRgvjQH40m6oTdfh7ut/huJkexDMHDLOoQEUwVl2vDSPSbQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuGVCRA9TVsSAnZWagAAUE8QAJWaboxKOGWQgOgWpzV9\neOkNQZvafubzXoYkGDYr1gN23ikUBlwNSJnGK5wk1bdLdCKgJiST7yfpx6zl\nM5q6Qx3I0hh5rVvvfakq3KhadR3GgDnFOxIWg819R+kcGi2yUxY6iNOZXdL7\nK1zKRKHtvwkiYwxsn0mt5HFMyA4EjNYlvg6zK/I8yzJXGcjKELADGzIbsqsR\n1ftXN3Zw5TBNVRGt+cS/L/V3W/GNmcKfhoXB7+LWLbvZZc1O/8GWzim9r5Wi\n3KsDdA28qT3dtgc4bReMOD2e3s0VZeCmoYXACYt4tO7Nxp4+1w35cecmdiFf\nxx7yGpQ3sFY5HSZJt40SMd1/FAp4x1xbfSuXfMlYqo7n9myUHdhrc2NTcDxK\nCdzAMyS7udB12JAkranFcL7kjD2Z+WKm7NCLtOriKyD5ymDJ3noQITRpdn7v\nUYBoAsV/JKfYYRvEBNLkLmLVUsb2C0Afl/ZrONr4TZKOv1eBHcgk8KCIdT83\nwYXpZDoMyyaRgOH2t5RZP4E0PcP0X8HY9V3wkAvdryHeNSd7vOdEQH9rMZwy\n+kFky62aM3+R7JJigm3UJbiSDXKSp1qAn50tdyD3FwzzgGspAlohWxLHMrVR\nnGPWGJp9023/tCfDU1RLQMTg2Xp32sXOpIEL2BzbcgFpcwpg3HsQrWqpJZ8Y\nvwoM\r\n=ukEQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7hOkfoV8JarxaoyhQJcycAq/MabKNKulBtBdD+ZNvagIgWF6U4ioJiEBfIDJPoXDBc9K/lA0OYuryVnrDMfxq9f4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.75675ae6_1534255509293_0.7859855599662493"},"_hasShrinkwrap":false},"0.9.0-alpha.c9f160dc":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c9f160dc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.c9f160dc","@crave/farmblocks-theme":"^1.7.0-alpha.c9f160dc","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c9f160dc","dist":{"shasum":"26b4867ad814a142f6bd49b68cc03d79697eb655","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c9f160dc.tgz","integrity":"sha512-5NIyR4HVA0VrFklSFkLVbBRO9g+lhK2uFQA38JdfpPIQpzFM6+JRym7fHpkmtOGPgo+TFSfEhew7RhgLxWhKxA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuP8CRA9TVsSAnZWagAADNcP/i8gs6v2HyBssu732XBb\nBr+oNenhW/8CTxeOTNGiw+jKuYyghl/OQN5BfAfeaH0m7ixHWncnrSQCx1p1\n6+j2/oQsmJ0N33m7LM6mGfxtym8KYFJg8b0m6eeYWbftkfu9MiqDwnuGxQUD\nK3AfvFPylEwwioi66xobaRvezdnfP0cmvX+50J4VBFHn07aflBg2Ig2Yq/kU\nVxKZdm7vs7P1RvENzx8LwsZdZmyA8+Lqu5U09Nr1SpsWRqsd56f38hY5UkGm\nonA2L1shIQH1SBi4HAYcvTylKO8qbUGT8ApOuIztoVn75GKjdjnVQKPnYC0n\naj8ZcUH51KJ4WXbmXWP9l5fh8BZuWP/Pjq19Pk+T88uoEjIAfbPYTWny7cCE\nknoShQvBHiunpLuH9wzG3kJshm/TJLYdJPwuz+zHVI6M1+gEDqMVfvRRBeUe\noFn4Q/FYGLGyW4mJ+xHIZEYdkqF/7WBVfDdB3rqpwa0e/qhX+0Y7Dcr9lK4+\nRBKyQOQbt2p1FNUxOO99zrGl//e4I8M00eX3EvT1efyN5BbRtK2TrBKIMETu\nbigqG7STrAt9eSPrl0WClVIoDWcSFC/H7A0KpMZBUqmTgxI6JzZXCwzQ8TZv\n/g/skMd/79KlW8DTa8TkhTYSlaKWx4GtGoPuXQnvXuH5lsTOP/1CPM5HIrgM\n1X1j\r\n=h/dA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoyF20A+s/SXfjfZiPaXjESz408X3k14KY12iuPpFUqAiBU2H5VZ8+sPK9QYt+ozCf20ayjDhT6HLsn0FHlv6cPEg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c9f160dc_1534256123893_0.3927055997069562"},"_hasShrinkwrap":false},"0.9.0-alpha.afd12c34":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.afd12c34","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.afd12c34","@crave/farmblocks-theme":"^1.7.0-alpha.afd12c34","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.afd12c34","dist":{"shasum":"2d274c0a98b5e697271aadddbe27323d32e006d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.afd12c34.tgz","integrity":"sha512-0Hj697278KqUQ/oKY7jocWMkn/ukrXQPoXLUzyD41EOIio5utTEM4lKK3HuzR59za8PvsoPeSEIM0JbgZL+JZw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcvc7CRA9TVsSAnZWagAANWUP+gM5qe0Qsn8in80YQjxT\nht/IMwu1/lx1uE+mibpAqaUoBwdInHheWd01XTur/PQO7Ib18mfak9FiB+Av\n8//R+HxpYHc/1zjGMrPPMc7Kslk+EgZpNaR6x7RmfFzB8iLesiLn25mzm+Fa\n5LW5OArqopyTcBzqttYV7O1DyujJV1Nsl9THbudkf9YhNonf/GlTXZR9FzM4\nIWOphSbMSAllapDePI9PTIGk0iuwPBIzvUKOxykKa7DoJAoDcJDAjvdhvU5S\nXxlafYesVHo/ESpqJdZGfVeZpR8PEOnMysFy6yh8D5oGzCKFnBGMA4MuOtCF\nolMJvgAg8/06Gus1ZXWI1BI43lLjXE+d1RuREFSWC/M7duzt0BvQTk1A/Kxn\nV7zIFKzrnWqvQMFEkKUt7v3lXz/tbwXzwOhMRJ8pI0XeyQZOhUp1ka2zn6Cq\nA4+j/i7WQjmXUsbeVNL5o2FQJA5r4ORuV3fSW+gG6aLghcWpA2PtGwbOzzbA\n9ynWvVGF9xpHK8lCtpfyfgkQZqeQG0+mCtFcGU+jSR5tS6OsOlXpjFWW9d0I\naEigqxlOosDHQVOQFgjK2J9BPBHB7qHf5OaJsEBFiF5dJp/yRLy9GOxdviyN\nXlu+xZLbVXzry3O8B5dbaWOlMvL1q9yC6/5MApcUCAgwzbrTd0/egl5f53lu\nPSec\r\n=5bie\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElv5wPnakJW1fMkBKYNaEXbSea51ujdL6EeIvvlDKpEAiA3YQFpKqtKKa7Uk3n2RWih46rCfEHjJETP8g4sVVjB/g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.afd12c34_1534261050868_0.1131409094346576"},"_hasShrinkwrap":false},"0.9.0-alpha.b913f91e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b913f91e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.b913f91e","@crave/farmblocks-theme":"^1.7.0-alpha.b913f91e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b913f91e","dist":{"shasum":"9160ec4ec74e0904cda8197eda98c17fa58f428a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b913f91e.tgz","integrity":"sha512-0sZhszwpzdNeU2q8aVyZ8zhSe7Ty/ykYP6kzBqkv4EpjpVtXJrMxX13FWYAG/oWwql3Kl0ChGKz09ritb3ic8Q==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc4xNCRA9TVsSAnZWagAAMuQQAIwWbpBi+tT1laUF2rEV\nVAvJISZj6a8W3I1SbaacYynKBKpXGUfngsRf8RMItc797Vjt7jc5xNZrgBWD\nyi6teXoxDmtVbw4edeAjFxDgLnnmijHykOfOD7u1Jm6b6Re4PSzJcTvAeSfZ\nh+6qs5km6htposL9tb4U9DlGxTnPRTtQeER+UZTbEE7OGVhoGl4KiDiW3FR5\nxSY501Sho26nU3+twajN79l/rvZfvu39ME1sMJ2LYhOilKbsG4gUOhIccGBq\n7NaVQVyJkT/tez3IYtr0vslpIu4f2zEK0C8uBHNqM2Lb30g9MSIYXkVy8N2+\nD/zrI8WNJnSaQEu9UTEckKVmgUjG84qvjydatCxztPEl1CmAFYKowf0mQn+w\nzRL74zH1MlpDaGlfzDMCQfAe8K3NDuBHWZLOc9+iun9Te7o/QnY98F4EtS5o\nScVF+04xG/lU50uE+nW3MPXhZ2gQVubrJ/tuwXrg5+YQi7ttJyIsmXyC+G6D\n2fhggodNoG1Y/dPKA1NIHEUx4Kxf7+iMdFSaIIChoJKUu6PslN/Q1ODnMY/l\n9AkQvVYw0my+TBrN4v6OxcEUtgdunuWi236GvDPRx1kHhbR04dbQ/pRlnq3U\nLbI3RWO1Y6V9Kp/PvLh9pWWzJkAZ8Tdh8LAm4DJcmVjyUK1ZRqVjdiM0CvI/\n8lhX\r\n=Rc//\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAypNWj1q7kA6EPU/QVh4kILb6HecWoWXbGWRzj5JjFLAiEAiegGIoGr3gc/dWeXdjqnM7XcENkldg6yFFhrqOn8s+4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b913f91e_1534299213039_0.960012241008946"},"_hasShrinkwrap":false},"0.9.0-alpha.b89848e2":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b89848e2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.b89848e2","@crave/farmblocks-theme":"^1.7.0-alpha.b89848e2","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b89848e2","dist":{"shasum":"62c0403d6c82cee5f0d356c16211dccfcf34e121","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b89848e2.tgz","integrity":"sha512-MdJJwA3JkOsbrUXEBcK7BHmjCGI70W4Q1y2iCwDJde2r15TlsrkS41oYwyejIOVukDv437nGQf5vVzC7L7IqCg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdC9zCRA9TVsSAnZWagAA25QQAJ+7Kpjm7NT3eMDMZYv6\nuHtF48kjRYpKb053FGm0qIPQY4cQDu8idDawv0qH81kgHQ1uEWHnHej5gDRF\nsiwvSGiUX+Qo6wZmllx5xw6TdloKBqS/fvMIj+Wyy0HzOoC2VapcXwvzAmf+\nnGE7Y3LOLulYOJrSc3SNTIYXKNyuEh9gIu54NgY5eeSXlHVebv8q0HNLN5Ep\n8w9CaN2B6rJsH7kt0Gqc6CNjM8SJY6Kj0qG+s7vgOz17/lrMYkHdAEjqmOo2\n4D780j8lYiWGtlEl+kFnWEDUYymy6wN1/BiIg9psQOT8p2WVtD+5AYLWzgEW\nbjYf+E1lz93OV2gnL7I4AFbrW1BFapAvlPjyPQVfYJN9vYPw50cl5UltWwSA\nr76tQ5kk6q42efRQ93EMn2c9JGXIJmq8It2L1/k1wKvvawQWja4ytOPzMNvv\ncCwmwB0tiBXPp3qg2xxyjFHVrQdfHo5KHB63BtQNsryO3FCqvoim/E/bCnRs\ngva4fdVQNDMY/ASzvN8M3wDgMLG+2v6dQmwjVHAc5CXbVhJAbXzkByf2jT4n\nY4KtJOestyw+vXMC1SfYdjq3ZtPYVQMBKyvHDQ4qMDtb2UyZshW65kBpOX6c\nO7avxKDlTU1kAAecKpCFkeZCLIAM7rHrpM2v6h/FsnId1dCiJygZHJPZ4xFU\nT+6L\r\n=Xjnt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfof+K6nL3D5tsfCi7ujXJkuT715WBVlxeitaK5dmHegIgF/L7syQHMPw8h5kptFA0tjzp5+U7b+6s5aqSVvnSXfo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b89848e2_1534340979587_0.131032691571634"},"_hasShrinkwrap":false},"0.9.0-alpha.5d972c8b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5d972c8b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.5d972c8b","@crave/farmblocks-theme":"^1.7.0-alpha.5d972c8b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5d972c8b","dist":{"shasum":"ee2d80c55166e5bac0bf1f61f8d7d12e047801ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5d972c8b.tgz","integrity":"sha512-ykkHYs057kVooom0EdX6SfwYw2xRAaO2k/3ya5ioY58KDr3qD1XpHUWBdiIxK0z/gvGzxXlJtOe5tr2qQfI1hw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdDAtCRA9TVsSAnZWagAA6icP/iOU5PCji/H16NklZHFv\nWvKe3/F2qiyKqanjbpA1a250QzM4G2SHn+NVN30cWKKPldqSLj5WG0SxodCk\n3WsZJDmqojwvJCrYL2/U/vNbZuHrPmYtaSO18H56D96rQxValDAMVLCyDaIz\nsRHrODWOvA29I4uyDpAYWFVWQYLiG2o09QRb2klIzZRtRUXM0MxtqxIudaQy\nhD1f6pfNlcWYIyZXNmh6mtcawl1zMB5EUQYUyy9HTx3pX/Xi0AsZ9SBfmdLA\nNrUTRAj3dQRgDl4ANZRDVyriR6DWmJS/S6DRY4BLwI4JiDg3Yn+4MFl2mEsY\n86wIWUaz84qFMVHcsIJIDay21BLBlcG/JSbG8HW6RnpjiHIOQ4cDCbJfglwR\nISPO1ByB3Kl+2HUXjQnzU2yIN/bSduQwbHqpwtsXr7DtkUkHCgPzCIqqEe85\n1UcR+RJs1+o0nlzNa8BhVsnIVHBI59/yFqe0txScUuIcdOji3nrw/dl2VWoR\nxsm6BsLKAcAcbLDU597+F/jdI8Q21LZlvKkFAR20wBb8LT6mP3Mw3PqnahuI\n7nule3m1GRDVTcrLwefkVOAGjx1yYb7TG3FbOvObAA6DZpaIQ5yp3VEXwLjv\nvhFzWUMbKy27jM2ZBc6nLzSZOtEI6smuqk3nAcaeYfKir51TglWm0qbkCl3T\nee3i\r\n=sQGo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvVPt+hCWUL7Nvdlam6jruzpiv8e+fYuXHebeF7a55NAiEAwWagXOMkEuaqMySnxOm5qbCHUmKCo61fwuerB6TbjDg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5d972c8b_1534341165300_0.14983522159857832"},"_hasShrinkwrap":false},"0.9.0-alpha.6e3e5000":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6e3e5000","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.6e3e5000","@crave/farmblocks-theme":"^1.7.0-alpha.6e3e5000","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6e3e5000","dist":{"shasum":"8f24155e88c27effbe83605dceefeadb93cf84fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6e3e5000.tgz","integrity":"sha512-YCSLtvp9LAcYKG7wM55VTq5YRJXgKqYYW6H1kUTgc3L67ld7msGOQa4VwYOPRRuqWz7ehFzs+3/l2S1HMDyQpw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdDYXCRA9TVsSAnZWagAA5FQQAIK9TWWGEcGOVb3c9f0z\nAPggbjUekUnPkU224nk19g+830I9MS8Qp7MvEzxtP/YsthKh/FUprZLcr1PJ\nH1tUWWHwhnnVxdpmp+UY1OpTKpMzde7V4GSMnJJEbOlMKOAMaVQBrjzRxC8O\nZrQ24O7zF02VK0MsELFgOMrwo/cMDV+EiDufvy+IrzQ+JOy3EkLeF+djVybG\nJLrv8BsXPBwtu+eOHOcJHw/DL4QQGG5Gu6Hd88Fg+y3S8DTiwbRX0b7+VI60\nm72fbTo7fRtPHnV8NXomoIndqXYFwjcBwaKB2PYn9ePdENiXQdH/P9FH0e4N\nGBQQgHP50S9q5i6tWT2mtzAJHkI83Ww2f8SygRdgAXI8JpgdjTWAhEh3QtPD\nziRMbRD6q/lvjcGfuf46t61bDBfQEivVGJaVWsF3XV2hNRpxqYzMIRBP9mMn\n0mTaTl0dMDosW099rm+LTUWNgIMm5Fhp7T4xYa125m2e4QlE1Aq+0bK3eFG8\nYV6JUbZnbRJ2qA3YHYrbcKaQuoOsNRbkemvsb40cyapdql+Fisb+qK2CmOhm\nnqHDm69hdjaVzIC94mrIcvGRPCGRwPMgZk3DyTID+cErjEiH0MbVe1o3o/9E\nVBet5vS2EhDMbF72VzJ9MQ5Udo2gATPtyBP/HP5WpdcJSw6oN7lErUNT8zs4\n7vNa\r\n=TALC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQrgXVu+pRCCiq3Z0El66y4T0MMMCEkNz/gkA70BG8kAiEAjg68m4mlAbPu9otbn25MTx3wlb80AJiRvuiPh30FNTo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6e3e5000_1534342679668_0.38791768305754526"},"_hasShrinkwrap":false},"0.9.0-alpha.1cf66a07":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1cf66a07","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.1cf66a07","@crave/farmblocks-theme":"^1.7.0-alpha.1cf66a07","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1cf66a07","dist":{"shasum":"167eb8c2b7988354b7c305a30fa9b990632d5c35","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1cf66a07.tgz","integrity":"sha512-KjTOepQtWWkicoNCQHok+jD1JeMJWONXuOgFX7TZeU38SbeGnsthdBboCean2ckE4rr8nu4fLfACA/0upsfJ1w==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdEwfCRA9TVsSAnZWagAAhd0P/2Y1tCs9LPX2la1/xxqe\nE84GZbZ/Yl8LbYpahLn6fJdgP4PwXDlLJ5ILwySgY4xk2a9LWZj8K1ScaXWp\nU/3YXeE5+t6iLA0WHD9J2IGJ1rD0f+/YDm75uTXczyu8eBtEmxVA+wnKGlw6\nf5ch/8tDFw7pnHm4WE63CKpBpD3w09/TBL7z1slEPTUNFw1vyxpQgXk4KlmU\n0Y3riSVHOJBoHcueQ7FtneeCAci7PJ0uXavtSymCZAmzTTjRdGjMCsDI6EL6\nmec0eX2/xcDFKZCVEWNUTBWjIca92TDLeoFKx4/nCpaZ9qDjSlgibXJuOi6d\nhdUAXN5F6m5P1hqkXj2YK05vG96d1OE545sexRoP87mLUw4tF1OP9cTdSkAK\neSb1fT0AVmAXJylWu2kUeDgpiQ5iQV/fzejUdkb6isncq6jphsUYTm7SzCWl\nFMsylC2JnScARC6LbzcvYwKQWGzYNOwGfOwNHMVH7TWZrJMo6wxBs6yFa0lc\noj5/SE3OlK4Iij+6aJoqOULwIYAAXYhR5rSFXf+DZrcLHzyAx2Xke9mbG2AK\nMbqfYEW8+KOT7d43kJDI36na/oxGqy4DTQii8TeJJXrvUR0SuiNQz/3Kcg89\n5uV1phw4Y17HUQmPJszu+BiUOwKNmYSIpFgDSvBgE7QWG2EAzZ8vuZBmTsz6\n/alj\r\n=2/gv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhEndKxscJRRI3+GljlmPatTSxQWDu8JMxaPDLXqFOzwIhAKYWLfFeVw+b+4u1SuQrLg1KdGy6qxZXFt3HRGNdtIh7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1cf66a07_1534348319307_0.34911563060585626"},"_hasShrinkwrap":false},"0.9.0-alpha.42615b45":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.42615b45","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.42615b45","@crave/farmblocks-theme":"^1.7.0-alpha.42615b45","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.42615b45","dist":{"shasum":"e995a7dd9bd3a38b0df0d30ba22ae3f0dc7682e0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.42615b45.tgz","integrity":"sha512-qDpg0UDvFQkuCEUyzR/bSfiqLOz4ERiWfsf9niQGVSFAS4F/EtWEHxG61eBrOSCxCo1tx/d40MjCf7Y7JMpzGw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdX5nCRA9TVsSAnZWagAAYG4QAI1LI7pabYsZ+1Amdogd\n/5fbMTjO8/pdIplb6GZ36QusqvtwPgmuoDeDrluQm30wCNJi8gEPGrgMv0P/\nMmsc7AC/O+tFITF4E9aWHAtLJUUFglM7EIU5UjbzF+Yyt1mShrCApD/hQ2kH\n5hT99PQYZQ27bkb9Da5HJOiGx9MhpzcQoNUW6znJuasZgDP8nv4uPPTThYij\nbGW27T4ZikvS03zvHfhAW5/ZciqlxF1q03hfLcAE/sQ0qNAcm5Rhj9fj0NPI\nPxxY1blqf/0J0nojCkbN1pjClm1ZEnTOI1C00ScSyx4ncXNBltlDdb5rDoCE\nXDEYw7OCi5hcDhWZz2UqRYtxFA9htdZJFb0VSRKyTko6+LvhssNC1EbRr+Kt\ne7ANj/CPxJOqyBNUkJhw8CIsZQ11VaPid7asfGsbcinNsoDQOjyETKEwKiQ3\nk2nq3BrDwBc9azEf9CoFCh4vW6fyMBCqBM+PgPTVEpJPLf2M/v7IqME3SbO+\nbSB5RLLd00Hz56WmxcdM7T+6uC62VigOMtxOwfXvmQvRsJv8aJAFjyuJ1MpS\nsY/dcZAAfOuskBc6PceaCP69kHXa9i8i7ryWpoIm/hOwoKtAccL/AEpufI7Z\nlGBisMwk8qtYVmN6+wMdpBi1jDsbQZVtZSJp3j8bMxmbdGvyRRnBzJ8eOfJQ\nLcPS\r\n=WrLu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiy+/Z3+X3RnlVAdDA9lB2TTJBFDi9q2bv0C6gWJF9mAiAa4+ZYFV8wjEFPAc6NK9E4VKtgslfXeUmHAb37crqekg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.42615b45_1534426726754_0.7555684009619033"},"_hasShrinkwrap":false},"0.9.0-alpha.236ddf5f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.236ddf5f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.236ddf5f","@crave/farmblocks-theme":"^1.7.0-alpha.236ddf5f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.236ddf5f","dist":{"shasum":"489244b794eeca1395f28dcaf3601f0a21a17151","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.236ddf5f.tgz","integrity":"sha512-il/kedEP4rNLgZ6uHJelr935wClmVMUaOQVE2p0BPgU68Afd2DXGZIl3odwh4irbUc5UTDIYKHl5SomZBkhrng==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdYpVCRA9TVsSAnZWagAApDMQAKJnBKdSfEdnKPhU50Gd\njGSBxbbzoqDKOOMbn71f5wEKhvx9tY6uzWye6l/MxQ7t+ygJOGxMpdKkqzU/\nHv8kceNUnpqzCyQN3u4J98A8I7xhN1L4CB2TARxeZhZCHeyTQUiAMBa7ycNj\nNH5gl5DjIq7tR3HZWvki9KQYDgtTL0ww9apxy2QrJRLWPiO4W+WOM7EZyVa3\n73L899q4ja/MUIKiLn0ZgKhUHFugcfx6ijGyvZ/vc6BJhznYS/tlFDbaQ8o2\n2J8/ohkRHc7WFJAm8jWeyCt7KpEJ8JT9K3IkBw9j+c0Yva+kL4BSnSF2++10\noOohvilq9AfKiUlJeHS6u+H8ZwXV3M2OCVqocA7MQC2qt/J8xTJpnFpoRSUH\nIsDJa1wpvSE2j482r87TLU5Tv2cosXrd+S2ikOT/0L/rY166pCx1pGT6UEtg\nBJvhyEX5blRKcs1qQUHStGDEk5CKEKzp7IQqYEmn2i6mEyAONHake56A6DEv\nj+xP4+Z/ke7ro+UFypRbVZ4+T5i/vXpKNZVwt3LOcFz3DcrsMVGXlzTsvm9p\n8MzAs7wEQOmgbBNsE2hR2VlPMPX3oPrXmOxPnFeMbi6vOpKxP6YVc5+/u1zV\nGa95ZIZ1X6GuDFGbeaR6tStnFerVnXICacRMZyqjbZmykywxCjwPsGo8p06r\nXsRy\r\n=Edgi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG5kkt9djg1oiLd1OFezpYAVYTWbw7CPcOJ0p6CY9uwwIhAOfBCN4Ns5bmZ6MV3cO5k+v0igwJ9th1ticZERZZxpHg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.236ddf5f_1534429781511_0.45088811216907376"},"_hasShrinkwrap":false},"0.9.0-alpha.252f9b38":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.252f9b38","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.252f9b38","@crave/farmblocks-theme":"^1.7.0-alpha.252f9b38","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.252f9b38","dist":{"shasum":"d93d7b3255ff7aec7f3401227af1e15a5767f914","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.252f9b38.tgz","integrity":"sha512-m2tlGDQd7aSgkFI7bYRQyLPFfyrKHTvT5yDxRgRiSm2gHefvcuSPrxoo8ZRCjOX5hMofzxkJCrGq3sEVUUYBIw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdY1rCRA9TVsSAnZWagAAUWYP/3k7kKSN0/54FY6Hi3hA\n50P2kU36yj8YnxjYkZfSohStrSPNVaMtZ1ahCkaMMykx2Ojwq4aOXqN8R4sE\n/IzW/wiTplAAUUsOGUCYI4pWRy/TSkzmAQK35xItEY5vBb+rbERf09MGGgcn\ncyStSyqkRXtH+KR4V6TuXpGplTmxNRf2No9+Ja09GWeS34wDbqZ3qOZIqsJ8\nlfNYAC9OmEwxp2naFx4W3gJXm+OiZWS2iie8qwElb9Qt4rJCwFpspaPySuNn\nHDbCkGIxvoot1vpUd+xmM/mpJrFEmLLX0fYIzBG+/ZDTQOhqlbcNXaNXU3h5\n+ZdUZClDY/P+jmX2+rDbFSQtAF1kQVXn6ZQKmcr3R9ANrBSKdvyIbyir4GEW\nAkli3NQsJD++hD4sbLeIoZBbsBN4/EmjrQZZGibXfDE7EtRrRuVUwK70nR/F\na8Kdd4whdY4yzKCRlAQLMiu5dDebQ3cuH5BmpfSJh8dR2+/lHa2f/55SwqGZ\njioul6NJ5OUkmHTGJhJai3wV9LogrwA1R/S5BYrhNbzLJHurJVW+Y2Nfr+Cf\nzAng0rHDEm9cgyNpC8OP28cD8v9c0HhBOvzwhkkO1eX0wWIDmy1M4v4AztAn\ndlETXUMm2EYohx8G9NYwYDYaGUV+Iafao10G7JH3Sd4rnysVT+1iliBhAUlw\nfbfF\r\n=imkO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYp+o1ek05Ou+xhXsckACCw9IuUgjIA8zwXmYbJblKbAiBgSYItC5EoDwPA59lNyuZbGe9ImONLE7G6tGPnmGqL0A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.252f9b38_1534430571312_0.8088811331427903"},"_hasShrinkwrap":false},"0.9.0-alpha.17f7e81c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.17f7e81c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.17f7e81c","@crave/farmblocks-theme":"^1.7.0-alpha.17f7e81c","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.17f7e81c","dist":{"shasum":"148f7873f52120869302fe7b8cdbfcfc52220dd2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.17f7e81c.tgz","integrity":"sha512-VROlZqagg3dna72bYh2IQwKzvSA5m8duoQOYBc6wYLgWKB+Z+2+3D94vQXUlBmFFxSm6HTySpRA6rAG/sP/pbQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdZ4HCRA9TVsSAnZWagAA23oP/jqvjr2Rc7lH3XmPxX28\n48+YSKRwit9WFCd2cYl8Un7SFloglO3aU+Xxuzw3bIKriAvqaRZQOn7n/8hT\nsL3KMar26ZzVpVHdcz7/HA8R2D/AnK6dCtlfttsLzXCayk7tQEo3D5YhZM7+\ngZNjprNRYGkVp3hN4JcIh5XBQEEMDkC7CXEzHL3ElyYrPYYilO97pykyOyuz\nBg30sN5h/1Po37lGkKHQMYDJDr6jmTVgT3AelMSt4uwJvfddgq7ug+Dg12Up\nAzXWT22HDWPnL0smcMHk2mC3uOxTkYg4mcUGzSTfUENpu7vdjq0WzvLu0g2b\nzSdzbGOq+gJFtdOB+lRivlTNZzsNDeT9B0/99PuUiAQ4gu/VjrDesdTK90vO\nXgfjoNPGSkxN5xujH3/cc16RGJbrjIcliCZFmTul7mhUS+jyPFZenun3kO1f\nLRQFqKBKthCZk3idK83CifpnAtmF6n+QE/rBRTE8psOmBCl0d6mh9RFKXTRv\n9G4jy0LTHPR/69rpkdlzjIvJ2Vo5Owc1g7D2jprWy1/67h1K9oY2WzRvyMzq\nXsplN7BCXzlmBCC7bbgN169KJHIZO4EFbxrVKxMmkpQiL+vLgu3jJzoTlC4g\nPRaJDamRhLr8pvlqes5cvGKpTUFzQzxoZGpE53AF7TOe+p6KNiV3gDqdcABr\n83lw\r\n=qiTe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeHj3F+Y+l6+yxUV5zEW2eYKBgz8LTEgSq9I1LZrBkqwIhAJSv4TxOFlanE4u35B7hzbOGc0gLlD/eKj8CsRJ/L0UA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.17f7e81c_1534434822647_0.5770495987882216"},"_hasShrinkwrap":false},"0.9.0-alpha.dc1e82dd":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.dc1e82dd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.dc1e82dd","@crave/farmblocks-theme":"^1.7.0-alpha.dc1e82dd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.dc1e82dd","dist":{"shasum":"58901ec640aeb5d3d05292d1de2d5d1328b8cdad","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.dc1e82dd.tgz","integrity":"sha512-T8GRrIBQ2+RyOTj3CGNpZe+SHY4hfBeYy7Qh+B8PBpt3eO0sg4BsevHcSRKIfsQGsy0dnRLVKj/CAkSlo5Knuw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddD0CRA9TVsSAnZWagAALhcP/2IK6pIgN7PwMfRyGFbD\n/e6W9LKqqRX4livJxGeTMobCz78LrecJrPV+x3oLLCwX+FxFGALI082EYDrv\ny2vHcz51mwo4AQ8Zw9OeWHuh173HfqRSi/F8jo8haMaaVHz63bOPHTWx1Pof\nAyCOEFG7GlFPX4QEjtqvzES3jBH2urZrFypNzvMKzCk496V8QpVaOw/mGxCU\nUazFZUmqrWE072nOqAKmePAqvmo58+YG+3sMzNDGYWsROJArsRgCTJwDpH8f\neql1Y4NioSARujbiNTR67SYsZSKNHfD0vJp5zsDEdgF+1qbXa9qMCVnEpAkY\nm+XBJDAr+K0Z8U9npbH+MuEOO7F+s8ZbExTaLOpAmvEhEMW6YMLikeKvozYx\neKoH8z2elNLyF2nVtwFgTXTS0+bzwF/S5x31t4fzzpc+jsXFYkSUMJFSIYNP\nfG0ntemNpdsDQmpQp3hqWmnvsLAdzT0Z/sPjEC20qgHFtlPGA2r33qn1sxOU\n2Xm/8/caH2atDlUDuFUwxJi9jhnWnBXdVbE1ZPvtzkgfT4rtKpDhQW63MM48\nYvh+O9XiXn977gdU/pkhJXyJrwdwwQ0OVns+YxXMhiMnwoo5ffbm+/H5888c\njlmZQBkpdlqheI8mki9mAGxIt2Z8yE/hYDXpAmIPEQjXY6Bo2ayDaweSVMko\nVRTY\r\n=d94K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMaJ4gvS5FAfWwVTB0Zzl3c1nF524jujh6fNNVbgEOAwIhAJA97jUlKR3JGJedpYExh0zkhjVfj3PLLEDXdU2BLhZ4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.dc1e82dd_1534447859605_0.8221365302024395"},"_hasShrinkwrap":false},"0.9.0-alpha.0f2a575f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0f2a575f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.0f2a575f","@crave/farmblocks-theme":"^1.7.0-alpha.0f2a575f","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0f2a575f","dist":{"shasum":"978d90eda8f8a205301db5614a38b63fa7e8c9f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0f2a575f.tgz","integrity":"sha512-an1jKPk8HxinZRIAfjYLiYZj8KH48DRaN3OaUBcJrhRaDoVYZMndnT4lK0c+zMMTzYS+5O49KIeHZITZfB9ZHw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddKqCRA9TVsSAnZWagAAVO8P/3Vz90z59DcR1Ptj0wBO\ne5iR+ukIHMaJBVd5ZtzRrqIHWejvpEnMRHpvmhEryHP9DzM53uNmsYJAItki\n3CqFIS5FyMSYTIYS4XkTo4hCufy0mSNV2C9YpZWFtH1I7NRPAjtTd/nZ2BlU\nab7pvGhoAGKEBUgMyKuSqK81hads/zNFDP7pzzIcS4NPOo5N3mfZVJewmzKl\n4deIle/pp+PEyly8sUHPCSKROfrpLpzqN9RDEikq+04R5dK1ZxjKn0nlZZXo\nghL1bbjF3oPojDNNYT2BjioJx8QGPhYWrnjaP+f9fo8wjOLSyJSgwONNteTF\n5gTS/1EZQ9SqvMObQ+pqV0q6Hf5edKECVf4opPAIXt2IDHe4I3igSHgdTIq3\nzD/8WYzG4XRSbRepPUEkMVKvKhxui71oyUFt7ShdCOQqmYFOSjuNxs27r+iW\nPPCtrX5POw7z4svT0L5B7mo8oRc33bo9T8Koqa7BFyqE5BMELcEKvSEgA6iw\nKWd7CE6IqMTn9wQKKUBfUWZKZl9f02bWMNOUfwB+6y0pENp2IENStVMPAJgg\n2aXuKgnzQ4Md63zDM7Kcr1L+AKxCQt6H9YxhnXG6lFyX8VFhVQPeSa2FMb1f\nrI1vr1+ot8iNK25CSsSCtKwAWYmaaHgpGx2X306hgP3bjDvdQGoDnDpw8Joh\nMxq2\r\n=jHvi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrzJXVKycENGRt2+1s6h/YxCydNkO0LvtqmjSFJ7GxwAiEAtl54JGpixG6UnYWQ0fPGWtf1b38Xo4/WtN5Zt1gVax0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0f2a575f_1534448298012_0.6768558838752998"},"_hasShrinkwrap":false},"0.9.0-alpha.c5a38e0b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c5a38e0b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.c5a38e0b","@crave/farmblocks-theme":"^1.7.0-alpha.c5a38e0b","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c5a38e0b","dist":{"shasum":"f402d77b9e305010b85e56e2f9a2271b59e2be55","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c5a38e0b.tgz","integrity":"sha512-nmydvoXo3uWv3uXxamDH/qeBK/4qY9E1i4g6HvkEvGYhNmtTpWMO0PEbIv5Pfp9iK8d/t3ml6AR9sIeP7LTo2A==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddLRCRA9TVsSAnZWagAAqh0QAJS5Dky+E6TRF4TiMDcx\nQ1ZlnAAmnWYgy5lgoQ8oWeivsuhOTnDy447Oj7AlN9RPOt3DFqC65/Ia++HZ\nUids4ivufWnATk3itY+MX7J0zQPjQWhVS8U3VWURYQypBVQ+ewGhuL000mEN\nnq775GXC2lo9TfvbsqKSv/uI9VJDrV5KUqlVGhfbTUAi/tT260UPOlwKVBTg\n1Cv2krAUgHf35H44ZLOVD4hwXhA9UgJbUu0M9ecWAJiA09KQz3T7gX+tjLw7\nQUc0aymQ448H4NGrc92QICpUwuPIZRcVzNSLgsB/0W7HNniG0QRKBaTINk6J\nfSsiHnNF7M0xo0v6DrYayrE0hv58aRwto8GEjA38B7v3OVJvH6HMyQpngTHX\nDebhoSTZFVOZJTXKAgr9iro0r7CR5Ys8/eYHW++bveKaH0kNttUeknTsfE3Q\nRPauZ7/i5nmFc6QsVf0AZOUb37RjaAs/06n+IZ5l/1GY13dvPKf0jiQeEPJr\n+kGo9Y8J6W4ob7y7nDCiiCSQ4nxPd2WbkGzttTEGvFAWFYa+iM1lH7F/RpsG\n/3U1w/nX5gIon6EjI77cCsg0fUsRJELsFAFOSpRaMGeXQKpONVURlH2XOJ/5\n8ndE1FdQROuC0V9lmILa3kiFexEo8uTjTB2n01VNEhcEwQc87yVWmdIE//8d\n9uow\r\n=UzTP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+7NuuqG09Q+wHYGLYglGx1iUbUfviyjrLkDSPbEixtwIgOS45YSwFdLjSALn8RarBap0ScDJOSy+2FclGdTq4WqY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c5a38e0b_1534448336584_0.548119427619036"},"_hasShrinkwrap":false},"0.9.0-alpha.c7186ac9":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c7186ac9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.c7186ac9","@crave/farmblocks-theme":"^1.7.0-alpha.c7186ac9","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c7186ac9","dist":{"shasum":"edc680a8b6ecfcb518b6bdbd1609f29820c4eef8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c7186ac9.tgz","integrity":"sha512-UMqklArULJDxnATRtqjer5hd0d04/KJEMWgj7GKnlwOae1DGsUBYVW+Zl7/I5byrnGXcCiteHUjwswA8bSCfjg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddUYCRA9TVsSAnZWagAA+IkP/RNK3oTLOOJi5qKUOp4s\nXC9wRdRksFmEUWHBrEtfWPjo4dPa4erWbl1Y761eOrhEO80QMd9DEgG6gQdM\nE8UsQNYcvhSQ5Qk9Mgr9Bre85MwrlHZSY9F7UYtAbZWkuxATE2MeLW06hdlo\nJjeJlJPvIyCedLbfCQed0RyJZs+tceKsmNNrf9mHf3vkUmSAID/xLQ34QwAq\ngl/fYRBF+sNjA44YrrumYOlwyjtxAPLJNGkCjixjkxhSC2XV7KO5tOEHRYX6\nxsMNHeGUiDK9jSeqXQXl0CXsZdZMd9ki8zeECKi9oFrS+gEUa9mpVpqtjOXY\n+7zMStVLgRY9FxX8KHjIG39S1kisgOb1hmvAiIRTCfdQzdk3sIe0md3x1J0X\no3+aVES41U2UVDrcd7X8BfQ8s1AXIQuDlMh77vUZDhn3Gva0Vt+x5wzQdslD\ntL9zPlIq2abwk5KjORJLMV+7dPVFYW2PGFoosmXkXYJRiSMew95u46h6owMq\nr8D0aaju3BvhmEr6rLb6iLeWvFf87N4saRDiKfFHLdeHVFrHrfUonY2vhkNF\nW7Ru5ey4N9FgBHHuD/5W5mhZk0h2yaIL9IwrUiC5iKo5RGLdFQsVsTvlHEIe\n22GUiRxIhz3a/D2l68XzcCnl3slSXuBVcIC/HHXpyRDjJ/5Irair//pK+yjZ\n7RvP\r\n=pzi7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD35RqxyxQ+uNbdpLrO23uzaxKItjWEApXfk8QyES1ilQIhAKxOJNEGS0bbSq355+tLf8jtWUNiU1UzOwAG5YTt3j5N"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c7186ac9_1534448919876_0.6465189908446158"},"_hasShrinkwrap":false},"0.9.0-alpha.127dd9b7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.127dd9b7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.127dd9b7","@crave/farmblocks-theme":"^1.7.0-alpha.127dd9b7","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.127dd9b7","dist":{"shasum":"8796b8d6690060db73d3a03141e9296c97792a27","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.127dd9b7.tgz","integrity":"sha512-7qbkTkqxOosFpDOljQIlb+BJ7zTm+tPhenVRydbHZirC6FLcY8V0uc17Ycg7AgsJoR31AtWoZoOJjQwTAXs67Q==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdd8eCRA9TVsSAnZWagAAx9AQAJuohaOg+aXITCFYwPvc\nsPNitJoIAOFM5/U5ArIh5YK7Gl6FEi+Ff0FMZH2YutN9c/qbkH4k/Y0lFNTH\n8w9GJIYtMOk9vwaTG5KKQitiXVrbwegBg65vtl6sIjOWBrDzxRQ8d6u0PVFu\n2xwpNIdM9slZqwPAURC43o98sbJmPvpfpOPY1BwXOIX3sGt2E1fTSV6zY44L\nXwaBLGwENRZmEemPTir0sAczLRzz2g0CTuNc3m8WDg+wYlgb5pdEk/ffkxHn\n1zOmP6AiXys0hqvEibWA5VLNa8UmEs5/X/TdDGfAiNITw4tr97OAaYYkbFiJ\n6vLLQqbyZ8nkowEmTrIvW6d87EDepQxQpmCMfOI+rSuhTFeLa1mEDfIgfM/E\nqZ7BJ7n8ugigPBUHj3veY4A2CXMY2XH2NPIgHUrASVIQ63YIp3BJrjraZ9pd\nTwMWGDCZqtAw1DkGErFt5u2VaalmLicB0VagMB7I5VIZdBitit5e0AZGvQs6\nQqO2VxwfyRSdmtEVuY1677GdAT6rX88egNIlO/fAv7Kd89UwbEOfp8LIzH3I\nVbsfjyg6a80+qGdL1gGjen3xErYNx6XkoxDtL4O8gviHLX1HNaCXg/vICMar\nd/nbxdFGZ3Qkfyx+lHsLJFocofWEKfN85LdbOB+G8hARjEemuzdXw9DKUry3\n/R/u\r\n=LTJ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9nIvBCBHVnZq9h9srWWvmuMXj1h6aKbuOIvaJVci+vAiEA7l/wNkbYF5Imo+NH2G5tVUwKmeRS+IBGlTmrmkLbvGc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.127dd9b7_1534451486317_0.25707283372315803"},"_hasShrinkwrap":false},"0.9.0-alpha.2463a497":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2463a497","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.2463a497","@crave/farmblocks-theme":"^1.7.0-alpha.2463a497","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2463a497","dist":{"shasum":"377043dfe95db2ec50d2169aca966c21724f1ccb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2463a497.tgz","integrity":"sha512-T6v8oRVcmcqve2kn3RyooQrb3D/hJkGGfG9wLjncfDpiDcX5iIegaeCsAeQDBSoMUN0I3xjBPgjOyPIuw3J5BA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdw38CRA9TVsSAnZWagAAOpgP/A59uncBSlCQlF50VO5d\nNi8Ro+Ul+swmuaMA0fx4owQY4SMKf3kcc3LsKHHmKh7LlOaeUKj9ARnFEqxM\nbD7g2f5Rrk5BeEBtcBo0L6zRmji9AfvG7e4dKyHGzfAdLuEU4UCBkgS0yc88\nNfz5gU8hUwhMu8lCwaAM/hW7kzY+dijAOoVMrCA7tI6fuMutjQcYjzEjroWS\nC0YLzyd8tC8r/j2CcQIkquZMCBMqq7422q5ogjORHxQkDK5MfsQQ7oEMNHWI\nHkzSktdMLqBeoUoZdJASYHAnbb3SR11EimUgAqGFRbLmv11sRILJwv+/qD3A\n/RaT51fnCHpviPN034IOvij3PBtYg7C7NhcNILQMhsYsCOiST63v13RxLwp0\nCWLxcu+3RfRRGfS7qAjzuxyP7OazDy9W2wt+/yS+dtwQML7hLOpe1HqzW/K1\nNKs2a/P6qSnT/eKp3RVL3zbHxDxDhbAAuWKrVksS8zCetFKk1O/JT+gpdNDZ\nYqxI24QJmB90i0bzfwv21EZK7kTMMDorHna49NPOm76ora6aN0FkEGs67lJ7\nZICbFqScclGJCDGD0qU9WdZ4zM3IRxIdlie2QbVZiZ6ymoHT5MBLM2H5Z8C2\nJ+IZyUm3J/Xz7+t19tmla5Hm3sXSAWQgeps9JOIQlEYZUWYMgs4+hoW1Iw/L\nAfkN\r\n=6G2V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSNqjGGqEMWlr9Kle1UApkkwdvAH+m6ECOddcQXf8WeAiEAjfAZjq2kDM1lX5DpxmTgJX7U8yKGk/Q9iJfeArIf0cg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2463a497_1534529020247_0.4853632450292391"},"_hasShrinkwrap":false},"0.9.0-alpha.d6ee3182":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.d6ee3182","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.d6ee3182","@crave/farmblocks-theme":"^1.7.0-alpha.d6ee3182","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.d6ee3182","dist":{"shasum":"2cff9c09ca871121b2b7e6010831a78aa9b9405e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.d6ee3182.tgz","integrity":"sha512-teVxtJ+MoRufmIvQYuZgW9nZ5LZ5mwkRNJsTraUZVRKXCsw3C0ubou9Y4LN9UV10U9NfyuWfp5rOjkZLITWDnQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdxMACRA9TVsSAnZWagAAmwIQAIbO8eQujnHz25wXnC3O\n2sIOGlR33aNX2dKphtb7COQPsn3FXR50IE9iSGzWRjGVsfr62r8tLcoVJ93x\nb7mGq5iZSh3ZKJMJP7V6uUgjNEd24xuIb4vduWwFO5lMsV2IpfgzLi62zrwe\nQHyzRpKOnRrQcElVNnQ87qOnbnSOYFEn0QR/QcOzfM7l79gi4LPjvPp3Jdz/\nRJTu+hGfkWDIV2ZcfqaRJwqAHKqjoRPEWMAOS3KcgcZQsBXUQ6rCJnZPa7wE\nJ1YQZSlrdytwfqsGvClouUPvRSOK66p5ymuL5mKxWl9RELNkB+Df6NMuwcL4\nQllVYFaegf25WChWtVjq7r76TuveEDY1WAICI2pfg9smRz/EPPDLcXom6SBO\nts0Hj9kdQMDnOToxJrnSLwJIio5S9tSRTH1ITv9rxBSwecRPvvsEEtBnRgeb\nm0V9qugS7j/h5SKvrR8SFIiJgukV/kPn5jm4JExZNUVeangCKSPE8qZxNHvl\nr5cjO2YK9UaS1N50O6OyjA1/S2/tn5UQZUTR1OQULggr7CoBx/cp1TB4FceZ\nI3oQmEHbm1fN9Y3x3HWme1qkk06PTbxLBpDNYEhbJQV13lZjfHl+ztrsBFHs\nn/0HVpRUqG5jTRJ6XRHVQlTI/LgLQNZWDFnrTok8h9fiboKNiNJjELPoCJ9i\ncGoE\r\n=OlMk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4/DrPGLLTKQVcx4TAz1Mbtp9gJxl0vAAcElKrJ7AHzAiEA+PW5mCEq0QUdMmygAlKmPQnXtacFY7Vcaz8H3KFeZdo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.d6ee3182_1534530304018_0.7092830616068486"},"_hasShrinkwrap":false},"0.9.0-alpha.7a26eb24":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7a26eb24","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.7a26eb24","@crave/farmblocks-theme":"^1.7.0-alpha.7a26eb24","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7a26eb24","dist":{"shasum":"7039fbfda4c1ea041b115500fe2e9c3b884fbd39","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7a26eb24.tgz","integrity":"sha512-Zd/PpYjQb6ZZbYxt2HyNMLSHdso9QZuUy/HHmdkcs9m/V9H+MBgh8j9m7HB127TACME1DQXUDH0c4PFpmlH5hw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd0OeCRA9TVsSAnZWagAAOwYQAJ+excE33Zesr6DUOMn1\n7YTeCiKmG46INjJ2I3rdL3NL2wgwYSNIX2UjmDWlrJ+qhqZjwqX9LMMSjj1Q\n6EQfD61UgbX01tbGHljRMA0HsSkcjE5aK9paF+699bnLNDyOlZEC2qZisq8s\nrA54s34MWbtakNuLAMtO/CrpCtyAq1eYcieCmD+UL4Dub3RUiG2OL0ESd5/F\n2VyOrjpBtwv0CSZRuSIxLKYj05LQjnLz6uzP83Sld0vlGJqPRnbGnc2k8Pfg\nskUQmoirEKSKZGZsBCuMEk7lhWwUNRqeemelRPlPP+/52IKn0eHL0UTxD/jZ\nOUG9qi6VXggZKl9LDaNKRRYuyXTpYHtpEhcGn7ZwTp+8hMZyAEyKP2aO+bE9\nKz2/tOlvnLZm1D5OxKhQCMIJYxr+uukcOXTefYUpnLEGhD1CyiAO2ytYCDSq\nSxo/UutlmeWzZCR69zMRi2AB46k2QINUhnMUpyFOmlM4N5x/ZzhKUQoK40Xk\nnpfPGR59L1jFZctxindoa487AqK0R787of02qM0WDpH0k8QZq/QNlroud7Ku\nN1f4wVN5/T/7Mwd5EQesqio0eFr1BF2XDdCepP3Ba6ekMpvPyZx2oFqMcsJu\nZRbZqO41tbtAR+2m9GzaPrE+z3Fyx8hqkYhmZLtG5xelTxj7ugnbBoXYamMb\nyRLn\r\n=Af6K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7JqYKtSmp6vgwcI8+D9kgpkuJKwrO/bIFkQLj9/vXVAIgCP64ZQja9lkwjFnmxIBDC3NsjbYnNNexKmJeoWzhJuU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7a26eb24_1534542749764_0.7114813491844021"},"_hasShrinkwrap":false},"0.9.0-alpha.de257c32":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.de257c32","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.de257c32","@crave/farmblocks-theme":"^1.7.0-alpha.de257c32","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.de257c32","dist":{"shasum":"2ffc800d9b3f635266c76bea4e8337d2436808fc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.de257c32.tgz","integrity":"sha512-c+DTBjSXaVsadfqm3q5OJ19fHVJeKDhmzlk5lgkJ/ZnFUOH+avO2VLyUQEzBXBKVNlKstaX/C5altYrd2TpD9A==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd10CCRA9TVsSAnZWagAAM4IP/1WgYdKR3VuXpSQoCEpU\nij4/W5BI65rs0HCflkeGIhUGwIXkz9yeyuzltVfjz825I1a6MYSAOHRhEm/G\nVufy5st5VRaNeVqKkodFw6DWKuT5rzzBOVFZrvCkmgX1uW1rxTimrj4JWseL\nOuOuN5kRSPhdKEGa0JUgMnL0U3fhavpwuzhJ0pLkz+WLeQKmUUXF34t3tpQs\nlodGH+uoRG2BdH5ZJuVpU9UvVWZDLlPDRaGuzqw/gRfBl0a326NLi+KOtqLU\nXOJUMWCI5n2gv7w/8r2kBlFJhVPwbiI0yM87rlUWlMSQgeBIeYwHvFvj1jeY\nCK7VCk/KZz2R+E51CPklbFeGy7bOftso1esSfXHEQfDuKGzMD48UOIFRL0rK\n8Dvvee/NY+/S+sbEiVL4W08jI/rXlegXBNpmfvm80zQKGdrIk3e69iWFPkJG\ndKOaIXyMLuxAgnbqRsH3DkXOwhUw5dhQsxCKM831tKmjl2OQOUwATZloXwu5\ng9PDtTRTx2hSlP5vOiqEpsdsEgghWfocbkRk3yYK9HP+nLl2nDd55LRrgMN1\nkhVEVC0q3yAgEPyIixsON0J6sM5DllR0D9EdrR8hpjArSH2FSAzOMhhB63Pp\ninjFlmGcVLwyf6NRESyeLcmxNndC26pl8ysoSTQ2RKdLnaisHXHVv/m1xCl0\ny6Ui\r\n=4O0y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDk6C0Jquanlg+iLAQFtykvhFIV4Nw49hIxvuN+W0B3FAiA3ZOMd6yEQAmlohl+ArkUfTBiojlAHgLGN6EfWcpNW1Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.de257c32_1534549246749_0.06544763749602622"},"_hasShrinkwrap":false},"0.9.0-alpha.78cf3adb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.78cf3adb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.78cf3adb","@crave/farmblocks-theme":"^1.7.0-alpha.78cf3adb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.78cf3adb","dist":{"shasum":"4297c45ea880bb53795a51e3f190a9e685a712f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.78cf3adb.tgz","integrity":"sha512-6utLlKruern94RzxNdzPsp3YAkqxl56JIyjj9/33j8CZyGkUsbX2NzpOoR/wifpZeELo6d5LQ2UM3QIqFHEZcw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeYoMCRA9TVsSAnZWagAAYVkP/3v2gaP5XWjc95GM7JxF\ngts0f43h21blIQ3lqW7KCofvASw57YTQTarlGXlCSAFXdlQZTtqeJYKlEgrk\nC2z4zj2xZGTN+r59KTNFiBN4c7dg309jL5sV7ZEL3pAi8NgbYHj1gb1KQhtd\nU8K+UbtvvTJKMlcl4bFvyeqwvtzeaW6gXQNZmJpCKWxhvz0hQckj/8Tmw3Bj\n5yziPet+8OsQMQnh/WTiUq7THMn8oV9IRDI7aa/P7DOwTrE0TA9ne5E3nebR\nVZ/uzrkABeayUiI5nBAklPk5/X9Euq9oWh90HwaIHiU3Mj88qrM5hLx6tNdB\nPW0zDl/MbHd2NWhZTVH6TM/7B5Oh9dr0+OhS43gQcWyJ5UqGp/DeWX19p02M\n3HK5RI2/SCqPpVBypg6ifTpOosHxlaEYvZvoNk+jZrpt6NsBleo3hZq8H0fs\nQIUemAv2tzsvFtcXId6MdSC/SmaKEBN5Dzph5vRZfgGlrK07eUltvCW4uZhb\n1RSLjIhzLj1tnaeqAiQ80cgbvj0n5xF8Q6Z9Pv1Rd4cGXd1ycJ239BmU5oD6\nNSKxxWX9eLvxU7p/ioBphhNJKOyG0L7XsMKIzQ2JoJ9+x5t7A2tWLyhRVtb1\nmfL/RNdR4Vb2cQF6X17hn4+Ur0G9+lYoJJB4FY5eNBmWAV0PTznqJs3hAM6q\nYxIP\r\n=ge2p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCHCbin36b8GonZLMUo5wJhP2xvRHKm8I2bPRD6ciBjAiBvmbxDbLDpNnHkn/oI2spfl1A3CZquKOn+pjLehwPf4Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.78cf3adb_1534691852217_0.5838074673490092"},"_hasShrinkwrap":false},"0.9.0-alpha.f6d76111":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f6d76111","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.f6d76111","@crave/farmblocks-theme":"^1.7.0-alpha.f6d76111","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f6d76111","dist":{"shasum":"ce0595f0c5abf28f030ead8a2065315dbe298afe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f6d76111.tgz","integrity":"sha512-49VLdpgwuZIec3gi6qafxk+sNpKF+ePGJLYXrnJtH6vjRIKcCKuccxUA5Fi++hkGeu70PFOrETjjGSCyyAOdQA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeslwCRA9TVsSAnZWagAA3ewP/R71Xb+mpUGlKLymB/1n\nY+LvewE6TfHyX97HFYfXPquBGyG4AQExMOkSk8zx19KsYxr5Q5WJxA3fD1lm\nom5OG+TTWJEOaxGX65rwQCzgfZ4AgSF7bfSej48tHE/4TE+saxzNm+SFzFWg\nbBIbab6pAjw1MnFr9N790e7+gczpWihF516TlswqJzUDcUN9/8DppdGZLx3X\nGndLdf9x8RdVMoKtMBpUNzac/kfoiQdzqHBT8/xECvDb/M82k5jODyWiNOYv\ndqT3DwCVQKH2O9HUZcYwFI45jZj9anodMY/cHwxIdT4f8/CsRhBl7h1NueI8\nFZHMQbwnStg1nN8mRrt5/Iqd+hv+Cui2qOHM05ObliIHgF4Sf64iVZgi4hqk\n/+qlCt9BAN7QsgwLHVwrOcOrNn5ajcYr3PoQJt7K0JGPMQpXPBJyqlPxcSq+\nXAb6RowA5ZzTLcNI88ocZhi3bHK9Tmk8UpcyZRnXGkNyUzzvHG+iY6AzCmsV\nLXsCHOjS66TAugNwFvj9FsXda+2gedOjMyBdslmKoWW0qUfiYqY47RVZ5g4+\n4RSR597MNmiiIqGrpxpWeymei/eAG1VixlfKzrOn4hdr8cwrTbeH4Bvb1wcI\neiL9eBE0RHiiLLT9M4Bz0dtYxlUSG799EPyL/MsErDBRFEX21NFxMWPCOshR\nO3ZE\r\n=WmqM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWpvm5gsfag0DxpMQ3l5D8bIo23K3I2tKWKWwwdGliDAiEAruUNczOPICm9ufXFzaZU+xypAeJw9nixBxqZbMpIJg4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f6d76111_1534773615808_0.8963604313891238"},"_hasShrinkwrap":false},"0.9.0-alpha.7313f6df":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7313f6df","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.7313f6df","@crave/farmblocks-theme":"^1.7.0-alpha.7313f6df","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7313f6df","dist":{"shasum":"b1cbabcb2e4a97697913436f477dd65e7af5b607","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7313f6df.tgz","integrity":"sha512-6QX1WwTZtFvjI18dIfiObfqFtu+zVyGK6Y6mA1hNsT/wQIYFbmt/ODp9euC9DnJyQ6dC8IWG1o3TNayZUd6y8g==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeyuYCRA9TVsSAnZWagAADjsQAILsAyMTYw4Pecp9dZZx\nkMotq/4jIuQrvNLkp4n+uUjoIdAt0ZycZ2RetYf6wWxQOHCB4RkC2WQMosko\n2s2/XFIWR3JO+UoJcHpyrCMWfmjsnhWEokBk5oNrTm2AI8hXkhCR3Rr6RJvN\nsR1gt1/jUK0h/4I31f3I2VwNvRgBYiD+DVjAt6qPhfY4OVlbRQpsLWuenUP/\nQ91DNlqArL0L8NIJTmQir/HUf0bM5GM3LE94KRMtU5Z2DfK52cu9d73muGTI\n6tLpUhuQY8Z7F3hdksYMclL+zoWC+6snewCy5QW5Q0QrMOCS/5Dm2TaD2rIH\nJaomWMXNps54pQ22ILv2cISRV8uTr29d5RjvdeFGSX3+AbqTPgT39EWZd+Pb\ncYZQI4k4+3Bxpti0TX9cM1aOFNNTJBZT9/P66Y3GQJu3SRAoQoj4BRwezo+5\neYDAtUDl9kdk+ydNCcRFgWctAz3DnMD7kmdo4r2a7DW19JqNqviFTZC8LrzL\nlQziYYmj9INgrp/QweJuQS+s5k2SxSOZv61z1ILqkcoin8NIK+RpFdjkqEvF\ni3/PRN8PUXYq6QA8wX9pW8NWfLsR70QEk0kJcCM4AGcXGQ2rDe9zy/NEw5Ma\n/ruDf9wi9dSATmKnX5PGHUPlxhKAhtL0Hu75viUjEz1B/75UOLQ1NNpMPNGQ\nk4q2\r\n=/ZLx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICM4YLMxXZQpxQ3/S1pHtu3m0Ndy4ywivu00RMFuF0SlAiBfkRRZdN8kMk0qfYEzJvj8apTdjOTKS8U9UrlS2XNirw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7313f6df_1534798743208_0.1479938533502816"},"_hasShrinkwrap":false},"0.9.0-alpha.c7dd8ba3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c7dd8ba3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.c7dd8ba3","@crave/farmblocks-theme":"^1.7.0-alpha.c7dd8ba3","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c7dd8ba3","dist":{"shasum":"b7ef5683d9393203907c40e5e16e5bb7ceea77af","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c7dd8ba3.tgz","integrity":"sha512-FPfh3Ud4QDp1cGyxx3q2d+zh0J32I9nLbj02DFgYJzpE1bYoUxpt/JdgMWVPRMajDO2Kem09xk5hL8yN7c6tZA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgFuuCRA9TVsSAnZWagAAIfQP+gOiAuu8jRgjDKG7IXbL\nLOm76w6z6zlDL/egeNj+83aEyGCXRmhp+rJbNF0GDIM5mIJzeMDfUzAnRIls\n/D4/7p4Wy2SfMeyN6qxBZtk+cX5zOoJbRKzz3kpD27LZj7HetRHr6QG583FC\nsfwjmG8ePg+iQYicXk0mS42Y9Gy1YMT4Px6n5LWflIKhcnmWTPzZcBxWVSuI\nYiwPgSL3fKxPEDTw6zQsxiMJSVQ29ngLnP4U9bBnZXI30JEn4rlJwzQ+1drJ\nB3YpuJCnPxXqOz88oaM+ez6timDaBPJO/z0mVu2anYUsWVxZkwU38oL/WKnG\n32ufEXUX6HK0QtYnKAiVtb2K6CiPQh/5UJjNLXvvHixB3q3Ytx3tn+v+pnL6\nKudyXfaWBk4dtDE8Pfv1Ve1s4RGiGr5YaBQCW/6Ly+a7B19tUL/UrObZdJ7l\n1btq3R9Sd/kf21Ujo5ISu7aAvzALWxPDEs9WZw+COU9csFZWs50JHGqvpBua\nh9hfnzoroTHvT0zHzXoCA/8Fb7lDlgWutqK1nH4yV6auKcX7pibHtVnd5lm+\nqf2GiXNMJ62XLWi21zhuajaMSHMu2uzZYIFi4f1H8v1bzNnh+BeiE0+9lS6a\n6RYKglIGCkf7K8RGrjqy2u3DoCF43or6ruM1dov4FxtD6ueaoZ0AaOobytrP\nC0Oe\r\n=87HR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFre//Vf8+Rj6OX+eDCUzxrp2IC6iHyHWXK8MuOTqfzAiEAzlLzJcj3bUp9i723AI+OrvWnFM2eaGlRCmxu6RB7ZgA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c7dd8ba3_1535138734090_0.9948954161076191"},"_hasShrinkwrap":false},"0.9.0-alpha.961cefdb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.961cefdb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.961cefdb","@crave/farmblocks-theme":"^1.7.0-alpha.961cefdb","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.961cefdb","dist":{"shasum":"7aa622bbfeeae4b9db30f27b9c9818e9a0a3332a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.961cefdb.tgz","integrity":"sha512-gavh6N2JSlewRwkK15+c7QZnplXbSicxNuMhE1egxLIy03hHhuRFOERhu/lj42hRy6FOYzn9Zsm59qc+hcMzSg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgGArCRA9TVsSAnZWagAAWjEP/0gVoYniorzWZzcUEC4R\ncgG3UMDmoqXWeM31uSzC8iOOdFJUaoB5+c0Ncvbe+k5nNctfdmDULtH0HXXu\nyVy1r/rIzVf1O6pVfCvfjVKZ2plZUpl53rSQgMrMLiUVJplNyWuCHOcFf7fn\nMDIXCMGr7tPVxgnOdEg1h709Bwsew9VzG9r09pDbiD9nuZkeRKh1sEkyWdRw\nXhwh+0ezitw1fApe8zzRPXED/sOhc3N8Dudwon9MELS/70EmN7bR7XoC7qU9\nGQgxrWngJbDBO6Gg1VGfksVPIEqb5xjZG6WtHSSdglseQX3L84YdfOip1aHL\nBdNwdb58lGcxsTkMWNIo5fL3/9CjmRvQ5yGoLIPOHMpL9R77o9tE3tFHy4q3\nlUJ3IH8jcb333HfsS+JbIq8TujFKARCalV5kIiuNLCkQigA1Hm3wCDzXuGqj\n/dvZFXDl310yabyu0DGy9CM/pVi73a7llEfbX7GoLBpzcdkK19YcttrglUgs\nVXrMi1vPxxYbxlxuuAI3UmmHSOOvAsKrzdzcZ6YwN7d/bHWBVvRCuLg9sZpi\nA+ojIrum2heTfI1spNbL+Fjpe60FpMBspyVNxJgmYlUKGXtbzvtLoj8W2gnW\nb+J4HrbNBPpAjjKRfWLmva2czAZ+cErh4YWrOuV/bypoXZIqeDzRHnCJvpYD\ni6KQ\r\n=kvWy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYi7SATf2wLs3tCTL8hy0GYsq72NEPRIgrEKf0TVh5agIgftR/Rym6WFTLYxpk67yFzmSN3g5mFHH/dqmMjrrj4MY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.961cefdb_1535139882662_0.6503382881373543"},"_hasShrinkwrap":false},"0.9.0-alpha.1841f038":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1841f038","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.1841f038","@crave/farmblocks-theme":"^1.7.0-alpha.1841f038","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1841f038","dist":{"shasum":"7e42babdc72c99da96e8baffc0fb950ea4cbdfc9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1841f038.tgz","integrity":"sha512-zRBR6xGXzTbuoIGSi9FGUzhr179IFQfOdsgFMAgXmj5GOIIh0fQfJ1UIbh/bUgH9lRt2heS6vTLLemZpnz7pAQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgR3KCRA9TVsSAnZWagAA+3wP/i8E4bq1jtHHDpU1FUgz\nD5FQICp6yyWGqaotYFP37KL9ngvTqRmmjQgE+vyBBRGRs7y/W55Q52T5sZfv\neAgCiXS9kF6A5WN2MboAi3YH7Y07erq4r23IeDt0BghjXdh2RZckhG0mJhwy\n5QpbXFjtBealO/+WYM/opCuIwpYciRr9ukItgxeccj8DNCVFlNHeWjAS3xfU\nzMOF4wYNNfF6VNlMlN+YNNPQIgjOSCOykIx7NCjEq7RaTRfZ3sBmvXdi5eGg\nzuR4iomRR+g8inTzoygRQbMsXON4Noomp9DvAheuwfEFuZXRMU+aIlS4+xDy\n9Qnd7xQaKDVTFCd9LP0FuMyRQqAvdYGkMG8q60RvvM005Sn+5lqQOdszg6jD\n4hKLW3j4bp/rs5UekW1NOh4aQzpUaQ1wJkaZAVEtVHNRWjx2JWVHmj+4sc2g\nhvVeEQOJ16XJjEjHZYjVFddBcaChholAIUXs+LpMVDfmr/nAwjmkM6O6gPji\nYPniNOifjx71wgPTZCqugEbuQ5zGZvXLustUjKHEMpUcMep0la137VLKlSTh\nX/6YwEUELZ6lpAt5Bbzt6mOOS0jTSZrhe0WI5xZXnpxpjLRU0xkJwrIvT9G1\n+aiGKpCmoFUlQAoQ9xrmFk8ZFdhHGnEDUbs5cDpa34HMJcqvrsVIsH3oDwad\nenS9\r\n=wpyE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/nTZHa5fx4bp/eOg2bsQRsnne/WVNs1+iGOGpIBW6FAiBIssRr9HZYkKurHB5Yig6XTWX1+qGdDOGBqlb8OEJ3nw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1841f038_1535188425732_0.09015889246464859"},"_hasShrinkwrap":false},"0.9.0-alpha.7f8dd094":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7f8dd094","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.7f8dd094","@crave/farmblocks-theme":"^1.7.0-alpha.7f8dd094","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7f8dd094","dist":{"shasum":"6fe5ebca3b8ca5feb8e6028f1c5680da28ac1674","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7f8dd094.tgz","integrity":"sha512-B1B+ullulxyw1PdaNP2WOVG0B4FAbD2+WJkKi9kk92VtPzZr7dyz43nB2lVpmNx2OvmYmnH2EbuSsam53An82g==","fileCount":15,"unpackedSize":26415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgYPICRA9TVsSAnZWagAAvpYQAKJCg816mpBQR1buoahi\njB+wYooYfDvb7zK9YiyMSVFjGDBX9TOv4vqBmPU2fdtt5e4uW2zu0gTuQSz8\nAyE25NhqWEAWdh+4JgW32qhAax4US1mSe7kUms1pFwD+/C3wT/xyN1608Fn9\nRCEflpSnmZ2zCRn5HOASJaMq+R3vcwCvSehfr1bpKQ5JeAw6MHziawV82ALG\nqMZzsavdw+MDPPCiHF1f9HLtvZjn51qWKl/wqwWWXQHGLZCUBXyg+Ue3lop0\nqMj3bAUWH+f0OokzeCCDtoovt8tgHzyH0tUwdVacIIArExkx4n5/kgrX4EGL\nTDWglC4h3+fsG1BAExcbsTDdj1HP1hlNW9N+cXNOwHsUNcdFrab1EKNwvH0e\nAiEIGzfW4z9wkrXB2LOGrU+xyL6hiHS2KS8sfLtLM++QPPT/uffenmFLSEsA\nb7rPtOllxYqJn6GjxFW8/XNCHfwBKdhiRvRwa47TOwi2cPnAAA6f++97PLSK\nOcwlkvg1L1LE5qApCJXW6U1KM6GfN3N8KIbpVnEwfq81u1t7EXkuMlvE+Q2E\nm6am3XYZXWOCFpqU8sg4r11KbtUCpDaIogBUbbiJV10QxUA0vnlyEkQ52uUn\n2/HQQ+ql20G2C2d4O1rclSV9tsUXj8dNUh4iytxbEgdfI5wkEJsOyHMTkA7I\nxsNF\r\n=FlJZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfK2EU5o8wu9t+uB20ETHFHGsbSjQWAgcySr6F2+4t6AIhAMdYem33GoIaE4kPUYH5El9dlWpmjfwMGWLqmEdWO4rL"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7f8dd094_1535214536019_0.9876876690798126"},"_hasShrinkwrap":false},"0.9.0-alpha.fbca7606":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fbca7606","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.fbca7606","@crave/farmblocks-theme":"^1.7.0-alpha.fbca7606","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fbca7606","dist":{"shasum":"609feb0ae1e892b39c3c1f31f30749cf52ca7d82","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fbca7606.tgz","integrity":"sha512-Ijzg0q7lUFY5d53mLytU9z7PQCrcjaCZoKrHqEGxea8Sb4FtWSQrBWBRRjQxVBkfavSpO0/qd/xA9WRF2wxhbg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgYseCRA9TVsSAnZWagAAEtEP/RcwutHnyDxdF9X1uqe+\nTA2zhk5xEkv38B4hNIElzoIPnfRUgFLIgTEGUHVnwYyd6RXbQMFAqZImh8Z2\nwYlxNN0EGyJ+HMjlOIvTBVl1/fY+W3WLeOkyULBEdicf/n0IXe/I+PU53Aqo\n8qpb9kWqym9+PubbQg6Ie4R5QqtPTb0jhuhL14vcwBkLkiieQUvvcBDmOozt\neF+xo6e08oHHa4vIi1VNXkrsHlSDPVds+dvREh71weFgeWKARwYo2bVGoglp\nPkcMfBEax87v4kOIJqnNOEZk3CrEHfh0CKImVsM9LC0gBsb7bPW44+mKeKYy\nBgSzdTyUj5W9+PRKJNk31Y6+aeULlbVDHVuZ9q9583osSqy686tH1sdWedb1\nI5K7oR2HjrgIgqlqPCHvky5PKO82OvHr/0HDCokIYiTZWVD8hyAa60hBdRFi\nEayujg479AC7DdfBDee5waAntK3/hF4rrua4yeIp3MIoFk2+xzeAl1TZcXL5\n+SYkLk2NhMf6hpxL98ItMFkwUMKeQaMOg+Qk8m7LjJ+d22SpOPZ+D/mjeoG7\nWr1dES6ivHn8mU+mi1rWKwaoPvF6oVjG7mPsYW7oUZouVlYI3Gx20WjMKFAb\nKdTJmqNp2dWRgGwFQuOuQCEPC7fg3GOdQk6h4OdPHMU3lZUs7tAP5buI4efX\n6Qc5\r\n=8I/0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPzZ4yqjAFDKviehPykmL3ScZJ7VaJdVkf/kcLJki9xAIgGogTL2J16+GfdLwwDeeyoxD+EROZZr2g7lVBvIV3R3Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fbca7606_1535216414014_0.3391857228899051"},"_hasShrinkwrap":false},"0.9.0-alpha.c31e4564":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c31e4564","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.c31e4564","@crave/farmblocks-theme":"^1.7.0-alpha.c31e4564","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c31e4564","dist":{"shasum":"7db51536932b0ab542e0b6358e5ba7394798aae1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c31e4564.tgz","integrity":"sha512-iVn8Q6OC/BU1xv91MGRd1nysiG4PkTAqTSC2BgB4FsRoB3rGXNPNrKF/Pg26FCjPYNG2nYeBbGJmxHd91HGUnQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhZZYCRA9TVsSAnZWagAAINEQAIz+CNjDuXTh8UKHxApL\nej5iO6qOEHcirkLSP+UGkN0tKlm4n4O+ZKPOwCT5IcFsHeLGXn4+dgvXp7Wy\nLEJHzyLazKMSCeq23+F2Gqo2zpBevklHWhfFO+pSNEWzoLaOSHOSN0XZQooz\n09ku6RZaRPNsw758HZENCM2Jd6j7SReEghqGQ+F/e6PgooM3+AjTxSyaaxYY\nu3L7rhgQu3JmtetUR1ngvgC0eZQW0V/Mlrwq7Ruw0g+jLNr8u+sbIhN2HxmN\nnIWHvVCLjcZhM43ij7nbiVLL2tULRy9ULAuIcsmbV9L/SRjqfqTJrB2be9eF\n/c7CCUNn2zdNAcSKp66IAU4ZdePKROwl8SdXztpqe9bY8/khb+jvR41IbqWV\noM4rEID0WQa2EwiArpaMOS+jqEcldcVf5+uNkC6ZbgqLj9u3pKQDejx2oGG+\n6Sc5Qv7msayTBCFGonRnFw/nXf6eggsrJ6SWTsAdgQYE3d1D2nLMCSKZGO8d\n0uRNoy+nqh7I+D64/QanYUBqJZz3TLGz4kXmObH3S4v0XjZN/Nk/VEVq6TNt\nIdCybhuPgf5gVYkElBk+9pC6ODf14KQCCvsJAvp7mRQwn9x6UCnqdW1l6Gex\n6wviwbgtB8yNbL5ueyVucYe6BaIVrZeqpWj9lmykSwJEIlf8vfgMr6NPOner\nkaWu\r\n=M49r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxRI+8IsMyLigL2Z85ZLtFWXLciKgl+XzvG17dBeKNvQIgVxbHpf61iTuoBZLCqdPOEdKH/RrpPa6WUr31eHcNi48="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c31e4564_1535481431777_0.4801037796739067"},"_hasShrinkwrap":false},"0.9.0-alpha.95bfea5e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.95bfea5e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.95bfea5e","@crave/farmblocks-theme":"^1.7.0-alpha.95bfea5e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.95bfea5e","dist":{"shasum":"45d4d2357375f07056d57215bf174b3a14535c18","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.95bfea5e.tgz","integrity":"sha512-GvBuIqfOTxRvRk9eGB6mTE2nLUERTNCNlEiR/gRzR7EJP4cbyFTDSUtPCt6Yh5yqOK2r92So8/OOzZEKRl7YSw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhZrzCRA9TVsSAnZWagAAOYwQAIseeZSAXy+vjrhMgzXp\nNpRVUPoGYIXW9eW1GA9WsGk/vRA7t9sm/kvLnsO1cZk2NpQLYwogjFtTJYh+\nm1J32qhSLtG2SKF/hROTri1kJn/Y0tX1lpaCp248tZ/+/nQyApXO8wIetSkD\nW351D5JHujRTHac71ulVkfJISH+tp+c1YyuA4Sqp8t8R4y2GY1QwkjytiEWu\nvQH2LgFcgU1GYXweeq9HBPy1k8VOdwPW2k4epq7yHAs9hiNnvz5/VMYbw1W+\nVJyf+E6y2UVATwjugBOwDP/rgw/eZYdPWEnUwc64FvTPOo/0c0ueevX2juFi\nCsCphDiT+33u3wbpNcvKefyoEVNyNsZoDB9412x2qMGmEqffzNs2kYoeVXc7\nolrs0Y6C08iA4//Te0LSQaS4uhgDBr6euC103SpZhI/DS7q+lxiddrTJzJ89\nmyIxuFl9xvvmWGYILZ5w3X544/uchCbmKQhKflx93p3tPipsIV8nv/5joO9z\nLjzLUYlwZG2VHG1Q9N94PP+MAMTObMShuiRwysy2QSxiwNayIk3Yfvsoiy7e\nbX0YooZsyL0uSR/bAfS1aaf5Cp2h6nbDKKn0YC6Fbc/qwovO+zW8y5YsKrVZ\nGgxdhhfHNDZYzQawx54JnmxwlZYFB4ttVMppmt9umVJSuRZ072tnuE5y+1sn\n1Ko6\r\n=YmVe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIRQPeUFOGP4F160fJk6BVNbxmSOct8r4kjkBEJFOHnwIhALKfWa1MtUBqX2yFTfrABuxGzY0UJ4yrjptq2KjUBH5k"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.95bfea5e_1535482611307_0.11547756504122209"},"_hasShrinkwrap":false},"0.9.0-alpha.88621341":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.88621341","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.88621341","@crave/farmblocks-theme":"^1.7.0-alpha.88621341","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.88621341","dist":{"shasum":"0963bbb7ee8f2a613eadfaa89e94fa4fb93769df","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.88621341.tgz","integrity":"sha512-SKBIFfAMOVwNo8f3GjEPtLdtB4LrDVNoGKn/K0hvm2acK1JfnvoHhKv0yvZIjLoNLSVj6h+Pk98anOY2F0aDbA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhZ9tCRA9TVsSAnZWagAA3h0QAIDPzUrwGX7trFXImkBq\niviHDhbE7mJ2S4oNHdE1bR7XkbL6Y3K6PtdG1yDNeBZE4olDurRgb6WsMfBg\nO5XP+C6qcfA2GmLBjXaE+vC4Wh/PlQF+BnUdOQchoPhUF3BuOyzyC7c/J0pD\nea1A+Wzkz4uyZfLlj1T2UgQc5KVoFEY1tQbvck7dLUdsH862Ozy07+6FjKP9\nIdweMz8gn7aSs1Z5qbjEJaKBLOGQr+LoRWE8y/4j5kH5tR/rNBew/9UF8AkR\nSwT2GbHtK2V+ujNkeFJTlvSsHPV/aRnsTHnbD4ufB4fw/Ohe9h7uGL56SSy1\n2x12lfzav5tp3f493fPc/9PWVn9JExfMDnqvOSRXSTy0zBMyw8B/xySbLm4Y\nnnWs4A7cccW53y0baveqOCF7CS0AclQnnf7eIS8Wx1dyRNDQSM7WCd3N9x6R\nTfYxfxgUXpX6ZpDZU/ayUBiMFluPUOwbwHnwkQP0svpT046Fch37Vqv4x7sJ\nO4vxwjvlydCuPv2v4bDZhQWLQnFMctIUWWW9pNZNJt48AVZVMDfq1Tnf9fTV\ny7zXwPHmtD+tRk0OdDLMAoJE9hIo9NNt0M0mPqGEAD+DzunfNZLG3JKzPRYQ\nEhGrhCp0NxmaIAD+F2CyakVi+BrWTaJstqi0FCJiNd1Pt2sA1vkBBVFhFd6q\nB96J\r\n=UFO6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3a/c1gW2xUwtLu7U55WHnBmuGi6SMf6GUvO/2XMYEKAiATEcH0u8kUzX+s483F8x7rSuRlaBV4jJtX8Xomg3lyFg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.88621341_1535483757007_0.16511589757486567"},"_hasShrinkwrap":false},"0.9.0-alpha.26813bdd":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.26813bdd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.26813bdd","@crave/farmblocks-theme":"^1.7.0-alpha.26813bdd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.26813bdd","dist":{"shasum":"2b89b9df8920d4ae7fabc9b307fd4d845ce91224","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.26813bdd.tgz","integrity":"sha512-lJNHbfTe9r3fyamEUCaJvkE5Bgyt4yEGG7g5LPpQbj2P20TLIz0DY1GYLotHEJt63TLhD6Ga0pFgDs2RQu+A8w==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhejDCRA9TVsSAnZWagAAzykP/13V9i/RYD5DKYrYn7Vx\nmD9A2lrFMEycGbYGoqA0TWb+yN7QKVuBwIyE2EEnzS9EL4X2woihNxUOfy04\nI/HAF8BreS3vnzmdjk0QOCdERJzy54LeaUeqbjwDaZea5ixDiwzrY0YAVq9E\n3M7lUU240gj8wZlhAPmwgVPj8X5SYucf7RwYD/HsVatga73dqS8LSAXDciIb\n2L0/RFKJVkwMmoQvMztN+7BLDhMTmPsz85yqf1Pur6Wo5SMDcz1FSTta4Cw8\nSW6zZF0hGzqMkDn5NKy9sqTh+1d95pkmY20s4VPho/9dJlFqqDomykfPEbD8\ndxMeB+LsgxnzWvCCun1sf+g/WK4Qqe2ePo20pz3NY73HUhnb5GWbVgbyL4VX\nBd8UisjriM45zvwBgyVekz154TFx4DWTYcWhbZc4H9TWBB/s8aZe7Ok3mubG\n6o2oVCEBPDhJ44EPZkcSukdUiWNTP7tuRkXMueA9llax+Yg2wXnvs4Ue662N\noxbHQ6iilpBRRjb7u93Auhd3IYjfLlU0mjGA28DHsYVaaEv9H4XBb+ysY0vO\ngTWD11lGbB5Nw/PB0hcxOKfKZuiiGiTIhpR+iHy6GNCPvIcjNvixuxvBBHMN\ngQSoJdmqxXbzFjqJHRqJbLTtbWvmXuL3K3cEKNPcBq07LoyWPJX8E+X5JPyl\n+eBe\r\n=7Kq0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjBMvJy3wBIj/EbXQ+nSNOSKvTyyaSWQmM11Vwfx5HJAIgAheKvxm2If8ck1aaenWG62hYDJ7TRIeFEWt+cB4BmtM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.26813bdd_1535502530428_0.4024709686201797"},"_hasShrinkwrap":false},"0.9.0-alpha.5db3f5c0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5db3f5c0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.5db3f5c0","@crave/farmblocks-theme":"^1.7.0-alpha.5db3f5c0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5db3f5c0","dist":{"shasum":"a28b28585d1dc3cf292467b7c9ce5eac5f16f5f2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5db3f5c0.tgz","integrity":"sha512-/QelMocPFlMNgWMg5PaecyTVdaJmtSThLGpLevW5c1B0InSMVbwQHWNW76AmczLykATnuALV7Y0fDu6RXrxpWA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhiG6CRA9TVsSAnZWagAAY00QAImoGqDsRY4IxOhB936d\nv6yAueVRjGR2woqpjnFHK6I8mU04+Gd/jBmMZkte/5fUDWfSV7XffGKBFC15\nMjSUq0D3wFeNa7aJrD0rc4SVb0vZ/ZRxRT1Q4hLdXqDI/E63pwhOVdd+DTzd\nE+Y0FL7yLMkwKMjxq1tQeu5waie6JHImbMRWGzHvwtlqx/SwlvInBxDaTUIC\nHBzWWBbwGEdX6ChP7PI1FLOiiSarBuNcWVPpnDRjCBF81bUh3mVFB4G2stqM\n0k4fC0nxa7UJg+sEQ4u5gB8devb+yb51Vf2TgoYb5sHvhk1fsdb+vh9XWvy5\nIK2dm7/fB1/E3bhca2JTkeWs8FytMsWZ3iN0xmM2r0HZIQr98t0ieX9fX+Nt\nRfxYSeSaVb374Yv1fi8jw6HTy0KBZ4XVL1bhxyWG/5O2B5CqU94n+F+wVFix\n4g+hXt4Kmedm13CG0RKy1SpjaR3EAOMuv86YTCPgXTJrC3ULJ1jS12wZ/04I\n9zokiBpC9yPl8QJ0vKW4u8GTAmk41FZZPSQJgcaw88euzqsQinar+4OcidXO\nDvVSub1PKc94pQ6oZlF8vXAONOXHQYF15LVCyUwUi0aHPdyOBUINWuosbt39\n75K/F+boiXG2TWnDRMW3799wUjW1E+YxPPE/Nzq1jBkhcDFUPmR2UejZfbHF\nyTVL\r\n=kE8U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZWMJgoQUmCOBx2DHPV3A2yG+ou0NNUgb0Prx4/hRk1gIgZ3kQlghIww7WYbm71r7gDNrB0bwxKRqKloxL3DDco+Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5db3f5c0_1535517114085_0.6065578033522001"},"_hasShrinkwrap":false},"0.9.0-alpha.14e363d1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.14e363d1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.14e363d1","@crave/farmblocks-theme":"^1.7.0-alpha.14e363d1","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.14e363d1","dist":{"shasum":"c2fb73f139c87f29c927896236efec6db2a2e6f3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.14e363d1.tgz","integrity":"sha512-cBcqHDEIVsL7gAwE8bZgPfzg05iCUu60ptvNlyyRwJ6EYAzBybolZfbIGJy31FDe0cp+X0MJ3fwwcsp+0QqL1g==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhiIPCRA9TVsSAnZWagAAoT0P/3mZFopPj/NiHABWtwpP\nApJss1DuQ4KCYKoJWgi9Qate2Hlf9eOPjwTbXcjLJ8f7lfxrwpw4UEYqP569\nDMan32bkH8B9Vb97M+xqLvoGjcS0yuCD5CRBUKoxS3tTnyZJqZyikAJP6SAR\n9amI8YSoEycKjWQn7xwVc5vJOORLRNQYK9qACkz0aqWtuflUjePicy3VlQGx\neyNyZwVX/rtGqli4NmuHOpgJx58v3nUss1KtnEmWMZrPEK8WaP8EKP0KDQQ/\nHfbRmnDhEgEycb1dxhYtS8MZQxRo37T5EZQ9OSXVT19wW50VZ52I/yRWsCQ9\nWPs2y77y1EBA4IvbCjSw8hz3pdFHnSWxG+sqRTwsAGt1+hyXK0u79pDMbaTs\n3DSHGY5utx/z9tlQOoVNrjvP1CbuXyizEpYoJRMBd0KvEFmNV1juNLR9Brbu\n4W2Ne0FF6BqGYoTYfiFobSsKc15n2OqDF0UD/6r5F4I7rC8+uwGmWDaGYfyX\nXYJ0MDvh4yXXRI5eAQ8lobXvcr4LAsAclulCbAqQ7mmWto5KX5I2yHdsh0+O\n0R7kKNk39+knh9P7KyGJP8ndUzx04Ww0S5hg1/sJcYg3UyuRsT78qypEPRhm\nfIXthAiSzAVvY20G5PFKfYLaEYyWlj98TDKfEkIcnctq3QEkRbiSf60fccjH\nnwLU\r\n=uCXa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+yg7WJJrZqmhdlXkXQJjUk34VcIoJ5Fqp8sIrZsZ7CAiEA6G98GmR937SBobMMdQW5tOnFbEQ3/TL3ZqMv4tyfhxs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.14e363d1_1535517198745_0.06683912328444164"},"_hasShrinkwrap":false},"0.9.0-alpha.eac53cf0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.eac53cf0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.eac53cf0","@crave/farmblocks-theme":"^1.7.0-alpha.eac53cf0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.eac53cf0","dist":{"shasum":"1b6f43332837cd92c3bb0cf9a7450f47b6de10cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.eac53cf0.tgz","integrity":"sha512-D9TY/ZIHZIKQFeZBhTmGaCyiBwoko/AaAqy0TYHUNSaFXKcZHKSKCSF38f5PYIF5PWT9psmiG3/j/5dcDkMtFA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhj8MCRA9TVsSAnZWagAA45MP/iSEHeHUfmyTeyfAYoZF\no/bF2ftAJWhBb25N0u/ie1KwkYiGBcuSdaIX4TnQ4SHhJekRCfl4ksrEWHHj\nErUopH26viR5ItnXoId+c8aKC/DcQnMypZR8fxrjkg4voUMHbLFfpnGwbRBH\noGHtz8/qNAsWAH8bwEkrFZMSCH3uY8OyNLG9NIINYHkw8b8d86z/Z9oSKm3Y\nScBjl4X+Fv45d86YiTzMaAnoxBmHmsQkDsof0jRJJFBTWriwENdxBlNyYqCh\nkvswqIcfOxxAMQchR4yfZFAajSyM8oWVu9paNgce7hP4G2+mHQUww4lNtajr\nvyUMsnN4ZGLxRG4/V+C0WYkfA5QYmBO6YlJ8xLRky4d7QQ0rE1rgtSlU3tso\nlhsMX0y8B46qrCMGU2AbTGotifjYI+qdKjYZGxPvkGHkyC05DBL3WLuGntn7\nz5MwpLoLSUZIjUdLCeUhaSLJjIcMVHBlImgX/1tUrALcK3jlKCUzCI7brgH8\nZIJeHtS0IhDXLaTa1rra/kV1uYOr4gObYGDST7ySYEllWDZ0g8xpb2cCx8kM\nJ7qdV3nyu6fKFKrSuI417LroU19lUmPcDI/F3ZJaBpT7epJh+ix8TvRVyOvY\nKI1hDtuBx/wReW6+AL+5acwZHXUdwFksgg+/rVc2vUmZZgq0Jf6X8cJntQWR\nmF/B\r\n=159K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEL99MmZP0KP+Eye1L3cqrfh/UiqYfO9Va0ktzpBHXRQAiEA8vvk0QxPztK+/Fl8iP0QXP5exlp0Igkpw9AqkEm7Y+E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.eac53cf0_1535524619842_0.006540563241090203"},"_hasShrinkwrap":false},"0.9.0-alpha.881bd81a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.881bd81a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.881bd81a","@crave/farmblocks-theme":"^1.7.0-alpha.881bd81a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.881bd81a","dist":{"shasum":"12745cd2af5cef62d063b2bdebcef59b95cf20d0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.881bd81a.tgz","integrity":"sha512-hgNyNcPUMpG4iaJoOMpXmVIdX4azjejiSr70o5oE8pekdjvgIxIKdvHlIn/ZhVw9AKuSruMIg7cpI8FOladbog==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbh7X7CRA9TVsSAnZWagAA07AP/0Xje5EjJ9dFf+oCQvd3\nTfaZucT8oPhK2PS2cCGBbp5CElnSJjhq9vg4TpTgI/s1O1H4pFTMHyJgxhcK\nq1UtVxQJ9nsrWQfADbxIv7jm5VwEO89DzxePAOJCYVFYcKja81gyOJ9n/OqO\nSupdkEjHHU0FPNjE6uNgejBmFV6CCoh88cs+NmpL3NCl75iaeQyJngi7R38u\neBn0b6xiKEbpRxw4yMm4dyJJFk4tyce2IXJhOt1dvPsmIIEVRmq7xkSdzTAK\nIECc33j/RD/oBB4eKw7XkTxzEu4kkLi9BW26AT9FBCAS1193V9bZKQrwnMxR\nfYehwUxw6wR656wBRp2vG9c3QYIdmOo7W5ib8QFSEuZN3QUVvzTEPQSmpqvl\nwrNtqiu9mYRaf9EvCk/63YfmbGeBTdyG5DmOGYNzKQg+Vo+c/+4J3uZiYSWl\nlv35JTKSWvAmUjWFQpTp4N7gbzpz9KAG3iGfPaKynHLVww6XSm/qOLfnLreN\nLHqXBZvxI7wTflR8180WEvkjAe316dd8ndwI120BRGzjppglprqwsJmIpVrs\n5TFZHRWkg9H++wulL1YF9fYzvCVcFQ0P5Pv7UiaY2FOO26R7HtmZ+xDzMei2\nNOXjKWLS9LVDWTS+CMCAYSwMTqmBREGv+9LBUdrNRzbrRqwYuFtmlVHvvDcP\nA/2b\r\n=wZWb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA71upVsaGFiNpvK/+3R/YTRAUYhk4mIzxzH8Nrf0AHyAiEAoRWONXpOR7DEN6ygxOnRC7/Pm7em104Y+8Gxhr6KeQw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.881bd81a_1535620602880_0.925882261392069"},"_hasShrinkwrap":false},"0.9.0-alpha.5a143753":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5a143753","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.5a143753","@crave/farmblocks-theme":"^1.7.0-alpha.5a143753","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5a143753","dist":{"shasum":"204caaa33422017c909510389694ce95b15c439a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5a143753.tgz","integrity":"sha512-fTGP+bS+MPpdVAz0MRZ2QD5S3UcFvq5wHSYJ1bXe0p1ZzvR0wtd6le1PCnlGq5emmD6pHLJZSZHp0FS7b+226w==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbh8+cCRA9TVsSAnZWagAAnAIP/0CwodzXqsZIXX1XZth1\nOQmjIku+jowcaLt//niTHCLsSc9//gDP0bccP5I3wIthLjUWGQh5u/1Lnq9a\nTI7+tsSI11dvIdM7bZJRAo4x2M18Pg8OavToy7zwRoJYKxMPSmCmXOXb+tlC\nOlhtLbKlKRLLlRLjq8RBVawlDNahNPRN383RC/L85wVW2k8iLc5lCee+aACK\ns5JO1yBKHQGbQMb3hacYx04MLSvebgSeZXfyK4tnptZLfEDSPTukjpew/Gay\n7beKzmoZuzoVqhGOG+GNFq3kkl8FErZEOliN5sxsCaYjRK8jT17RdyADGL5r\nPsnOlbCt3Ucrs8ffFj0zoL2oJVbqhDwzQMbRO7CarjQuw/e9GpEoEg5y5kRo\nQ6DI17PDKuRdzRLUyj16Y0r4JxfdRsKXycGsvx5A9sKp/Fob6HeMXHMlfhCs\npDRI2MXPA+jf04qVF1lbNDIsEzruYE75aq/RTjc+Hw0MzsmNowKRf7CHVVAe\ndSj5SBQxANiuZ9VFtrpFafViLvUtp7KFPl5bVT6gxXPnhjrg9n5amE8iXb/V\nGwSsuqTUdBMfNJwDqFwmIMG89dq5ldKk79W453DOpi6lahbox8P8FRIm82Cz\nBSrjbrGa544DiMfSlqHcAmU6ylxCJPsKVxpFvQFNReB5sJjunCOM4WzyGNld\nbhpB\r\n=oWTe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3sRwWt5Ki49P9Cvn9L4nUQL9wpwqzyd8dpUwWlBK9eQIgZkvQDvdhEVTrYWHrdyGfpWjxiICEX45iWLaEBSgATfc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5a143753_1535627163962_0.08111655900211945"},"_hasShrinkwrap":false},"0.9.0-alpha.cabd3e20":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.cabd3e20","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.cabd3e20","@crave/farmblocks-theme":"^1.7.0-alpha.cabd3e20","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.cabd3e20","dist":{"shasum":"a768e21a95d6a5130f4b84895a2a6481708260bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.cabd3e20.tgz","integrity":"sha512-7O+Cmz7J2YyLrX8Wo+rmI90SjxBxZwXitDkO6Vorc+bSINk88oGnWEc77Er0Z8iNm2Hhrq+zo+MynJ0OopJK/w==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbh9vKCRA9TVsSAnZWagAAd0kP/j/O7VeSsdL5G7dcTGCZ\ne32VsA1E13c9pR8jeOMNKd9i87XRkMBxn50F03wwNBROgTGlFG/DGASeBM4p\nyjK4lwR8L8e98CLtCGedYd1lSfWPWVJEuF2trQl7Nfiw+ZTPANsiuztqBWbk\nOVy62wWoiGINCwuZbB527sb75QELGhG4yQL1CdM+IgBRRa6AerP2DmtB7X9x\nuqJVKDxZAxzTg4EdEEtthc7IfskHvl+60xBIJw1VbRcSR7/I6xFg07LBOSsa\nr1yoSrt5czJTpMagiAq9PY86pxKNOrBFCzgJfYgq1bdjCe3DgKrNvcwumcL2\ngyraCb8h/H1KkFJAAc1EJ/BHrC5u7axygZ/iwEZj5RMNzx2yXQIUKB3wWmTk\ngdwdG4xXow6GzK63Prk6zF1390zf+XnLppUUH3ciundTJdObzoRBHEqIzQ9b\nWc0IyCLxefzNc+CD07Tto6tsg5nS/NW9DcsHwApjLj56nZmTUlNvUPuxgvpV\nSN/K2ju3qwVz6vUJFoMIS2awCa7+DTKGGZ+q1FaJCnCZXqNB6Iq8Y3ZiRmDM\ntkYAaBkUB4iTozWLAgj70UkqIQyecGobz+244PGFfbu+yr+92WNXRsbPr2eS\nH0hmfaQR5tOccpiBmTwmXVmSa8S+4qQtPDQBYs4tsKxroTOIMwy9WgI4Rs4S\nEJmx\r\n=QDCD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7zTjfQ0Tw96Fu6I11sfQecAdKtXQXimzjsjQ8votZhwIgCJqTjLWtaxP+sRYLxtJ1yJ3b/pZwsJ38yUkoAQ8fVCo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.cabd3e20_1535630281569_0.7844936805288647"},"_hasShrinkwrap":false},"0.9.0-alpha.2e583664":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2e583664","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.2e583664","@crave/farmblocks-theme":"^1.7.0-alpha.2e583664","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2e583664","dist":{"shasum":"e3b27269d347d5502ea0379635f0ee7ce3b16ce4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2e583664.tgz","integrity":"sha512-bFWhXRGilSCzqnWtrPWjVZVcDzWS/jT2tR4c411CPH2QLweaVTibuZExxGE9dvElXHRj8UYvVtequSbykVgSeQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiJeNCRA9TVsSAnZWagAAjqYP/jtbKcXQcJP6imz793y4\nWcy7LDP5NqpDEkz7dG48HUWF5v9EZhZWNKXVWvknYgmXggswdXslw/n2jvM/\nMpRg/6UQRZ2Lpe8zBLXi/UkZ9i5iqPm8pqdg+iZXmSp3qpTVyi30ATrLFlq4\nJx8vN+EhKztB8HYdlat7fT50idoWT5SKxFYLVAL37XMmR7P1MMFgrPyt9QtN\nyxq4OqIR3vl54HE0nUuIDWWV15H+QIGFCf/6rJnA5Iz6n6tq6DZRmNawh5RW\nY7WuGUYrq8XKRfhxpB9Kvlylb7w0sMfMYsBh76n2FHTANY/91FPgL2APSWKG\nkf0Uj/Z0jyPCq4DVJ9mJUpmiSFBQmwOF5SGZQHg0FYB/GCH/wVcfAgY5lBia\nLkt3+2uc65OSZncna0l8Jgu/SuV5ihYQxjjPwQuPzahqFN3R5nSKKCjcKasP\ndYdvkoAoB3DSn5Dv2SMmjmbC3yB5xLXBVVcOIBeKcoYldjUwDqMjT31satzJ\nXUNrwIemtQLTr4bwahfeoTIz3MH3+NiT2yVvhnpI+cpJq6jwO48pcWWzWFkm\n5YX41oeLS7DZd8wYQg+P4QzGUfwqt48Sm3j/aC1GWAxOe1iRGmMX8b8Bbxnw\n7T8PrVCWR5Pm4Q4/x7RwHxdQVdxV33p+fZg5zT8y++j65UN3gtZyxg8NL5o9\na+Xl\r\n=G0bG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWm4G/dTPK/DtBMSmxhA9Ub/AEgvqJXQPJD+reYvDyLAiEA+Hc33SRQfLQf6lcZimquhB+QvC8afBhqgZE8jC8KAR0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2e583664_1535678348652_0.30584380402489764"},"_hasShrinkwrap":false},"0.9.0-alpha.0f1a7669":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0f1a7669","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.0f1a7669","@crave/farmblocks-theme":"^1.7.0-alpha.0f1a7669","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0f1a7669","dist":{"shasum":"1528bd87a094d20214218a450d145697b1505eb9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0f1a7669.tgz","integrity":"sha512-hpVLzmjCGmspxqyejOMSxMQAwJsUJ0DTpA473cr+qGu2Et/z2FSvYPWUCUdCAronH2fzOnnCZ6OiRxjcKwLYTw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjjzcCRA9TVsSAnZWagAAPvcP/36yefbul0xzY1nWdif4\nGXYgwMbiETIMtqmOFBctr9G9sTmLla3OOIltlU+m9VS1a9B0U0FFPAc4WJv5\nMeXN3zmVZRVRKTPMzP9eRizgGcv2FslOSWxs2F1n6Aj3Tg7itKrO1PLYNeTe\nkwjWk8NfCAzxM44YI+Wmlewcq3uq0ivNQZhSkWJuCbnwZAOockO32AfBzaLF\nGI9L28sfc/HEGM0CH/p6E9cb++pzrDsKJNUGlqt1gmS3b1kS5M+uq47yxK1L\nQFRlyC0V74L2z9AMoGzxZphVpz6XZajCM3P8vfhvJF2EEpatDn3pMsIm1lsj\nKDdMtLoDw1O0iN1PQ1SKk41ifUVIGdUZO97GfMms4gzV0c9j1fGSEx3d5vqS\n3kZtNovRdtCxGZrdQ6l5/tuc6JwzxU6JYjBd1dtAqWa7yxLQt1tuPBDIgnyU\ntSHcDtT5tEYROOiEO3LOuIGhwrBrBMpT8GxNaHLDn+fiWZGmGIFR8FdIUbff\ngxOEhJgdw5PQUBV8E2b5nT2V+ANYp3gzcVlctEv5jSYT71PfDJvn8NCuAkn9\nJ80dYTg5oGv+n6MhjJLzNYYh1NgBkPsMlrSWfsAq8xu8WOryLdeTomqEtiw8\nrAV8R1GHXEIkbjovhZbjnUqF4awgxw1ZI1R3AfnGkMsa5f067LSjWaOLqNNH\naSnF\r\n=SL4s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDrRjHRe2qu7HUdrwPVzXQNFZLtQKj5rPhGzPoMRp+qgIhAKPPZiTaasBw7Ksi/fFs4xxhpuXt9wSPBAu+qrypJuCl"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0f1a7669_1536048347495_0.04951447457147351"},"_hasShrinkwrap":false},"0.9.0-alpha.8de4581e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8de4581e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.8de4581e","@crave/farmblocks-theme":"^1.7.0-alpha.8de4581e","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8de4581e","dist":{"shasum":"9f039ab427c5755ed2febf954d8545eb7e820a52","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8de4581e.tgz","integrity":"sha512-4z0D7eM5IcCLn28Eq//794AXAAwLFjQZUDZUHjDiH9FehAcF6ZTrwsJDcF1YK96FwHtrKW90atjn8cpGuDzMQw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjrZpCRA9TVsSAnZWagAAJp4P/iK+mT3dUPI3ehJQabFn\nqcvziGPpNw0qip4tcL00ikgcJ9EABJE2RWbVMEIdlcHwUyQ4zDX0vUmZSV/W\n/M5BM44CWaWdcgZfy55OQIVgPF0SR4lkcpd8DmJMSH5GXxKj7vQHzfxmYTu7\nhyBiLM1fB9yeW+ObStJL2r6dD72ljYOPeYiEm2RZTGt4r1sg0nq8nN/ZBbl5\nsXEnL2/8ulBjqBp1Y7NlVAuuPRRqFw/5n+8/2/VhRH2557zXDu0rgZviAoCF\n181NPXlAYd4KdIsVeRBMAWzHnnvfZ/KrsrkkKyxy/d9vSLEoiTszkq2BlKIQ\n1B6yXgqc5DrkPMAheDP5v8O1Duk4x3QE99V2gcQgH9xDYZmpvy+/gfQYK4B/\nZY3Z6TwZRUpwG09ZlpOC+FqhdRsej2PvrmjZmltJpjVkdS98mTp6An8RrF2K\nZUHIocq6cN7hqF6pyzE+lkYg6l3wrxunBDqioyU+6yYSKXayEVCtA/miqBKt\n19eEvmVWEQ46rHR2Xy5HDd2o96yGMncBYZRRV41oXcVL0sehKbaDWjMxtvgN\nT0jj492vu4kERhPloBmAywqGyMa4n5jOkISOB1MlkrJqXf39K1DcKB4RrHbW\n2D28XaFmPujZotond5OaAemYSN9/3ASH6efj21xNWJG1v+3P8WDTfcdKEdDj\n3hDn\r\n=d1Bq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBwywLtihSRazznWlW2wGc82tKmk6qRTiQmq0HrWkP1HAiEA5HScU6Qrfzd6N6bBvx5pkTihvJhqjvyUYBwscHni3jI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8de4581e_1536079464793_0.12320208046567571"},"_hasShrinkwrap":false},"0.9.0-alpha.89fea527":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.89fea527","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.89fea527","@crave/farmblocks-theme":"^1.7.0-alpha.89fea527","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.89fea527","dist":{"shasum":"e86e6907a92bf08022a71d5c298f5f217bada155","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.89fea527.tgz","integrity":"sha512-L6/Kw7Lg5RvZYRpUhAEdvFcKPvMh4dld/Gwa7O9v7+Bdue5VRfpIZOOs8iBEpAc6CarPKYM0QANSq54kdE90kg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkFINCRA9TVsSAnZWagAA1mcP/2Wg7sJgWIjiqPIIjhHO\nJPwdM6DBlrE0pmFe3lrsxVE+CUJdhjan1gE4UrT+sU36SxaHz7ZbrGsJ4s+3\nle3XfVRR34ksHzTjrnGLdeLz+fyns5iTJAMgKoY+J+Lnf3k/D2aj9xbntNjw\nXwa0NZY04jOG4rv8t1BnMrIie6qD6GVemsVGzfRvLdCt626ryPcyZWbEtBPP\nZbElycfGgdyHNBmeT3X84aGUtJhZopxSeIMdOurabWuzLytr/saNQHxUgCKW\nzJvcgJg9CU3IFcIOkLUaruaH/KqHDuXBR9C00Odmq83ryJ+6W49HuswCvrJb\nqAGlhtPghK3WIdftBZgvptfPOMdkCem6sLzNSBPlH/nezgjiNR5b2s+2DcSU\nkX9fkKCeaNpxCZ7k9v0tySZyXa+TqEKhC5Bcq2KIbO1vnJ/bf/TFeRrMCbC6\nqFG63/01ThVaSwZF0YFgajgInkTUuVtiHwLDjV5kaQyOcoEu8A14pHp0xysd\no+fkFSmTWVNMSHPQmeU+DIch8VOm46kEJ4BCyTl7dMW/bsCU4joTG8zHE6pC\n5iiH+EIFPaJgPITrUTkqHnv7j/VWeZppP2WbGSN5W95R8F6piyFTN5LhYQ3I\n8vDqzWMRqDFoyc32c0UWmo0Twh5e9AYn2VVB47PCrlANsuiKchIfZFUkfW6+\nn8rM\r\n=nND0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7XmPoExMGr+Xz9EIa1MIO+66E91Dfcg8gK0D9atUsoAiACiHQRWxknv4fTCLyyigoVo9FGXor31vZvMNTMY88adA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.89fea527_1536184844481_0.5366673360304681"},"_hasShrinkwrap":false},"0.9.0-alpha.4222e148":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4222e148","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.4222e148","@crave/farmblocks-theme":"^1.7.0-alpha.4222e148","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4222e148","dist":{"shasum":"3ee641c02d1363e05385040f379a353ccd375247","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4222e148.tgz","integrity":"sha512-1/QY/v12jHpBXzan3Pfc/rSiIkYZr36crUDSrmLrsSmeNp2gosfkJagcktl4CqCM1NxWKO+ShbBfVPXgWZhSzg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkGxHCRA9TVsSAnZWagAAwYcQAKOBEt910783mT5OW5+Y\nxiBgrIYEUsNsNnCS8kbz84Zap23rlNwjM7K6oN0TESC8toHEgxUSStpuLLFa\nf/ddSSorsbzGrj+Td5X08QKUzQj+32eu8Vk1eRxzw4No8NN7UiYWwvqFoFhG\nSYA08a+6mQmFZqOxLqrRqS4uM2ras4sGvubPXsFlQwfJk8cvCtbfl/NvBIvW\nrV3GvJntkG8Tqm2vFenh8H2ZnQXlaIUBFZDpVEzkicHyIsTcPyhTkwOiLhIH\nC5FaNjmxinxl6vBMxvSF59WyvD1UcsJeGONNkiy2ULKwC/WUr1CBCRUSht0p\nkALAvs4KtfKRrmRBb11EGqmEOcWnP8STtIdxAq/hVpD6AheRshI8LIjDwng3\nPs90U6MMUhyrHLSQjw5ONGo/tTqwfCkedSzlvYWBnt8aPmNRlZFOFYs9QolL\nrnr7YmI9oshWOeQyM9P1yLt1AY/c308PXkc7q7ZcszXZj3BTVySv+KV83VWQ\nX08wwei1A432UcTUr5RWR73PkWVgBCxR/MbvGy6QmgdIEMcKFOJDFqldx3nW\noprOwQ0bjJ0earikxDbaeniVnUL4fSlBueGo55DJ6RsFMVfB6wWVq5tCYrtW\nsGkGo4JWtYEJ0pTBhzyQ7Se72bFWgOHuu2B8miWlQpbNEznuJRveYDu5jhtj\nLDUP\r\n=PjUf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD6wjHekx+jyIWzZ+pv34TIxZTh0MfUh/N54Ivni0EgAIgBCDtX9wwYvBkKRTJ3Vqji21W0xQLeBkhTvZQn0BGJ3U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4222e148_1536191558808_0.08042882293724074"},"_hasShrinkwrap":false},"0.9.0-alpha.029d6c67":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.029d6c67","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.029d6c67","@crave/farmblocks-theme":"^1.7.0-alpha.029d6c67","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.029d6c67","dist":{"shasum":"8a179012753b346ca3b9b346cb0fe6b9d839e068","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.029d6c67.tgz","integrity":"sha512-w7SmMZpSD3iQIckIfD6p3GC7SiZ6CJPryjGwZ4VIsxQS/YKUrlG4fH6QEWbj4Dp7tE0f2+Zj4XR+cIWiQRnYnQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkTrwCRA9TVsSAnZWagAAX48P/jytzkdQbVYA8OWv4Neg\nb/LhGWx4pNXekdbTRo9ANa5Aj1aBT3fYWQaIvp4swqAJC/s9MERMNUYyT4bm\njP5eEj2FDkWmLCQ4aby50vPuRFVvx3+dnKzbOf0ib5k+liBqt9s5igBZaoJu\n2u/bresVn1zMaLUkAYmeHfTd1CExi/6eZkxnskOkuJhYFJiWiuOhZZKssyEt\niU6KO4mlNj60SfdPHQtvm65w/cjn5qAN7z7XFFy9o3H1sl3i8ZoIc9XlTu8o\nMWDUlvOMHoIBoQBRSuH6ptU0FXt0Fcy8cXgrB3kkmDSbzChcZTGJ0ulYgw28\nrV8VsPPczqgWQubpfVQDWs1QRJRDYj/JueuMJEzQnaPVhYA7Uxl5ITDXyHdt\n44FPpvTvyMA0f6cA7N6CM4VO4U0NT+3Q5Mp8Fr7qQayq2Vr2vzpo6EaRQ89z\n8GDoHeRmfoftxHv4+CcrVMyFemZ6fQlknDLHgR6LLQbAr/Hsujw1Y4slhydh\nXkgIlGwrs0eR2FTiWy6sDM8mf8/YvPpSYqYDNSkraYljSqCpvnCXjBCJIKKm\nWx+qmC90dK02dEhCR4SaB8wURT/9FxJkCyUuzsix2HnU+eg2I4EMS1SGGGFd\ne/nrhNfqXbEIbg4G4JPZnG0HiQY28ySDqnK7EbEfk9SQ1TCW+sMiLYLZ5nIp\nDhkP\r\n=P8id\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj6Iy2k0/PWUOW2gD5V4VNPs1Z90o3jyrFyDc4wTUpdQIgFZEuJ2CX2URUpmxtP++JYFf7yEaGhnh2TxhOKX+QxwM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.029d6c67_1536244463619_0.8105586346469553"},"_hasShrinkwrap":false},"0.9.0-alpha.62b8dd7a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.62b8dd7a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.62b8dd7a","@crave/farmblocks-theme":"^1.7.0-alpha.62b8dd7a","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.62b8dd7a","dist":{"shasum":"4dfb8661ab00e6eaf186b8868349406f87020fcf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.62b8dd7a.tgz","integrity":"sha512-I8R1wYedJwdXvh4eE5bzP0y+DpD+NZP9eZxFl0w0CsccsGstow+g9UodCBhMetqcwRCM0wdaRPkSrKPR3n0EGg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkT9rCRA9TVsSAnZWagAA+soQAIwXYPb9PPnVFeqBF0zE\nhFklLDQSCetAfWuSTtSOp7xVHsQkopD233WW5Zg9/HoY5fNs3pMWWaYqmOqA\nW3ZR9DPuQ7Tn32+78hjHUTwFsd6TCP/xQARDrzqzR/ZIK4hE9+0EhLiYlEOH\nOo02vmFb2Z6XzAkbgXFc70HlZ9mAeQUHzRa/q4nDs4PsITSvTlWyKDz2VDr4\nvgHJRgzcs+Agln6ZGBv15bdNlMp55p6CRuhPSnba2+C2TYkp5efL/t5S86d/\nwBF5QQ3BLLz/0Ytuiqxk+2SoFxlTq/OOEAFffYsDtf/9QrW2+Y/SF4ysUNRR\nu38xQM36V0qdUk84N/uW/asXCa5aAWn6cYanRdgbkaL+s000wlh9hw+z+WeA\n8bxEAQ00+ySty1p59YIhMf3h6Thku+3qP6y0wXaafTk8ZPeekneMpFZsKsZD\nEgeYA+zNoQ5AkkAf9Ewb4uak9EqR7hXAq6DlVXUwi8QYk+YoWy6u6H6NeiDx\ndrsYTfC0REUH47uW1klXsnrCJ5vCRBjtyuW8dFIdlfNkAFwPSrRY9qOiOG0F\nYFkIk71hDVtQE3PuBRBF9svbRPr7pBUsLBNCb/IT1tUkjOqd+mB4HO7etYr/\nK3pXRzL7rs2+yo68HuhwQMFnDTCtTnRnKxUuZ/oGj1VF5A6VXbPQb8j+oj1b\nD+aW\r\n=08Ky\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnm02HhgxvSfjh8uuKXBMGl/yFAqf9IX+g7nXjwzjC6AIhAIo01wPJk8Yj+TDCVfG59WrFLNiiYiGaxoG9NMbezfJP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.62b8dd7a_1536245610372_0.3161812945808218"},"_hasShrinkwrap":false},"0.9.0-alpha.83e3ee86":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.83e3ee86","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.83e3ee86","@crave/farmblocks-theme":"^1.7.0-alpha.83e3ee86","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.83e3ee86","dist":{"shasum":"6ccb848643ad65b73118505f2643817865205b9c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.83e3ee86.tgz","integrity":"sha512-umVThGzMOBk4LnB06o29PzbR4vje4QsIiqHbm76TeO1tCUGnqhTYHKrR8npKN7QLSswyaJruOqe+OsQFpNBrkw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkT+5CRA9TVsSAnZWagAArPsP/1mDROHsam9PPno4/Fo0\ndCw2CLFDDQ89sXLK/rpIbLhnreKvElJT6kdGfxf0YGAdlrPce0oBHiMbhbb4\ngzyFgQlsXK8teVBBXg5LREhaLO23leDWSd6ebe1MoVSjOmdNq0fiCr9snTKF\n1Dxdrm9CaBwHVyuLMpCmcwdlT8BLT74aSHWAeWo+5KL5S43OAXhRI+hRG/Ib\naek5jtjIXRJXpB791u0oUjpFJ1ougxisAapjp6eJRlwwQp7eeuYfmPn0oKiZ\nk3ch4MHSI81X55ggj2cULu/OMXu49hSvOlrzXtKzRcTEZB4MnZJihpOtxzqX\ncmDMeVt1B+4/lcFGVM0eKvQ41d2dD9hKra3PfI7pdAG5E5YcbWz3LPgoDaHF\nEgxSLBiU6A1hztgWEqJx6L9La8Hh3NNXrqtiaB0Sf68crO4Yumb8fQwhqLRa\nzrPVUVuZBVL6131BovnMFQzzAqD/SA/GFV/3QLZ9iBUqM6HOmHM0f0llhuec\n4EFxhxdBMFUhkF6A626nVKn2lweip9e5n41J1JB5sJ9zOSMGyxmvDpuX+3+6\nqafd8prJvgfh3f1JXjkKFmo8CKQLb6Q/mr0IaBN4yhPN4qdxwbhR7QMCGi2w\ny/wylt0JIh2iPthqwCkf4ZwfV0c8dPDi0wgrbDWIm4c2JdECEb8N6fnJEQCn\n9oAJ\r\n=DxNc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0X59u0exWBl1bogKFUkih2eAYuYK4XdYAKek+7HlnXAiAQprYUYk9Tfz7LZbUjh2vIGtTZvZQ9m5sgEpobOE8KeA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.83e3ee86_1536245689036_0.10674019093824128"},"_hasShrinkwrap":false},"0.9.0-alpha.a3bb9044":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a3bb9044","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.a3bb9044","@crave/farmblocks-theme":"^1.7.0-alpha.a3bb9044","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a3bb9044","dist":{"shasum":"45f08680dad7c4d822869c8018b9d28096478719","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a3bb9044.tgz","integrity":"sha512-MqGrdYFiZIYPe1RGpSoUH2jIskbOsKRpEQAFYv7eGmKVVaXXGrn1PIU6Gz7+Nt4RmJboVCIOpYj2Ogyz7Yrd4g==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkWppCRA9TVsSAnZWagAAkBAP/1TdVZ39QATUhO4t0+Gh\n6ghxsOp4hlAbnZ56Y0pRsekBsQu2cijj126AUKXBhFXuCyx2S7DCydY0daPw\nb9gakdG69DaAS5TEjtYt7v3e7GKbEEFEvJPGMDOaWPqS4wQY0uvR3mI8pVyD\n4SEMHmIR8K1Z3QmXDoS5SbRyGJCgGWnd/vb+bdqfbW8gAT4pPDMnuWZZq6gl\nZEr3bhqb5K6CrfuW1G45QCqa7wIYlCG7FWecLfAWQv2MaCtgGCxMtND8OiqF\ndPp0P8OZiBZxowjuKm4tqPAe4lhQVjOq1sKYdEC8hH/Sn5e+NJM3fR6jaiil\n0mxpx0fS3AcntJ8KlqC7SM5rcrV/DnBtGqRzVlz2a69JCx9eBeRF1zRaLea6\nu9K7yOCw/kEwdvNuuUS6s5Uv96NqHRnix984sjM9euudFUJO9pXFVdckTFT2\nW4/bDbYz8ZDZsaLW9OTr/lp36CoZRO7fIQtdxhBnux6Nun9NuJFVwebvi8g1\nTtpHT/tYw2MNZiS/lhscgPnj1rtUlKeCYeOVtfo0Tw7GUmdg6jRWlHQU0cHm\ntjwzLNYR1O0rgAFwxQ2C0z7vSoHhZvS7mTBn6seXPrJ8LQj8hrqr0kI8YljJ\nAr7uG9TkTEbyyq7d3K5Q5M9YmcG4UD75W82wi9ZI0vreJN5Y+qt/ShJZmYN3\nxmcX\r\n=Oirz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz56mef9NPEoPyInUaeW7I5Fai7Ktb+WZ1XrC1qil9AwIhAN97a41qFqMxgBqGOZYuq/x5Pmstcl+xMWXU6Q7Bw1MH"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a3bb9044_1536256616971_0.4799977668068076"},"_hasShrinkwrap":false},"0.9.0-alpha.e665f260":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e665f260","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.e665f260","@crave/farmblocks-theme":"^1.7.0-alpha.e665f260","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e665f260","dist":{"shasum":"39dfea5f81510c39c7ca3d60a27e33e556689524","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e665f260.tgz","integrity":"sha512-z13nshtMDxNFdTQDTDlhqngrUsVzkJFPLbSXkEuVVP3dOhBRItAe8yiKojxxDfX8OCSWJygC4p9AyXrdX51vRw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkW2eCRA9TVsSAnZWagAAilAQAKPhJV8xLl3LLINkUqzp\ngs1RKYXdF4ZgQh6WLNLNT6LRzzjGeQsWNCA4Wvr6Yt/s3btSBtOFBqtsHmRK\nBqu+Ldk+yD7hL5tmCeNQh7phMQnl4mJzxJEYB4oX6fEWOReoFxGC5n+HjCPj\nr6cH9LDzT1/Iy9YywRN+nlLVUKveolB/5GHH8rD7s5kl+lzpqNQ4gfHqNWQ3\n7YamZG42fexrrq/Z9Y1Yfoqe8jOkf+ejFtDGlpwfJd/NdG+2iUGCFdXgAsmE\npZfma54TPMDMf1uNVWJQK8kCAdFNQzU+r78MYKdRvDnZUiwxaiiPL4IoKxpY\nfinHaNti1Vfde5GCCWySdeE308+ZCFyyRQKjn7VtwOayAHiWP3cpmxmFTMhB\nMvuJoywU9Q9945wgCvbbhokSuieROQF49LpoE0jM4T/1uRQCFZ+M8sh0bvfI\nCMFKyLXipLfR9N/mU3WhcifjpR90F8HdsWL55LVwDs3PXj1h/TgUVg5nkdDS\n7AUNZc8s+nnTGXznB4M6Fq5xOUhIo+HROveX83awc8SKiWXTIwC7vH5pL3mx\nd3DbmZnRaRjgx2C5FZs2Up9H9rye/ROc65Pm/Q1tEcx3qg5fCC28mZGe8wj+\ncwdq0fZT6LewtUuFOJlupMghEGCXrOQLU3/W3ws8oWNBYE6Sm6cJppx27ojg\nLwX4\r\n=N1lv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHI+N5Epz7x1odvmGPd18f7MvXjF0Wl/lO8AzjMlpG1FAiEAtPe/Vw9sH7KRJ+dqydcC0Fw0D7xAf09bYO6EwG+3/38="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e665f260_1536257438120_0.3803554574969643"},"_hasShrinkwrap":false},"0.9.0-alpha.137006ec":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.137006ec","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.137006ec","@crave/farmblocks-theme":"^1.7.0-alpha.137006ec","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.137006ec","dist":{"shasum":"985f3bc3aa61dd03cd92e3c5db8de2bbfef697c5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.137006ec.tgz","integrity":"sha512-o0Dmn+jQGp3ak8OattMg2rnpx6AAbhB1fb73i2zddUu5f9yVYCaOjSgZ1838o4+8w8vn7jv4iEmHwN98DAYHfg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblpOoCRA9TVsSAnZWagAAhYgP/2G1uNQ/1yEoIvW/gOkk\nYuR800xYSuaOel6vNDR4iakoJG96t08tte67IuNB1uLtIXTh7Nwjp56AgS/1\nsJLAWHMGIEiWKO6OH6tMzIr5Qk66JeXQ/CZcbUhpDvQ8dQxN48Sg+78vGo5I\nVfROjcqgxS1fejeqWyTB1ZWtUWxcYpPcpZMZuyKOpA5RKfI4F/OzqWWKwZyx\nY2Qgvcv1n/ENWhMEOW+yIcZszMyR1SYqYTWS2iQqdJ2li74U4Q0JiCw2AkMr\n/TXy4s2e3BE7CVLDIT/fhH4QdVyWh1DMZTNO4PilqvjF2bmhElBqGdMyqIks\nsU61rhOS4tolPR9mrP3ISfIst0oYSMr2cs3rZRjG/uNmyotYAObGqx9Z9WQS\nGlIirt+D3C+0sa/3soxyFTQ/slnbUwQh1V0hlUl+wirJ8l1eY9ezBmlWutId\n17FJbrLfWaETdP6rAR29OAc/TRlPNUDjRrE7aOH+AIUzJw0tT/4+JiuxHDGr\nlw6z4eHq//rQcLrZriPSH1fRlJnplzZlN0rhDvdAmDlt0NBXe63SDx/yGVV6\n3xEYFpYiSnoHrOd5rjRZgGuyIwGhDKcxssjRCiecjc0zwaJAxAy6xCG2FweV\nGJ5ZXSdpnyj3aWgtXNEwek4h8iZfpIIbgmRR1oveGXhCoFaib2S0cmQ7g4j8\ncbRi\r\n=pv2c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3qQkS8BbNa/1mveRuNtpizWO+C6gWL9crhMKuVmcLFAiBgnQs8GeJBbazI57xD/voXq46GzVaT4yjK8SW9ekYdKw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.137006ec_1536594855262_0.2520319678005041"},"_hasShrinkwrap":false},"0.9.0-alpha.16b39aef":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.16b39aef","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.16b39aef","@crave/farmblocks-theme":"^1.7.0-alpha.16b39aef","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.16b39aef","dist":{"shasum":"5e10952ea4ad0d9305a845a88e2103642088f53d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.16b39aef.tgz","integrity":"sha512-wWSIU6EwSjYxveIYx18r6qqHVj5EG8rHIXYOJSTVHuGfC5xNyOPx3E8kT6lqpPk/5B8JxG3HfGmxpwDnXbFprA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblpb0CRA9TVsSAnZWagAAsDUP/iAzvKWRt+QPgF1fC39L\nsIhsOdxghVr31ikEzsJjlhEoS6x1kOYJJqnZcQDiJvlIDhgh5ns3N9/ixu9r\nlepsCvoOj8zrg65fEAAzBYskY/a7eXuz4Pdp9lMPKYBoyLjzAjMfZKIt2di/\nuCdIE7A5Okauis5/+kEfk8Q9lueC3E3rnofTFdEOAv1ih3ott5Y7gHBwsJDd\nx3qCNr/U6t8nHSvSXw9yBWUH1tOdalvsMef7WiqReREa908QvW+6zBpSCIFu\n0dNjr3bzYcnkefAselt5x9bkL5Wm414iZCedSNQjpXkP/ehJcgUUWbF/jhCT\nv9GWJXfbjQ1lyQtqi4eY2GK5LYI7KGnWWLQOHgENQzfz9hsc9mf6Kx7hz6j1\nzU/sQpmOb+92FukuhLbLfJhhwykND7+rOsSZGIFvyjt7MLbuFZAt3Myz94Ny\nbtK+cCgR6TGYOohtPKJ2xqjWDwjhpyOqvcAlrPucdyRrJ8cZPVw9nZ7yGHZE\nlQMgpGTvNhn/9E/JVeHc47M9/hkkv9JvDRbcvBgbxQySNQwTAp8Ez7cyuHf+\nIDXYpiMhEMbFwj9bjteyOEeekeX1Q8eS849IVyG6elVKoXx6YWYFO6MscxPQ\nte9EhFzxw48UtXFj2r32otXctHIK3E+BseSxoMBWGGJpRmuxDy946rqv4xXx\nyLxw\r\n=ml62\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWPGH4bNFy5I9U8HjQAK+huFVefmIdXy2B5qTMY3vIoAiA64LlmFjEjFPJTtrpFUmCsv4zEPQ5zWmU7m/F7y5juAg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.16b39aef_1536595700099_0.28025903974150257"},"_hasShrinkwrap":false},"0.9.0-alpha.ae5fc0ce":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ae5fc0ce","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.ae5fc0ce","@crave/farmblocks-theme":"^1.7.0-alpha.ae5fc0ce","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ae5fc0ce","dist":{"shasum":"c813e98a346a476b5238a2bddbc617def1349b23","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ae5fc0ce.tgz","integrity":"sha512-vk+xWZqiO9l0lQDR75k8u0GhY/oxxIKm1gsm0nwPyRAP5nCWxF8I52v/99yMK8QJlREO6qs6hDyeZ3e1o5Otpg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblxjLCRA9TVsSAnZWagAALDQQAJF1DY0iE6alV/uGl28k\nWMYWnWk/HbIdbyQW7EoWx5vmil67QlsFn/KPSF3F+1QSRmKImuP9UBZar5mn\n0ALw7gYk7eYP928IQTF6pkEAC07AshnRbycqN6PpVO4YfMWFcf4B7W9VVQ8W\nQWsEuUulxuVdnaebHna+Mw7d665VoLoCvz/4ctZbMjVpR0VUVXPMmqENUIJq\npFWotDBRfuzWHE/3SxgzAnEZDPBke2RpQfkbg4xihqZcYVMmCXNEUg+KI/ks\nXSxPnlNRR3sDrCMWSHso7GfCFwGtEtke2ZnaoH4UgLVYwO0+zB+VSkIN9rBv\noK/FN4535DIlIeVPVMd6GB4zTCr+IP7ofiZy27BApu3+DksVx06k0o5Cjl1Y\nn4bjuLea/YgvxFdvk2I5eRLXVZpPi0rzxhyolcQTeqbczSDJsgzdsGHYPVT3\nFCn2Xhv3hSIHRfGQ+j+w5GDpIA9lHCyH679bbUMV36OzwlDxmmRwNB8H3OnA\nJX+kkKx55wwxVyJTJCPQQoFhFI6O5jSDujvQNi2qUYAe5E64Zc8F75/9Fp3/\nCl0arEMMzvInAZZQjRxIK5IRSG88exMQ9mbsOzq+Ik+jN1ymxCivgEFxGA5j\nwmtWV9sHU0iuA/ubpWo2oj8/srVEjgl/4l7e5dqknvhSRPrlH6VfkxvpjBjQ\nas4C\r\n=AqJ0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiyuACqnikxxbcNQp/zttSMTOF6LR44QtrHGmBJ6QbnAiAGG1ZAB2KWi4lXeDGXbcA2j0gqyPc64zVsY3wy+KkNRQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ae5fc0ce_1536628939110_0.31205198622786456"},"_hasShrinkwrap":false},"0.9.0-alpha.09d24d88":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.09d24d88","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.09d24d88","@crave/farmblocks-theme":"^1.7.0-alpha.09d24d88","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.09d24d88","dist":{"shasum":"4481ef5a1f24f3b0ba58b2f47aaf3ef0c4020f9c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.09d24d88.tgz","integrity":"sha512-Kv1nwSZuLOtg6AK3yb3ni+kkCcOl2nYidJmWdIxwNXRytzx+XzpOBFmLgGayl3i7J8zxZghOHGtN69dvQnuveA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmAYJCRA9TVsSAnZWagAAyl8P/2QteA7hva+/SfoZ+6cx\nrkMdHgFDjifYuCXszMoF3lTUly73VS1jj9I4dUZpnrLrL1EjdMg42QRzcb55\nRG2qBUO2+YJdXxPXfZ7Jnxdef/jq9Tc7g06rN+4CaxrVKP64TxawL6gCi2RH\nuqCi3nteqrFZQRoHUax8zYqVSHNO+yad6JmPEyI/KQSe5btTRoB4MS16BmJB\nCvrme7qn3Maw7SvRy75C+fmvWdkgI+ygKOLgL6pBP7yR9F4YcPjo3CyJZAvb\noHQAFEgtFZ/JNXp/YPWRPV4e/+z1fju5LPMjvSW8Oqii86nnoIc/Te7fGhNr\nNFoT9eJ/nSUqEiHv2QYfN1BMscFkiuXQ2r5uDk9Pagj40DQbEqKAOscCluJh\nILyf9jOkCzzxnppGDjspQEagnKZnWabJgSHjjh1XSQx7S+r3K0huZQbjdsDJ\n/hvLyBrAhcUsfN6QqAcJBetqOgT8EcQvZhj2CXKz7Q1f4lW+MZo1k2Mem4GF\nfW2NOlw9nniVZo8XEsHf1h8TUUkbeWxFeFD8fw53oayTsiEUViMFDXBEcVL9\nw2hQ3n2NRXZHZJVxxsBqedVnk6acQahI45f1yrFBRiLVIeiO8P/IX4ewru2c\n2Ur1bXQGaKYoGsizqioYSHz88RKBL+XWkWC457x/ndVxpQ9BImxQCqNkEDuA\nMyaB\r\n=JAr1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtX0X4QyGsUhV80lqPFhr27O/cATXnXAEvgukeq+e2ZQIhAIQlyrvoeW4aofloPcnfbvsKnxadwXqyDv6paX/10HPE"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.09d24d88_1536689672808_0.17595796803102703"},"_hasShrinkwrap":false},"0.9.0-alpha.2405e027":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2405e027","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.2405e027","@crave/farmblocks-theme":"^1.7.0-alpha.2405e027","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2405e027","dist":{"shasum":"35aa6be2b148cbb6d88cc62f98fbbfcefcba620e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2405e027.tgz","integrity":"sha512-acLiwGMSQ9Hk7Uj+UPRmFCEkrWJmig2Lti5+Uq6uwsFO8WCoh14A6xh0/yWSPfA8XMHMIOGOIfgxgezNpShOUA==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmVY6CRA9TVsSAnZWagAAe6oP/0zuh92L3a5njn4J8ypp\nq4YfkT/rq4Vohtv2K0tVT23PnmoP9JdyWruR7eUhOWjQlibCTUgAJi8iF7EB\nPNPoZl7nJADMTn9G5D75Y/Ylr+7KbXIujD4uXQ92d669kfu4EslZRYAykbjT\nhQJlxfZtTFw7BO13/jegWdeTdHtNKSkwVcdd87EjJyWWXZBunD5uT8zpnkKR\ne2MycJGFQkx9DtrvsNKi9OWSCjIOKnUtRzU2+d1UjwmE3xHGaqfhYEUZe37/\n0oW+mrR6B//QPU9HMAIme7C3Bptj5ntAj9zFiSbDj8KszZ4gwUFtk+INeiI9\nw73rtAnEtOaYQz453OwaFCoRAW3+kZj2/rO0NEl5x3ak8Uqd5Q5zTgZIMjOc\ni/c0kfE37kIdUJNQtkCLslvX0/ltQf4xT888iYbPDuTR8DgOjTQ8JGbCl5TH\nlPtL9siS4Uc0Ep3HLm2Fhd8cWFyCBUPnrxMaSHcdARrHe9cKFT0iA7zxAHx4\nRJ4ke/5pkAAIk1MFEj860Ybg+Bji53p8JIuFfyYdyZjeg8Ty/TZRXJtfs+v0\n2/PlKoBhxQuGtS2qHjNTmR6FF3cQGVPcnx6p3cVgj9j2+7Y7XrRfthcjpzQm\n+dPhMH54DyBVZcli9B7T380qIFrJnxWqTV5Iumfvmo4aZBEoU+Zex7D76HYe\nLigW\r\n=fs1D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2/UPX0EVp5VCwP7KLMfrt4ln9SrD5jeEvQH2LFSL50AIgO6EzFqVqzG0nkKo4fo7DJek1l12Y6sfuq7vE21sAuO8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2405e027_1536775738053_0.8787881337006347"},"_hasShrinkwrap":false},"0.9.0-alpha.3793cc42":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3793cc42","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.3793cc42","@crave/farmblocks-theme":"^1.7.0-alpha.3793cc42","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3793cc42","dist":{"shasum":"50a204849b2b1f2c98e14a0f8f447b89462ba420","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3793cc42.tgz","integrity":"sha512-4DeGMZsi6XtoQI9LHIwXDWwQtul4edTstX0GrmTaCf24LESCrXp1loQuWuC9WgwJ1lg0zd/W9PLs1vXQjiFP9A==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmWcHCRA9TVsSAnZWagAAufsQAIFoQNTWE61n6/4TmAg8\nl8u8OKnSRjAjZT8TE+okGXClYmV3UbJbiSR4TS2ptWuPqAEJw3q4Yc85oevO\nesUI+7TNiciX06dIIZmlq1itWUoiCcpOW6640s5xrA6O9MPwzUSB1QOkZQNP\nPesBAgDVGDif/RCUexJ83eTCmyo4ucKqlTMPm1kqiuaz/k2J0cNy1xgh91pq\nLOgfzn3Oy3vlC/ud8N1ZoiaEfCFYm+iL6cqTmAChXBVS09GnJpMPgnyaiA2v\nSzEy1pMkiUAQzbq5WHSC69WPcJ3lPhRLtDauxQNq6Agcfqx/MqYg7rpG2hLd\nIgnKjZO+6Bj87r6SIcwp40ZO/kbadj0fvFjzskhF7YdAsif3FbR3eg9PjaTs\nMACg4rcin622/gFSQdjZp2gndmtwYU5eBW9NBf7NiYStBhsrF7VGwN+3Eisj\nF38xzN+pW17Ovx5alUhLx+WpktpCcgNaenVeMuJBUJeBgwgJO5k3JX+D7ur7\nZiPNRCPEgrjrsZmbE8vLTHm62Vy/OaoPzY2UDmDzsgZE72hKQbLOm+IiAIad\n4UGwwykFpcqoc6t7vhI2vCoWsQFw5Y/3IwZfrsDz0e7U7u1VBnD1zaK1C1C4\nbeEWNyvdFDcuWEKNu3RXfZIZ3KFNTppTt81Pk5VHW0yqfxZL7S+RXDjNEY2L\nx1nU\r\n=sX9c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2NkThQKkDs59C3un4SQKU7PbN0JwI+r6YufbOF4kxiQIgcNdA7qmGosKbqJ8tVXE+AL8SzsO+YYMz/NtLQ5azlOc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3793cc42_1536780038420_0.9539472580314889"},"_hasShrinkwrap":false},"0.9.0-alpha.de051be5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.de051be5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.de051be5","@crave/farmblocks-theme":"^1.7.0-alpha.de051be5","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.de051be5","dist":{"shasum":"8668117fc76e8143eca5702cd96cef2a7e8f234f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.de051be5.tgz","integrity":"sha512-KH4Ur2iV9DVc1lCwNF7TmzZqpF8MCHF8XxWi3UAqkTGSL/wHc/Vpg45n5UmC9FVXbAD0Tb3DSGidK5bjsh8iYQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmW+VCRA9TVsSAnZWagAAtsEP/A7y/vFn95jCt9Zpr3aO\nAVoAw4I/hhoQjBhLQMZzKecNeZSsgmWPRurt6OUaxnkEztDuE0d2Ip0btonZ\nFugQGl4hs/CIu+VGfREC5HE8f/TazuBJuJC7FlgDTgjR83RJLx27W2dYP4PR\nazUW9atE4jmKaGjhKxh7JNouIzOVfReSVC/GCP75zFtPUhNOFSfYoj8vKghX\nrBWIrcJdaORGUmjbEo5SlCRi3V4t/sQohdnzRx0a7aR5X9GyCt9CJ8zSwmXK\ncEynLF8TSEWeHPYXyJBY9AVTUUGGdzGgec+tmc3XLAk+b53Khf2ZFO2m9X0a\nxjm42ogJiKPf5U+FU6H97IOrJc71IqYkekn1VFuEv0S9bHb7/hKKPGVFmDJ6\nHvk4i2RdB6L0JG77WhvFDeqrYVPFqEp4R1lpA5ZGpCG1eQtBbaIBokl+gIoP\nhPEAVWCFvUUW8/YMapS+LMio5THj5rENWh6mQSem4p1216SWQnwXxPZuDJPU\n0WGfEuJ3z1jLVhJj4tIv5A5UtfrSkYrdQedBlHULEYp0EY5W7BQtz/j2M3mt\nMdNve026BYRY9os9sEdOOf7wkPfW8R1mJItd8VvGpDt1drWyoBc2816sSRYi\nKOMVqN7VcKFeiwb+C+WiO0Pug2Gogn0yzcywXkyAvGjDI4fXlq1MfV2XRkOz\nU1cU\r\n=smEb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDypvpYEGcbQ2WLDlVVt5qptl6FlNJQbeuDvD1Ia2cI0wIhAJj9z4/7+O1FveudE8h2R1u/0Pzx3d3Ex0w54cwpAPMG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.de051be5_1536782228938_0.7174166600221095"},"_hasShrinkwrap":false},"0.9.0-alpha.fe90344d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fe90344d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.fe90344d","@crave/farmblocks-theme":"^1.7.0-alpha.fe90344d","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fe90344d","dist":{"shasum":"77278b9d3e8d9e863572a8862795f3cdf8044093","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fe90344d.tgz","integrity":"sha512-1DweE3Ps1coQIIi3NjUJE9nUBlQbqFoavdQJDNFtPKJ8CopispJfG5DSLZKkdi+N0LC8PJM7xvVLZ0A0GP7Gwg==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmkgGCRA9TVsSAnZWagAAGFkP/jIeopHkCWHRgyRreGb9\n5gZfFNQ4gTNcKdlbMXUD+6eoZfyBXwiSC6DSkqm9stAQHgDTnNXYmKn6rs36\nJIJjLVDWayf/7Y9nAzf8hijuuLqbZhwCbnUDXkvCkJ5yQTc2xc1wvgjgeFKl\n0Tf+bIjEKGoxyjcc1jxg2J0yhxOyEnZh2L7T8fpb+uZQmpPG9hup7MIPef8w\n80DtFt/FpFU3OXZSRCbw7+kANyA1ab2SNLSlebUvD3P71f5zsix4tz0A4Imw\nY41mcMpOBqkwvJ0cxJm2BPFlt0ow6i20b0X9Ve6kooTZmlt7DLykJwT27zvd\nMacAyMnb+bZ9+/Oc9SoFscEEvZZVOm9B5kzfOvbtJnxrGnaK6IacH68lFtYY\nDjfVZ6LLxMC5d/eIlr8EgBEc/wh9H2Bcb9PpS2vRabHy45NKlwFoyxZZs4ZN\nghfDKiOlfum5DzOXHSEyZWklY+oLr6xnMwk9L0+O5oEGisM9U3MM59k3Z0zj\nmT3Y/s4EhyCSP3wbWDY/RH/PAoEX7KfmDvq3cK64fGbrNYtKMFIRnseRAUtn\nZnly0UTk7Zk+TrNCRHSZlZ93vmCDVi2B1H0HY7bhnBXMx004emwn4WbffkMh\nj/8hD0WLsqUr5p502lkzfjovsI4YVGAsBvuOzm+ls7jXPJEnUzEAiv02LDYP\nYIsL\r\n=S22f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTkDeZ0qRBUx0VsXeeFB680s7KBEFns2q8CSfV64EYqAiBaAr/NT5uyDXyb35uBQmCLnEGqZrJgrPSkHRYw6O4JAA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fe90344d_1536837637456_0.8499109410288159"},"_hasShrinkwrap":false},"0.8.3-alpha.0":{"name":"@crave/farmblocks-dropdown","version":"0.8.3-alpha.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.0.1-alpha.0+a385bf6","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"gitHead":"a385bf6d7fe4191dbf3700dd62bd1ab2f19b0ab6","_resolved":"","_integrity":"","_from":"file:crave-farmblocks-dropdown-0.8.3-alpha.0.tgz","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.8.3-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"dist":{"integrity":"sha512-bwHUwFuXkwsyFb4TcYU2rcPNfoiz3Ud5gzWF2LHLtNSqhny3rAlrxqpjfLrx4GxH9cgLl7Gvz+FFyvV6bJ0SWw==","shasum":"56bfd16bc853e1bc187a6fcd1344b3550427814e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.3-alpha.0.tgz","fileCount":11,"unpackedSize":25903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmkzPCRA9TVsSAnZWagAAhR8P/RsIt9t5xqIbXIluLYcm\nJG/i8JhNe1Xe7bqmkbVIJKuQkEu3xjkNzjfQwKjSpZG4bj0Qlat35OVYntn9\nj0WP2qp9I2r23YcN9LzQ6FJ5JXGCvnM99FrejkKllTrifJnXyvw+czPODzsr\nLR1szBgQcBkZwZzOW2XFzduJ64KdC6V6Z9g3a7Tudqgi0KZX/PgJNIvEkfsF\nRioOJU7fe/6pcPp/sKu9TjmsFc+K+Kua2WYLLh/+y0g0HUAKW1IaDHV+cN28\n577Tk4Owt4zTFrXqz24RCnwVwaA420fO+qdnuTvzssU7ntkeR9eXf7/c83XK\nCNsgpM5CiUMHzs58Zm7awHPb5cVPeRXHHToKFjdIbobgdBDqdgdmEyIcfCLl\nJ1zFc+rlLDECBwkOO4qCKNYEcy2L/BvILVNXbM8xLGj3buRSXNCDmXa12NJ+\nRAWR/knROv2SvydqczhpjRahSFkAlglJtXT2R+ml6sEb3OusWAxMGnC3gTgI\ndTCFkysBBM1egWh0Du5K31vpbwJDC3S8ToFG/NnV6xqH6zRUigJO67DmMqtl\nXkJWyFiTQpglK6HP3iNv87IbTPxbU9JiNzf6u+121L53UhzelEVZTp53xqW9\nRbM32HUNATbzN7NC2ONV7jtKex4QuxMivcoHm7t9q1mysaOedMe4ZkXucmYx\n482o\r\n=o3Ot\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWWfvuAx0Qi2tuwmA/odoEpBL1y29GQ8w3QceAamUb+AiBLlgyHe9x8xCdp/m7zrC1o0r6QPDYogaVUiT7dpLhSeA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.3-alpha.0_1536838863238_0.2775647113297137"},"_hasShrinkwrap":false},"0.8.3-alpha.101":{"name":"@crave/farmblocks-dropdown","version":"0.8.3-alpha.101","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.0.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"gitHead":"826dc128dc3efba30076cb131ecfb0274d591f32","_resolved":"","_integrity":"","_from":"file:crave-farmblocks-dropdown-0.8.3-alpha.101.tgz","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@0.8.3-alpha.101","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"dist":{"integrity":"sha512-TvEJqypezRqCzyVrUt8LSQo283hOmwE7y2MvyXSway60p3I3Q5ReQiyKDCNX3UVcukGhe7lZjwtSzWslkAT47w==","shasum":"20ea45e95dc8c0a8817cefab52f0c6d5e62b4a53","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.3-alpha.101.tgz","fileCount":11,"unpackedSize":25889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbml18CRA9TVsSAnZWagAA128P/2xyG5UMJkTxSNLG7Pq4\nSOgoCBmltW49+xHvV4avCPRBvtloJ0ZUIcVlO5y2lljiJWDLYFG00mvz8Whn\nbaqa/EdxQ/fVFbrTI/fPGEHGqXETksomjpqz0MFoH66unlplRNE4yLhZ5Lec\nXVnWUihsabyQHzukTOkAmFrkEMsoSJACNkmTEBGR1zKdcSxa/G4XC7xf4vqk\nVyt5xPbODnrwpOwb75qKvJ6ABvW7p9UndiUdt4HqAKcqI0zG4LnHUvC9wc65\ngDt93M2xAJrpd4DjPoBEF1CZLkUWYq/a278LfXSzRk9TgNwPkxCH0KSQxcD/\noNqJcPv9L7YZJafsnkLHoGr3x8wy25lmeiMmR2IgGnfzCsTskvoQu0YN4Xng\n9SzyW0A1Q8QpjTWLX4Sp404TmJRAZArTK3vFCervG3tO53NBirq3NFVaEi4t\nXSpurmxr1d6zqKQjDxRUeuocTGw7Ue6rGTUKcxoYHdOUJS/+n+4hbPlGYtI9\nq3bNqDxuglyAynoro8iSvhW88eIT2ek8tH7fuRTm+ow1UCGAdmR8vY8CYEjF\nyu/kwHOd6lGBLBigeNRnCPb+3TJpG8Ok6SW9Tx4xxskK2+xp+QmemRuc+dqs\npKFA8LkajYiGEMo4pWnA6i8BZ6UUMEp+OlvxpmLFwd8GLmkj2Uu/5Bc1Yirk\nGkqr\r\n=G5Wi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/iWmMa2yYaLqtXls+GsUG1aK2if1ZbFjuu+jiKE196AiEAsXTuewQxVlWBieZQrN8vWk/ByB5tb2A1i7J6aJ81UsA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.3-alpha.101_1536843132288_0.4725531288818552"},"_hasShrinkwrap":false},"0.9.0-alpha.6aa76345":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6aa76345","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.6aa76345","@crave/farmblocks-theme":"^1.7.0-alpha.6aa76345","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6aa76345","dist":{"shasum":"51692b14cc3306ae321d1f16228f190904c21337","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6aa76345.tgz","integrity":"sha512-TD/gNHOZJCOAuSX8VsdI9BR359BSSY4vSHV8GrQQz6zEIXoGbLhL0QnW7dz5vbcd+D1fdfoU9udDbBaLT3deBQ==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmmW5CRA9TVsSAnZWagAAHQAP/2OJXRwR+BJthdsNNBg7\nkJWYOwy4E+6dVYw6sXaU+yrqtqdqkALVQ/tiK0bF7MYzM+RO2z6vctKNHS+u\n19wOTca1rQZAm6qj6vTn5JdQL4cc5pNnPixnTqZpJR8LMFEWew0CZNgMjcqK\npV0hmLp7jWrowF8aoAGrxduYU3FWLBflvdZISe5E/WRaU+HELtKoPO34bD32\n9p23RVqM445al7yLTAKUclYawBL9C3QNbrO1a2ESEzFrnej0Fp4Maw1brgjQ\nfq8TPTqbpjQC+m8ZhSMandB4ujTkVwYiR/IN7ULe8BJuOlFt0TEB6bei12Jk\ntkL7TmnCNkAr1f8Gn5Zqu2hdL7dEcmRABkkl1HTI8rDv9YByMtGuYnALQIbw\nUI3hFF0/iEf7itZ3/B+hOzATVe96+i/Hd0fjRBjGo7jqGFgZ8Q1ClgWAS3c5\ncaH0JcqQU3k0RheNTsAqL1+Wy+tvh6kkTQcC5btOxeCS0bn8vmEvP5soUdg2\nyER7A8gx/eq1r0hTV0AGoa+Q227w38EH1WBeaQBcblAXnwGzqWFjmmNfoV31\nE5HafnqryHiliXP4tzTxdfiDFmJXHwD2Haagn5EAZ4a5Sc6xOWO1PQsKW0yL\nUFw+FDSxHpmn+FyZGCpaCcpIv7NsclW7di/FsoYRCQbLlOuYagydg+tfvAUJ\n6h7o\r\n=hn6Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApJjXxsHtLlfH3+2se1T6C0KDhemvY/j+7/3RXe/KUeAiEAjgeh+5tcgvhot+fOgN4KEkZUvTMCH8+875ZHIjSluvc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6aa76345_1536845241109_0.9276492623630423"},"_hasShrinkwrap":false},"0.9.0-alpha.d4208acd":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.d4208acd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.d4208acd","@crave/farmblocks-theme":"^1.7.0-alpha.d4208acd","object.values":"^1.0.4","react-aria-menubutton":"^5.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.d4208acd","dist":{"shasum":"0acac5d147f58410d2481b10751370d1ae705316","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.d4208acd.tgz","integrity":"sha512-DnBEPFaM1ry5zEnFd19mvBd9D6uwl1lYT/TulEzGlSkRfRfNhUe6H6QXXLfqH20VVPW2fhb6Id8TsJgr5ninBw==","fileCount":15,"unpackedSize":26137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmxSCCRA9TVsSAnZWagAA3mMP/ipNnH195raVWHZVFTk0\nkt1xCqmD1hl+7mGZaEDgz4lXNgtfT8S64Y9mf8hmGx4UCrBQtiwuE/DUuzoW\nct5sKVXRw30qjEfJ+IdTQSdvdNHpduzWWqk3mhgIJiSR03Dr/ePBIvcxH3KP\nNahaOsTA1hRKG07a5OpIlm2tmzjGXHibox5VGD4sPA0v0Bdhc+yiWw5ayXUM\nkS7bJt5CgTiY2WLkqdAi3uzAgXHEu51Feu8T307dhaWjFt9d19TsKrvO2Zjv\nUg28sajRheRChu2MqfB73qOQDhJhxGqqcd1M2+qM8OQR334MhlLCaq7wAScn\nENjjmjv4q+YvjZS2+yeA1TkMN7F7oZk+85rueeZ+Zx+JI6DuqR5f35puioqi\nmwOEoE7IpDA76qaspY+wlnaXEPJWHXgtdRRX4VM9HMUlwALZhJZKRTPiRH8B\ngxYUBzuAljRWXiqeKNxbT0lzs1sCjdLADHva2RUIEkG3W7ruaCWk7NOkmBOC\nHckJjtX/zpZbHCqYEeVFpJfdmgGA2+npjDOVi11oSU+BUF2sbcR6p0ELM5/q\nr9DMWWCN47iJd2UDHendPr8jKwVs/Z2DvsAsE17wOH1vlrXzzX2moNXc3GgN\nOMoKX0MXmNY/WLWuEeH9XdPx2kw5nCnXVR+54yL1HR/OipjYTpEYfEpz61wA\n22tJ\r\n=+Nke\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp6yH+dhwtTyYQHmXovR2MqYuw+VMzJOcJVUlAWx4LYwIhAI+qcMtxRHYEiNmLLMcLI9vVWl0hqKyTDFwjN1aFufV0"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.d4208acd_1536889985299_0.1762985409592166"},"_hasShrinkwrap":false},"0.8.3":{"name":"@crave/farmblocks-dropdown","version":"0.8.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.0.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.3","dist":{"shasum":"05a522d10f7cb7c9e3d660d72f71c4d95d6d9f1d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.3.tgz","integrity":"sha512-HTpE5Dz12F0WTHGl0RnJFJkLDiLGWIYPgflT3yCO91LB57Kar1kE+e/nx9o3jD7Y7hLgaupOOH6GxmhKKUUK7Q==","fileCount":15,"unpackedSize":26048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm64RCRA9TVsSAnZWagAAevkP/0BQCWjWxShWnMtiOgvM\npDOTPbyyo6oJmmqjnV30O/psSsFdp/u754MFEsRwvv7/txl4zJF4i2F+viWm\ns8BkDs+GrDnnVCyrXeM1aGlZYFUEdaT3Y5ejVYRt+oHcTQOmg71EtEBbHmbs\nVpkDn7geK2Tad3YOceIqKiyfkDSN8QQViVeKz+bryMRvM1UUPqIbqy/Q2LIJ\nWYWI2Qi5GS7BWNAD/PTH+pBN7R4lIbkV12n78PHOgbcxKkEaKqzJO6q0i1vf\n6IXqeYA6wkAqry0f4Ina4BAK6Tmz0MTqsGldl0BcMlMzhRI4unCvVTqOCRrL\nHSlOsN9cXWG3CR+ggwJ7inADnLuEBDRSB5oWJsG0THUrHQp+Ojdu+UaNqN1j\nNUYcJ5UW84yy1CZrlVAqokk96GYLKZVpA1Tljb2N8IbY33Ij4QWqNt1F2LfE\nZcRancbtwPvHV88b5XHfKab6Qg0XRgMAGc+jsvTRkmDe5XJFI9eJK0iZeyPY\ndz3YxQxHu+tw4VUZJ8tW9YHVULTHTNMqsX4uuCf92sbVBRb+hp1CdJ2t9hte\noa4XELErBy0+3+dIKvkdM3b5OV3sEhnRTbEbyaFoARBJxem6VjmnLfweHNpW\nciHQRyGfIiPNp92qxS2sDdAM8EaB/va7X//8OZyvQKYrWwgiGRX9FV5o7qoa\n20CT\r\n=7/u5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFKD9NtGxmOg2aC6phc0EtKyU/MkixJ13wBkjjeE7V3AiEAvNxk11VutDLRJtroK8ilBA1+jmr7wx/qz1i25F44eeI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.3_1536929296700_0.7602328293532052"},"_hasShrinkwrap":false},"0.9.0-alpha.8902dba1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8902dba1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.8902dba1","@crave/farmblocks-theme":"^1.7.0-alpha.8902dba1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8902dba1","dist":{"shasum":"be4cd30a222bb82a73f8b40581f579b844cf0ec1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8902dba1.tgz","integrity":"sha512-tl+q6MvZMfA0OJ0g56HppKNHYUZ4nbJaj3nSkD0+emKeK7T8OQlvA9XthnX9r6gOMVL13Co8K2ISDUgYyaiNFA==","fileCount":15,"unpackedSize":26003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm+UkCRA9TVsSAnZWagAAt7IP/3Fh85abVnRzXkN0jjrp\nEJku3YI7zVtf6iu0R9koHaOThPqQ9LAYE30shmAd1mXsoSxqr43npKo9XtOT\nPlyBca2BSkUbh4MAtcdAp8M/MddHDxYsI+IuwKB/EZ2Zwi0ZffxQgLVse/jP\n1bTEV/ReiIOk+0Bcry0ATH1XJFi4wv4/VyKI9kLhT4KWkBfdXgAzC+kWHAtP\n4JNH7KJkS+G6Qapp9U14vt3hRhzS6Ph8wf7UyGIrpv8PEj7hJSUTHbNIxn6X\nidBYwK94usvIOKPbHA7qWLPVsm4LgR1GcRIRyqW28YonxOPII/xIIuuU/xZj\n7r9ZT6VzcoZjeT3MO3f8zx5EbgzYSWbVuQw97tg2YHbeSJrqPsE9R6aty6RL\n6hyChQ0c4roflJKBsRMCzNQij+UAvf1AXMPc8r7hqrE1byxlHLP2ZBr+oQdi\nudI/2RR6hHZWx2GH+IDl/CFm5QkVvy8lhvUOD7WttDGGFDFBQlUxSMW2Lq0y\nN5bKQoKj3g4kOBivaRtF/5qL75kupRKzsFu8pBhfAhNJkYLf1kO+oLF15oSj\nJAQgNtnx/wjjj0hTPBQbQ9Gl/kPXJDsziAu8cCIZ8adqPB2DTUPmg3Be3VWt\nwZ64IOnOS9UiWRv/PTGpLY0E7MC4J27TPI8psJFFIEUcXLSXmQuHvznx13v7\npFx3\r\n=wni1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2btGTgyExLGspsYXkleNoHg7+gaHHSyE5suTdJtwBbAiBng10/WlBPeZCf3PQqtJu93cqjO0bwlaonFn0GO7ELYA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8902dba1_1536943396110_0.6081181294518869"},"_hasShrinkwrap":false},"0.9.0-alpha.5d9f5cf3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5d9f5cf3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.5d9f5cf3","@crave/farmblocks-theme":"^1.7.0-alpha.5d9f5cf3","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5d9f5cf3","dist":{"shasum":"7744975436e1431ee4fd1ab1604141e03d59bb72","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5d9f5cf3.tgz","integrity":"sha512-n25k9b7d+2k30NE61oVt2B8LLBNrfheKL/8i7JfhR1ATD9xJTQl8gl/YSmm0aiVeHkr12i2OGJq73IIJjzekqw==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm+eiCRA9TVsSAnZWagAAW9YP+gPHFLgIX0y+ZpvMG7XV\n7mAcVlYcBPjP9O2EQc1EgQFSBMQ5ekQglIXsG9Ob/azkQHtluHAmEjv6gErv\nK2PG9czLvZOshaZdw8xCCSR169xJlRGEjX2VYnfMuH8XmIqckXFSU1rAOuCG\nJRSlqGXfRcezE1WCaRMD93JPHKFNKTrTOwHcILO0m87OYNFlWEYIHRG7g6Jc\nqb0IfmNobuVOoHWw6JQnK+EGbdZOaxhfOdzDjcGwTgkYCSS7H3UbxXVNRNye\nAmOW2U1ItpAlhlQV0y8iiT4BsDoK//qcH0f+/rxJsnJemP7x4nGAL7RUwlIs\nJoJRrB7Nyhne4/eMnqTpJ71ww7nc3g5HUsgcQOlA7R5hTAFQw8iwYeavwwGy\n+UU9vH++aMg52Ab0ZYVcWrUYLQKBDII3/BGmeeT2r51grhyjOa+1zZs32Tg6\nIJFYIVJKSrzRRNXM2Zsn6mjA4k10EV3/urpa1EzK+jn3jQ7HTTwy6DJ2T2Sv\nWAywAkibXjVeyzgpufzsi9CgD0jc+8EKLnhOJSx92L8nsZsY8cy/z4jA8HCD\nyR3P+6XawBZiw4tR7hhTmnI7sFHDYC0fEUoK0JyV1R1JU3F68XOlHENKu1eC\nM4ds0VPU2Bj+HX3RhMRjNuqNy5dlMCBMgPZHVEJVL2SlJe/6+1JDou14gfrN\n4wEj\r\n=d52p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCETpbLWR8NgavPcXMESW60+QGm933SbcRlfoZVIBPkYwIgDNZ3aMfswDcLwY4nmFlPA/garqkOTZQQ+sTVpDSbtSY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5d9f5cf3_1536944032868_0.358390771243432"},"_hasShrinkwrap":false},"0.9.0-alpha.e07c6875":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e07c6875","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.e07c6875","@crave/farmblocks-theme":"^1.7.0-alpha.e07c6875","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e07c6875","dist":{"shasum":"ad5a18036fbe47bde5884a9be1d5145afb735a41","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e07c6875.tgz","integrity":"sha512-62bI1CBRvZ9y6Q1dOAZyt3SXdmA4RshXfJQOQ7AqoIF0cPflGQRRxcwguYszEwzlqSKjhCjl+Jz6GgsP/hkfHg==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn7YDCRA9TVsSAnZWagAARiIP/jHoTp55+RyOyFCQdrYb\n4Nv0zIjgp0E7J3hsMA4yB4XJH6OdOBoVf5jLKv4ojTirfRvi8WEIDeCH5QV+\njqNuWrLNpU6bDjVUS4zdKWbzklSJrLSafQ3veenJTu+BG/mGlKbeaMTjKySb\nmeltDhIoP2VMaXELianI361xNpmCheJVghk+7lCg4Ft7Z0AaVRpqxBHVS7xG\nhpWKtbhQ/eQiX3M16nJigKWTOZKlyojqHSGgNa21OL3+vWCxR7GKTn/zM+GX\nE51HwwUANH+bF3z7BGoGjxL3mOHbzSsczBqNE6FJcZEl71ppw792Fr0T/XsK\n/02BvyzfyzBk4uJGAIdpwKnuSbRtBgRgcpfDz6vnj9BDmdLeVIldshKGs68G\nchcPRC0oGhjgdrlLEzHO10r4EpKFMZnKMqmR0y2gXZ4wk0eOLO5wDigpXQtc\nMIFyiWlE+ND4HcU0IRxBoUQb+/jjTTm6WVE82ftJnnkR26/xPwDWwohWTEQz\n7sCCCRASQ4nJXeawVmmIQDq1Z1TdNXAY4+iz1UgsIQvvG2q3GlcbuEfwkTpr\n67IgVMzH7B0AyOweTUTEkt7iLu/8C1uJcghkj9TgUfbWloGl2m+gF1Hy4iqJ\n/n7f5zFtZh2gO5LoiaMOOMFWNV2H6BiUIFiFiG8veq84GVMv/TUT+ipL5pu3\n5VRi\r\n=RrSW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJTcE06ZwbMe8ytYaoBSIbXdCPIaG+SzPiR7H77hWZJgIgRfeJV1I5iNL360C12S/EZpXlu1rYv9NZtOs4LfWY1FI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e07c6875_1537193474631_0.794875214896531"},"_hasShrinkwrap":false},"0.9.0-alpha.6e0ea6b6":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6e0ea6b6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.6e0ea6b6","@crave/farmblocks-theme":"^1.7.0-alpha.6e0ea6b6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6e0ea6b6","dist":{"shasum":"a84c4d4e6749358ff01e6dd38e64d65d04d85c9a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6e0ea6b6.tgz","integrity":"sha512-b14GWw9X4Wg1EEKqoiXN+XMgoDPK2SVGk/5fp5CHijnj12JdJVWpkInDd659GInpdHDRkvFnOD6wVMujIBSVeg==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn732CRA9TVsSAnZWagAAtj0P/ij44dncuyk+tbU4WiAw\ngRzaFJX5mHH52NxbpB7S4Lb6buIONAisjcNEmp12CYWotGhYljRK5vJm9n6i\nn0rbdU6mq4rjVlWF+XO8OgOPEAbB1vuQpyOpw9LIcSK2ewkmFzsiNgN4Y/I1\nGogA5XsFXPSw4GYqSJAfyK3zQiMzirOepovHOaRan8RdG+wAKoPAH5v4L1Hu\nNYzfunGGLtG2jWS3rLIsW+DubJIHOcboeC4HHpZDH+X1nsb3LFrsVVA6uRCO\npz0Wd+59qjWEe2EWSLKfqPT8j9EL/kQxjCVSNCaEUd1vIchd1IGTfqeS1kLU\n9u69tcxSIgTi77nhvAS1StDgC94SebQwratuytd05ZOORKJX2uxY4AtGtSzm\ngGC/qHT6ShZ5ao5OaN7nSsE7aYDoM1EItDtDfQXsHRs9PPiJqhG7wiU4iZqM\nseHI7XPSn+03pqLaE0dME71fNmh6vy4PtPDttyhrbmILzUrWndrlTlawbjjy\n+28IP8Amm2TZqMeBMEDO0GhYv8HswRqGTgF5B4yLRoMnbAKe7Ux8PZhZKrZX\nrEdSnOmQiOuc1p7h57WjZ9OIkcN05wKfaLJv6QGKIqtM/CHcrHfChqAoion+\nfFB2bg63PBeAkUHqM+JNIN5v0nc6BMJgnHvLkGwwZH4lvrtzaO7qdGbLQ8Ty\n0yIg\r\n=xEzI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoSsf90mSxgPVFvSt0TQu7GUR/PVI9fPLCe1d43w5JkAiA+XRZ/87UeoVND8/zsNVcQx35c4WUZ9u6eZsYwRn7s/Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6e0ea6b6_1537195509861_0.6142357872710269"},"_hasShrinkwrap":false},"0.9.0-alpha.60aaa968":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.60aaa968","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.60aaa968","@crave/farmblocks-theme":"^1.7.0-alpha.60aaa968","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.60aaa968","dist":{"shasum":"6ef66b4fcef38d62a5a8572e5ce36ba20b787811","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.60aaa968.tgz","integrity":"sha512-FTQowcCX2hZ2Xs+fbR7zqJBLDxDmUIy+eHPhKlGrkqiIgN9AzuIa96ypwPdvJ+/NNUDI4YoyRCExWDbytQoRiA==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn8maCRA9TVsSAnZWagAAFTgP/Rl6x+p46uMdTIksn4IU\nE8SEgn11q3iZ5z3UpqX0nJ532h2VL31qxPOWwKUDhbNy2Y+BtQ07OgJucV9x\nXRJ/jC50h/3J9QaxuslwKf7gNONE7zgw2BIlzNGXR+MDHbniVIwRT2rN7nl4\nQrF4AA47/srwwHx4lc9kv0+2hp7eiJyj/oU8gIgJw9yHzBvZWjRoZTp+pL25\n2uYz+wP/gQjVBC86i7MC3rJ2IzZWexIyjBjKqCO5hQ5m8QzUXmS9R5kf91uq\nvDuiZq3l25C/6s4Mtj3XFB2PjozylV8FkovZTuP6djCkvPfHUoKzbn3vX3ut\nGwk9UvfYEvP3C8TbfxstUU4ON4E8cR3QLNewg1o/+BZPUvZx2LraYigWWcqf\n+Q/7kPdbkA8v6iGyM5Fb7Tt9/o8wkGEVNSnyyzeswd4qxeP+k2QhQmCMgsx6\nVJcBs1gEHUdGcuz4nySecgNEn1fj2uL2/ca48FUQmR+V/dFmPbf63lOWoz6H\nPUuIH7ouhvGJznjVuDEI/6tr81cufW0ZaLe2fDDh/lsflTxc2Iw1GRFB1WqP\nrNC2d4sFNLI8tnhmzSUM0RhFWO/ZE/SLiPsC2CU3MbuOl4VFkl9nKosLG+iY\n/pNcAP1Sm841mN+i7SIHuV0wdXZKtRkggcXgnkJUp86XF7PO3MTpgjm7YpNo\nC+sG\r\n=j05O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBp/mLgmUQM4YCgNtfxS8bf9my/sXHN3yk+2V9VyAXhLAiBWY+GvIbutJ4+1lOJdW/P6ic+14XeEQQXDcFNL5ngPwg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.60aaa968_1537198489691_0.8196027749436021"},"_hasShrinkwrap":false},"0.9.0-alpha.211a5123":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.211a5123","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.211a5123","@crave/farmblocks-theme":"^1.7.0-alpha.211a5123","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.211a5123","dist":{"shasum":"2dba4cb7cd9720e98f8f9ed2174e37d90be5d0a9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.211a5123.tgz","integrity":"sha512-PkcWgAsqmGXr9E9mWlWJUxEZ+kNNBhpnTEX/6i19GCje/aZwefJ5O4PjvHVp5qJINg9DUxQ/+6WIkyauRU8TYg==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn+K5CRA9TVsSAnZWagAAe1EP/igUzIlX6n1vaGgiZSo4\ncbYrYRyxWZhyCL88VNAAxwVgOY5ThAZ8Z9+oKS8PYx8pocNH4BnhJPGnHOMD\nznpkQGGL+I9SacMDsRv8iEhdK4n6J8CtakNgINIAZ0kZ+a2IivsFyuulVJCd\nDMRvgaopscQqAc0va4WuvcN7QagpB6x8w/1cvLJ5eyePR+2y5VXqJO9oQU4E\nEzt865WGGR2NwZ3fhP23OZWJoNh208XJc/O4/uK1XDKWrBITWxcaGVeRcLfm\nDgIh3hMXEakYdDCTGx83GlqRI6RxeYQjFqxXEZEZf9Ar/baLaeFLjTIt3qd+\n4VVKyJjWvIa61VUBPxxknvFmA6Toyivx0CxWYP1eawOfan+0Q4l4qj3p4a2B\nj1u2MxR79sc4/Rk1Dl+Ao2hlgt3kjuDCHUji6KuLf+a6qkyGuNy0tKGmGPel\n2EcNobyDcUdc4bzRzyWrOOu4NJ4/vGeUtG4nP69LbOU0hGNEmWMjcrrWxZhB\nvv/8+R3FBVjKXhLNjrI5NPnIsx9ZjF7yn7pkbk2YMuXKHYwIY3mUn4BvlHK/\nFkD1G2RpUlS8aectAWc+TvjVG6y5fZHCbdtPkdojeF4NeRgeCa5Ra9LwiVgT\njetQBOq42TuYTtskpNsu92ebl6Ru09YDKhs9LKI0/d/cE1BXjQlzI0Q+J4qh\nrRnI\r\n=2Znd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBsMv7BhK7O5YiGemVrUemU5Qa66OV1GIpHQqSXLCslAiEA/5SDUIR8P0NEH4ND8XLMx31VrEPUerihnPZg16WwhLU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.211a5123_1537204920727_0.6685323605426596"},"_hasShrinkwrap":false},"0.9.0-alpha.8832807e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8832807e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.8832807e","@crave/farmblocks-theme":"^1.7.0-alpha.8832807e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8832807e","dist":{"shasum":"e2b49443653b0e7cc8f57bb5fdb0118e1714528a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8832807e.tgz","integrity":"sha512-NWUm8894rtzkKvuFubVRtV4uNZG1GCQfGLcsPomjWVPBtojQrUldB5BAiGVxfQ3+lGKq8qzHTFDAyIgFArtmvQ==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn/+JCRA9TVsSAnZWagAA4V0P/3n1TvUzbpjN1Z92Rwqz\nIcTsZyddKMQx6o7tRQQa4LsK/Ch71rJU2I5/Py0mwb/TKp7ZBejO92Cdeqzj\nKdylSmkSi5bDDtYw9PaMU3JmNetDQV7nx0BOa6k8+TXPidWb6LqsZwQAXZke\n2kOH8XoscRNJC6fe780iKkZwxLucgsYYkmzwuont8QB6MoxeWW99lGciUf63\nQFhe/ngqMD2tdaedI113c7YuKa/lZlNKtNzKUoezRz5kADrwzAII8lic1w0Y\nwhqpyiXz2Gb2WuZ9dW/t5e4cMKGNibQfj0soxIlAkTQ/ETtUGcsL+Z4TRSmB\n8PXdf2bWOFhcadunolB2hjCdsIpQZdPVW/JiV5n7S4wqdVrmKLrey4Ri6YPC\nvUBm5NGHNa77thyFNpzewB704jx3b8PIpfL7+4H2KTzWjUuXFpMlSuA1Yo+U\n5VBJsKA2+YUNtZ3MeOsFmAmmLgrmME4Eix+RynTv16DNPT0ULnIbUvxBQZpy\nplr8LysZ0X28VP3sKs8dsL5TA8lf/oe+jAlofT3EdsC8cgFR5TkBHRGiU68I\ngNlfJtU1I7HjBvGXdNnJgv8FsJvZcZDYcRWsv2WdahoQNxQYAiQPupHsal2L\nKlGdQZAKwgF/RKXyNBScGMkPoE6xyRy+R2d/1ZfA+GMbO1Gv1jBARTp/hnpJ\nhNjU\r\n=o1ym\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWRhw9iRT105kY01wFUErRRGbE6bwaq4B+E/OXNYx0rwIgMH6OThuSEx0Y4aWds/bEysdpZDBDXnpQJ92ThSLarMU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8832807e_1537212296549_0.11049183355494208"},"_hasShrinkwrap":false},"0.9.0-alpha.e150336e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e150336e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.e150336e","@crave/farmblocks-theme":"^1.7.0-alpha.e150336e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e150336e","dist":{"shasum":"8f6335d89b664425b8542b726495bef27a708e3d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e150336e.tgz","integrity":"sha512-pwxImKJvYz3HNtVk4dp3zGvGmp+k59+4r5JuHA6CtYbWEx4ts6/S3EIL05OUAhAnTr8y6KqT/9V4K8IPjuid+Q==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboAIPCRA9TVsSAnZWagAAG9YP/ix76Fw4jFnZQvjeMXDp\nhRThCrH4qMs+lGdSOQAQkUoVF5+GSprwPPtB4ioG20IXrPB9tx9hYYakW1gx\nj7JiRF3Mufbs7CA3ez5s/M7FEZuo1O5JJ8mVXRoR0rIMVkIc06myatSyll5J\n0b2lE9X1FiQkihz8wAuijtjS9Fu196RsuBpIe5oxKiuB0VEx/Kpn1NpOOm+Y\nkkkHY9r73FFps8mC9HuvRHhd5zP51Ir1t1qVsd9y+dyQwNuhyOHKmC3sxLQD\nxO5cZsJ9YyyUHrZDZR2UyahGUxDjUQkGRCLQ+C4XAzi/C2GelTYSiJ8j0jV3\nc0q04FxAQAlBs+gxk0gar1oHkYKCvFgXS3mm0xEXoLOtv7N7GygKFfv7RQwg\nKfyw6WnDXy9kg0HhNH7sn8lmvxEmC4FsqyFinMKaiPnjPPWx9k0uk6LCvCQn\n53BzYKgcBuPytq1cboOTz53Jeyejbon5gVBNfmW2eorYdLNB7qZQmcbtLrVL\nEvVpOfqB7lh9I+z/VVFbhIaIw24P5oMxEm5L0kBvPZCJ42cNUMTVYMjwvh0s\ndwFKEmMfhtw9/qgtuu6dpkH9npjYZsgMQbDdjd/CZxz1UWAsW9Gzy2O9Xxg8\n1iX6ywGkejGp8PVv5k5Xiwx1eqUSDUvxUaOaliO+DPpe+aSEvOB16X+p8hHR\nudHC\r\n=HOg8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4TBeJaNZMQqE0fW38zYwUTB3w5UA+m0lZUPJZy6zlNAiEA8glk3xbztlaFtJQRE7XRZPYNavao+6EjfmK68xv82EA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e150336e_1537212942548_0.26736227661295886"},"_hasShrinkwrap":false},"0.9.0-alpha.227dccfa":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.227dccfa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.227dccfa","@crave/farmblocks-theme":"^1.7.0-alpha.227dccfa","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.227dccfa","dist":{"shasum":"b0be86c529533309f5d3bc186fbcf575aca43cdf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.227dccfa.tgz","integrity":"sha512-sCzfTMVyW+KvkgV+6Kxvd6lyOUjASU+Tf2fwWZs09XfvvFTzk40LreRvUSWcQsaORhLZrrc5yyyIGMEArBbgEQ==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboCckCRA9TVsSAnZWagAAOoUQAIIg2/J/xDx+S18tACub\nBi2DCjHQVXPNTbV+kSA/e95gf9Jox1TQjLmv2HCOHNG7Z6G7bt9Mez8/nnIR\nrLoKMGf7fOokdkRN32myK0V0l95OGiUqQseyYWhs3WyLXBXosTfMbTrqhOXr\nw3BQ9+XFcoDAvNaHBV+f7xiW14lx8CAuMS6doh1IeNqC556UiVaSYa3pFTnp\n3M7v8kbUm1oy8Ozp9xUqofKPmMOOV6skSuj5rrEPEbF3feJsmI8lx99F11GW\nTJnbpj5q6embdumbxbt6+dOHN7MbQ1rHA00WgUpgCOfUdMlSzV0TQb9+Jmdv\nbAuRT9wK4MDJyNd6GPa5ighd6Qy5VFtd3Jm698T6nJpDHvUPIbgVjCQjwY2w\nXtjvASy2yGVykqbIf+ooli3YXN85aE+aSBt92evD7HLB5jyOTZyi6FOGCxVC\nMqzQcd/CgBbFobyFF5gjzobZ/Sy5shEzo4v78SmDJr6EjBJfgTRASwPwkAFJ\nhKXWFcze7SeJ9fAUHU7+1tons2HeqjKg5/qxhigFSN1FgUPlR3zHHJ+EK/s2\n3IGpGHFDqnQ/SNjvihSxWuLIIE7vMeBkaGQcBYxRWjLxnI14/J1rz5Rt3uef\ndu9WgracN/68XtUH1hkexZVvNKTkme69xJhpsumyIrDpjkEVrkBdLUFkRq39\ngCrx\r\n=uPGd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIl1+hklRD/+oDk393hxufmPZ0vAPIChHJUiOWezemrAiEA4zlF3R3+gaQgJoYICtRS/0l7xwaF2lG6yIb/kE20FQA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.227dccfa_1537222435734_0.23934253669334726"},"_hasShrinkwrap":false},"0.9.0-alpha.ac0d405e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ac0d405e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.ac0d405e","@crave/farmblocks-theme":"^1.7.0-alpha.ac0d405e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ac0d405e","dist":{"shasum":"58841c90b3e8bb264d3750233cddb513c50f2ec9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ac0d405e.tgz","integrity":"sha512-vIWG+J42rusNWBslCZYv60TjcYugi0BKybniFA5nmvF2/ar8fsvcnMxqpriHJh/tQUSjzKgWOsQ2lsHwRDvF2g==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboKx0CRA9TVsSAnZWagAAIocP/3mK1yiouQnRb31H2wXI\n4t0D9kZvCM/HxUfLBIjDuici+QE3F+gBi0TvtUCSGt5qJp2bPHpwzRxt+KZT\nudNcXLzUoRPuk1m1tRcAwQXsQZONri0BDq5KkDO6HPgkErb0HR4gEP9vefuN\nYkd2Ps7QkOSkfdFCHGe9+2gEpR7hSXynlwKKUs98ZnaKp08XqrYVp4sHyaJm\nvNOC2zy8aWkajPIlnfH8rn3dxgzwXNq9blH0ABz/rss8apIvuF36Cjf0yK4P\nG+JKNhs+l1JiRT5jamrD1LFXmAup8ZLnx1247BZ2yJCm42Ouc8Z6Bhe30A/x\nxjJw+q/ge3vSOtLyu4rliMLed7xytSZQIHA0ab8RWU3/I7czrs6wuaAppPtU\n39IIeOD/qVMQjpwawLuT4n8tVqCBt+hvsiKfk1Wkhub+GoTEEsFxAAjuMSkK\nWEFdBYxTk7m9oMWl9uRs+S9iGVM61VsfmeXmLq+vXCcBZvQkt/Ves8MmI1QZ\nLoXaJZU2R1gYinklND29NNhd1ikF9GXaZ+uzDw1ekQDhgfdHmsKfcnGm/sqn\nMx4OoCZSL+O/GwAjdBL1jAeHH9EUgjSiR+hTU3sN5D1pSnzwrXzH/yyQ5C4M\nBybhrLKkWzaF0Vmcq7l04BnKx3XJIU7MMPL6LodQllfTFdjOvuJCEOiFDRAH\nBpdc\r\n=VZtY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFI9wF6HYtdVeQfLhAf7ix50NwRCQb0hUxcNR+4bLZQWAiEAiDZdf5hH43WpUlqkl3FZknqlFNNJPpiogvRF4DjpJ6U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ac0d405e_1537256563854_0.3892517064770218"},"_hasShrinkwrap":false},"0.9.0-alpha.64a9a753":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.64a9a753","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.64a9a753","@crave/farmblocks-theme":"^1.7.0-alpha.64a9a753","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.64a9a753","dist":{"shasum":"22358573cd251cbf143eb659c6a1666a9551395d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.64a9a753.tgz","integrity":"sha512-487fUMRcimLLmXFDZA+PRn15SLqD32JzUqJinXgPJyx+gjpQd5JCTAItWuSOUzxtqrwNahOjso2zsnYemSoqXQ==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboPaSCRA9TVsSAnZWagAADU8P/RwvaVNm3iP6wjI+eH1k\n7mlBTnczU+5F7li4JNUUj+5VO6jNLkrsQq0j84OsWP/C8rtPQY9bYbGuJnpZ\n+cOClxs45Hh34Eu0hLwLkJPIFvjHHEPckrRJmZ5p278lwfZWedR+h+r1Zk6V\nh7B+NDl4PbsN0Qfp6J5gRa+9ymCoVAdTtK+MZJg7ZZvSrWZ92t0RhvBXRj/r\nZ2Zd44p9gW52D4VEQ2UJL8NLOZvPPKWIk+PAofdSQZLOSRbMQM2LmNhiSxjp\nhZQI1VIdysB2+EhquVWwYzHM3Dp38GpF80uJtjA8MeQ3oxShWuIdMw3KZrk9\ntPnuUbTeqreHoeIEx53gVIyTkbTlx+p0pLsFgvPR76kLWQWV+WVimuREbHzR\naa+GdK7mngYakrprd3CRlcQwN+nHWrMWct+7QymBTrQKTGrFwnWNL19+gGX0\nNiwN9+P7HuEipY4jO1bbF3m4JPSLF0VOcKAEboIIslVGXMop/nb+zL/wQNrN\n1gSiMxOo9VesNTT4ZtVgyKVdii0KZ+8COLoiWKek53YEopskSRvYX4EyWsRI\nyrecxxeJ9elPPE9jv/QDoFuoUMLtpcDJlGfcwjSfSD/Oq9h0zalNwO3jxXsX\nrtEs0dcdAdKDlpjNUz0KWyKJsgtO8eNsxj/9zKH322pRjcFCvMX0zHIYfQnR\nJUI2\r\n=2EPW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe3c7P5DGXNzziQc/zv3/NLF3344vUPmlnrb1/I7uvIQIgF8qnQDpASduO7FHWhI0cBP13OhBJhZsFDg3T2/RLbvE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.64a9a753_1537275537293_0.7152719739000739"},"_hasShrinkwrap":false},"0.9.0-alpha.6728014e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6728014e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.6728014e","@crave/farmblocks-theme":"^1.7.0-alpha.6728014e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6728014e","dist":{"shasum":"743dec042c468c625c2fc77cb1e143a2616ea1bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6728014e.tgz","integrity":"sha512-9y+5Luq72cywllxj4aAPXWMpY5MWb894YH139NFHWAZFJQfgMaRo6M82nl7u3NJBmZUAc1UkFKtZjFLgbh/OhQ==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboS8HCRA9TVsSAnZWagAASf4P/iG0REWPYCUdMQx4tE1L\nzgwBKezTFID0AmqySTDNEE79LCAo+vQww3Z7RCOFlKNp0spP1EC2nxIvmD/1\nLxbczNl02FrwVB8JGURTicoQnq9f4zqT34pxrc8d05xadLjtiKuWnRKeTauR\nmhGghxDTgGrmiab4QgsNPNDPCnEbmze320xXxvCix4/+lsGFLyt2Fl7LPyXa\nKZqYsibXcBjE4TMlHXI0Zaol3XFJftmU7g8eilil3QWoEkjBBi7glHqdPBMP\n9QETet2rvALN/TpKGw+otnWoO1JtghjcVaMIbTr3x4ZacUVebesraXGY8l47\nWACGILmwHz7wPaOqXYPsqs0HlC/FoKrRoK/15LEVC/+XFo27OyK1ttvSI6/s\nvDGIdimfbeqm2m9G3hZHrV5n7q+jUwZ7xTdzD4V7hvQ4N3Z1BNad4ntMNgiH\nONk7TaVp6dfqSwM+mEsLxgZm0zicODSdwpkT0PmWshbO0i1bzlVQyM2mhN2+\nZDSvm746qRGcHumMgZzofq1RQDFPZ7oGLJVFaF7FTdJy9EiPZPG6wmg7puwp\nrEBgcBKqatUVkhZbU1V/77zUk2MNq6Ec23wLNfeLgRTnpjqPsoGrGgXqiymF\nEGbSJhNHI+wKR6jCHRREF1HjrEUwYJdfHNI2k9BPP89sgHQb0v+bVc+HSZXG\nuTjr\r\n=oX/a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8Li3MG5O75/yw/gtil/YacgIzlu4IXkuSIEnzwgL1BAiEA8PQG2NS+H+ZU7FLM24WsLwXWeTXcWAwGBK1Ql+qN6a8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6728014e_1537289990608_0.5633009148654584"},"_hasShrinkwrap":false},"0.9.0-alpha.90bddbe3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.90bddbe3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.90bddbe3","@crave/farmblocks-theme":"^1.7.0-alpha.90bddbe3","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.90bddbe3","dist":{"shasum":"d7ef75241e18f76ef899ca5b6cdad8dc9b281459","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.90bddbe3.tgz","integrity":"sha512-9J7kjBZLQJW0Wu+7L7BjjsjQYIc6y57fMk8TQRLZUGXkUrjrbEPYk7X1Wa0cRkg8Hmr/uYevozqDWIuUBCVxfw==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboUWnCRA9TVsSAnZWagAAHSsP/iosD2wEfT+ULWixZqrM\nvE58oR/kFGgoCWSxkUXo403PKpMtNQZn6/AYO54z5v8fJSh+6z4FFtPSRbkY\nm3IbcDTCNapK+J840XGANjoi/v45yzIA4T5amBWsHuxAK9566eLWkd2GwLUF\nuaTDhIJWv+bFP1yvjLHhGn1wFtQ7X60+nuZuYgmcxEeKFkAQicmxIjAeTUph\nu7ztx8+7aKnThALD8eBlZWz1LLenrchKLoldU5fBN6UVC6mMqdSfkUQZczyi\nlAVYzmy0yyiXrHnF+qta5D33zEkbhC0pQK0y/tzaUuMyEn8zAwadE0+pWreB\nRZXpaVSAloRRzTSjNn2sYkMqquubI+QXVg/9nKaDWUJozH0wdcYP+Fv7GeOb\nrViib/Rh/wYMR6Pn4+EmzooqJ+BGQZWxC0kW8CN690gh/UcOG/J6ZLyW2ZxV\naIjipFn3HkNu3DIj3k3YTGxWVE0FLQ0AtOUBhkUvEhUOQu8b4tOs8KBPlmpd\nkQIzmK1bi8nGp63Qcw+s3xcUn/1Ff+bL7SL89AJtEqirN3zhYhmkWwihu8J6\nqG/u1Amz6fnpwJYIXRoSOAoc6hkt4VjQCTa65QlIQDxqswj4SyFJgLwkPZGS\nmcSdLCMZNvqaVlZQwfvElc207GaVEjApPen7T4AwTJLq5jU45PqgHpdtjsL/\nZd01\r\n=h+O/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkYOWBGogtypgCatGRXQVRwERbS5agDuv/epQWljKwJAiEA0NuXLXajnFsLDO/Z9VvHMNIsmIxG5gbw/aCCHlaO+GI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.90bddbe3_1537295783023_0.257638489577555"},"_hasShrinkwrap":false},"0.9.0-alpha.bbcc1ee1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bbcc1ee1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.bbcc1ee1","@crave/farmblocks-theme":"^1.7.0-alpha.bbcc1ee1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bbcc1ee1","dist":{"shasum":"4c56df2e12d2ef41d99fbc3374150d5daad7a2b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bbcc1ee1.tgz","integrity":"sha512-XxxLiOAd89gpG5mJhHdnXid62RhvL000+Ca5lJ30Vqw9oV1I9+5O3K4kfx7M346LW2tkwNNiRLMSrCUWqGaOYQ==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboVIDCRA9TVsSAnZWagAAUvMP/jLwkRqy/7VRR1y12uAj\nZN7bSS5/egKph/jkEZHtcHv4QyFUbaC3A8xTsko65rg5xFecKIlloSvpV25z\nYatcHB3qmKPJ/DD/MlG5VVcKLV7ZUwGK+JIbHpk5IWa1K0/J9K89/0WW/LZm\nlyl9A+PQHrd036GUqnItf9D1voJXmKtR0hn2KE46F2mnirnTkH1GpMj+G9ji\nJGy6a7pvdyKuRxXVInrLQusxkqKrlIbLWx0dLjQLe6+fnRbS/iR3QlEwGvuW\ntSLYOIKxVL3ULSaTSdAKHVF/3mfmUmPSPJC9+LtYjYn4UVMNjnVqqc1fgDED\n9Zmw+lrywVmb1tVvZULFoG1J3qDLjah8HNb8xqylbJe9CpJVIfA29QuIZJhh\nhaYU3ri9f2vpvtZ2Y8UX86f9gcnaq8Q+ciNGmHCAULkVuO++xYVI3IE52ylv\nurR7tNX5KwR12Y3ECwWKVqfnd1TEuxkU2bU7LvMF0HxwZ3U9fvtOxHcSFK89\ni1EJXMyO51yF0i1ujQZN9dg8h1fTLiledbCbbVjPgcKeX2f5ZdtfTQ1kE/YC\ntmlmVldIURPvlM4TkslGeGxrBb66hr3erEM9dYQMivKNsPykeEW+7+sfHalS\nzx3llO0fpq6q5PNyjYdHZwnLA0Lnr/2K4r72yC4y1IFIHl+e5e5zalMXYzmM\njS5t\r\n=+ZAj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGS8PwXnXmCU4xlaINFLrJpXJFkOL8VkOJf41KUFJF3wAiBifopyQuYFdcI4C5JF4rYWOnUSTC6cjsC+6HTzmKADMQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bbcc1ee1_1537298946568_0.41406302591825295"},"_hasShrinkwrap":false},"0.9.0-alpha.9f432df4":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9f432df4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.9f432df4","@crave/farmblocks-theme":"^1.7.0-alpha.9f432df4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9f432df4","dist":{"shasum":"bd2c93fa98147a917b6e72aaa36c99d695ac1dd0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9f432df4.tgz","integrity":"sha512-qDG41Yf3tpS2oDFet98kL6ML3/9U5I/d7CHkGRx3niZn1tuAs1stZXd0IA3+l5m3xG3kjxZjZSAFh8K5moaxRw==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboVyPCRA9TVsSAnZWagAA8XwP/0zOv6NPcGDGkGKAwGY8\nKDe7MvpMPnGrf427TBM0NgFUSxl6hT7MdAOY8jLzQH+gEUZSSJ/AXneLFSQK\n2uis0GE3931r074WjFxK50Kzz16Zi3+HslDSVpLLRbsm271Pb8gUkbHs/5xD\nnwWZbUyC2Y86sqrrThnP+h/QWH9HlaJezWJG8KHHmO5LVyaiBpklElsE1reB\n0hxSi7tMmzqzadelYOQx5DjuGQ/6KlPc+Kv0JWlyuMZDVP0zcOweOaUjRDjQ\nGqOwnZv/y9bP/o+4qieZeX0ZH0a75O9N8uE5B7N4G8N46cf5dYCTzcdXR6iX\nFOkr6Y+mCdNx53jiuAPb0zU8QdTVSMTBFd+lEODyFihqO4OoPM2qg13yt8V9\nx7OMqiuMKR3Hd9sYyHh8m0E3h86W7ByxlQ3OkBD+Kh4pJF5Qo+EZQdJgABim\ncqRMA3qdLBcapZpnuDXrgGrdeYjdyuO+5iOHbap76dVIfGnuwFCj0RY1KZXo\netHBVTfNt8QDmWSMc83ycoqeIi+SlWEnpyv5SX0ORLLBkX3KPHJTVkGt1Fsj\nwNextNJMT+x9gNpKVkfUNlxFbkhGMI7n7U4iYF/+1Qi+EJcntblkd66D0xkG\n3qaEiqOCnLkl5SRMmrmvb6jp4SXIpvyPZKvUGZ6LCHe5GTpfBhZz78VyZneD\n6sI6\r\n=afWl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb/SqRXGcda26I3gO4EvAPp+bjdITp5ZHSudER+wwN/AIhAJkwuL3U3MxxEX0eJLAONhP7peehn8R/98wwVzoC0aX8"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9f432df4_1537301646685_0.2803905641889093"},"_hasShrinkwrap":false},"0.9.0-alpha.065456dd":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.065456dd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.065456dd","@crave/farmblocks-theme":"^1.7.0-alpha.065456dd","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.065456dd","dist":{"shasum":"c52173ae1a9be197517a9a02c996da99ecfbf7ab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.065456dd.tgz","integrity":"sha512-mt4D/GBvqMxGlrjH5WX9lr2kmI0vmWJBSrJ72K3U5ZpfIH1L9CxlqKA43eS/chV4LIrVdu371Sofspew6hQOlw==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboVyeCRA9TVsSAnZWagAAnb4P/RFwQ5N0k+iqUOzmeuwj\n4Ee9nfTM8riix5PW3SkH3eoidBKX/hx3DmR9aBY+KTnoR8Uwjoomr82Khq7n\n41BOrznk2+Up1F5kADD0UqABE5fzlb+hFl4Ejw3+okHFns/hOtZjGwLrwzXd\nGjNdHvgBaUcQcRG2wrvv06camFDWAuSPXt5oDfLStxAQ6L6HoLq1D50xrkKv\nTdBOoVEEFQsi4nBVT6FTsABz37MbFssw6fe0YHTTtH9cT61osCfZ7WIf3SQW\nc8y/nAdG2G1j/vSA503Z5BNrpetasU13N6dP1WRBpxNDlRKd1Rd9JULDMovj\nHwD5OJZ1l+qalXxRP/qPEOZ8nJy0xrhE9eMvlk/C6Iqy+DNfjSEeMn0NIKy9\nsO/Uq4N6qiftFV8Gcs2xlWjcDVWxDo7s9+sFUYNwnM1CQOt4gNGAUv1eEmM3\npoh5vKDxkXXUmtEZ0Hh7sLgxjfuLVQx3PkRL7+n+FBdsDxfmfrKCibTldLfg\nw7hb/mAREnvSOK4cIKSkhzkS2cRIZo3YbNtqVdyMghAdphoX13D0HaA4yKFQ\nQ9BURStXhq4JmpLWmC5hyK6/Hxwwdmra3vb7f4z850JbsDw51nc5riglI3cL\nc7GwACzGGOkeCgkDNBbrsmpa7vya/u2LHIbF7VBUUTQ3ShEBeCwqA3w4r2E7\ndFRH\r\n=2bYn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNbrlRhx4OByk6Nf1ECN0ip7BB/YwbHK7ElW/Lcl8m+AiBJuyxlYVZCucJO3jZEASYh+tVEXgTOBZ4FVl0bdkxhGg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.065456dd_1537301661489_0.6760876649699048"},"_hasShrinkwrap":false},"0.9.0-alpha.72d25e2a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.72d25e2a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.72d25e2a","@crave/farmblocks-theme":"^1.7.0-alpha.72d25e2a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.72d25e2a","dist":{"shasum":"058fc98e2712c5395056dfa3499fe0fe4744dc53","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.72d25e2a.tgz","integrity":"sha512-Yewx5C+uD46XJ+FYVfioCmoVb2bKMZw3fYovL3XfLYdzLWp+dmBeLtX15JA4ogo8ZYSZtwbiu75oRZlHDQLhMw==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboV70CRA9TVsSAnZWagAAAWMP/AhRLV7MIAZZqTf4LQD3\nqiti9voEnY4PQqo9Be7kXTPnJvpfnV4CUlS2sRWorAIz1hf4EwRM326Zb/Fc\nu9tqwAMVdlBAswpDv+ob/k/o5I6vsO90VjvcgMCX9JLYL7CY8IXwyIeMN0+1\nkX3OE090NL6SqA1AWRR+VZ/JAe1+PcnZpvyJL8UgGqCeItJ9fMQWwCCUL23G\ni5hBIujRRtqlr5UmPuvAIRGvYnEMQNHCGFmIQ9cEL2Odhtb2NhFuqrkwkzi/\nzeChWgU+uuCoOYijBlA92+q3P4NdRkl8CvPQwis3OaSlzTs1yKP45FkSfij1\nAUsCGW5IhgPmr6bBfHswCvaKM817b2Y3OUNr6bIsbl91NmwzV9K2VignvZ3w\nt+cA/cYEtQYI7q1k/UmQGmFcmaBeN4pPI8lS4RB0PnDfksVqmOEUXhXQVRt4\nQAWNNQR1JVfs/r0sMhzmiMfu1SazGhu7ErHxTc/djcQaoMjGBkd/f0ka5FU8\noRo9XS0wRWhw4/Y/v3nRx7N8zazNDuJyVogMvZuJoNdQ1mYsX8eyQgSyH8p+\nauk9MWwbOmfUyIgmpmMW/nSevfG71N49c4PyzVpdfbpvk6d5h0DN/43YmLQA\nd10wR+pBysIpDLLXPuHIix+5wfDQLE3Iqxnrm80WB+ZjOUEecCMutWlL/mb1\nUWks\r\n=/yiJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLnU0XAABReJ10fljyJ2g2w8cXPg5Pvjb5Tw3R9wDROAiEA7Qag/rYLRUbJFhHDJQoMZTFDXTvb3nnOlG1TFN5i7DA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.72d25e2a_1537302260134_0.010617883683840867"},"_hasShrinkwrap":false},"0.9.0-alpha.158b4241":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.158b4241","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0-alpha.158b4241","@crave/farmblocks-theme":"^1.7.0-alpha.158b4241","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.158b4241","dist":{"shasum":"3820872013ed98bd1d49f33505a897d07a76d45b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.158b4241.tgz","integrity":"sha512-YE9541uuUsORLjNV90fLAMC+SaicO1qz+FVpZh0ZDFGyMwPwzMF+7btig8iMtyhK1ZiJv47FYktH0Zresnzcjw==","fileCount":15,"unpackedSize":26371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboWLdCRA9TVsSAnZWagAA4wYQAIbq3l+Eyb0REEzDWmFE\nIoRe60hlSfjJOFkkAXLUNG5UzRDCvNLHwMXMM/JamVpyoYiIF4G2dL13xJV0\nnG5e5qNq9cTy2m3iWJPodeJahDswZS83a5GOxX6UB9OrPFJMjTlcCfVRE/tB\nozQc82oY9TP5erNJ0dnJ4OAcTrDgLn4BuC3puVoZHrC3w/s9D9HsgFN3jKZb\nkfPd55+3ntr23+NslKFm4W9xPHAX4AmTuqmjln5tt4Eff+qqK8Zm+5IDHh+a\nfYTvYdbjD6LI+VTVl60s5OODGkzf6OGtjy1Fw9z4jHirI97pPu/kZ/F8NaBf\n2NCHrlPYrwPHcVGib1SDZuRC50z2vaC0bWAVl0E7G7fUnqmZuapqVkBOLEr7\nWweg/TTaiU6VoQLy8jhJO1+W1zvsPcnqZENaSjxfFnw9mRYq1mxqwaRDWzkW\nJOBYytm5gDV0iv04tdpD0wqplyxITZB4OVeSoj7drQjg51ZNLTSS5c6eSzf7\nNzpt+Luk9cvurhSKFYFrFFD9RDr6fYaRvNupNyQoHHMdTNXa4kFajiQIcIVu\nQnnllr+Be0JYlmaGSMEJf9e9DexHxknwf0MWdMNIsJPCnWHatw8nId6rda/X\ngGFkToiINlvmc/G2gSdWGq6yQ2roR/98Xd5dsY87j7JMpIBRf88fy12ho1g0\nv75a\r\n=oEEj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICH+ps/5x5jb3CYebmNm50B4Fam5VJiyTSpQEffy/ZHrAiEAvphL8uHK5plyHr5letL5AFD/NpWRnYR26e7iKeNGLMo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.158b4241_1537303260694_0.9180639077961765"},"_hasShrinkwrap":false},"0.8.4":{"name":"@crave/farmblocks-dropdown","version":"0.8.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.1.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.4","dist":{"shasum":"24be901585979c0d17de39b8b1e1446b4b9bee6b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.4.tgz","integrity":"sha512-wwrAg6B8V8xoi7kHyrSz+nsm3SicMKFzXuOzALTBPYxfl+c9J+e+s+NjoIAptnyywtvPZ4zqoVGqIuVrUZol+Q==","fileCount":15,"unpackedSize":26282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboWUhCRA9TVsSAnZWagAAoogP/ieip5ILBUgOiCVI9EcL\nwiQMt5hNPY6HZzrJBhQperMxPzeCKRW7JK2kcl/B+J8O/8fwrimc2HTjvZsb\nXHwHOWR+KYIqKRbxP8e05B4GXtpu0Mwld5SAkYrZwtq0UVjawEz090LY8Xb4\nHzNs+j0qLutV6AhBJ7hwKl+PwFZgOE/J35WXbRVDZGtJ3Np4lg7fHdmUJVlb\nTMqpxEPZ7c0HubQM6GRNf6dnrUDZCAokUV04a+P0MUEvWhxd6l8tTZjeTq4L\nO2aEmP9g3mJUfpXGq75LtS/4AsvFwxREusmgc1VSoBhnA6ZjMa8lBVXj9ZbC\nOR5Vnqx3L5NN54g20lfKcWKyRB/V5edcaMPQQAmLD34+zMYVIP91NuxMAkEh\n7r3u8PUGwOm/b3FklmqAtQdgj4xOkH3+JgMKNQdInXnOmUgJPecQRDbFlBpx\nbqCFqJ9CZpnw5RfXxS3nmLag2dECyojzFMH9pHHdA4Uvvze9ktHLgcs6FG2F\nULoW4rF5E6Bkpp+R49kH//mWF3k8HfSKJQL8Ny4DZJ8BSbORTRBT0pcluLGl\nAHu/sMp3bNItcpnXKXU7Y39a/qq0G25agKgR0F8XGu8nraTtPEZQ++0vyEvH\nkMaH3OTS6xNL/5FLxBXcz2rt4CjKaMW6qZrb3XgBuND8Q38rNoIYUB6OnvMM\nF0lE\r\n=6KwL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZzGmI95kOuaBEDjf3FLrn2EgF7p173ohn965PECHr6AIgTT1ZQghQk/PvbIyrtKaCw/NzmRDKQd2cg72OsJecu7M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.4_1537303840341_0.946665044533092"},"_hasShrinkwrap":false},"0.9.0-alpha.0e3b08f4":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0e3b08f4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.0e3b08f4","@crave/farmblocks-theme":"^1.7.0-alpha.0e3b08f4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0e3b08f4","dist":{"shasum":"bd7d30493df6f8215c9359e921d024fb0a865af1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0e3b08f4.tgz","integrity":"sha512-ixP+kxnNnSApBiHdckKl2VoU5OZUVRJ6BFPWvyJi42BKBhOnfy+eHPbzFO1ayB38vQr9xCfPP4igWG5fk8Aitw==","fileCount":15,"unpackedSize":26605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbonsnCRA9TVsSAnZWagAAqzIQAJuXQOZhcccgL0A3ZKwl\nRY4Vsof4gj75iCe1mX5N8z2iBbxAPuppdij1k80LETdIFEFKVyst1vFbHG26\n6RcFCN7TTSqPGmrLQbQ8bXcp0Vpa+F3gyxeuPv28n/GQpp5Niq4wzF2x//UB\nEy9UEKg2WKf8XDNMqpKbOGJhSHg7qMzmMhNdQpZBBBMS/XveDYC++M3eEYlw\nsn6+4TL+1kih5G5jUN6e9IuDJ07ccHWAy7p3cjejM2PyD1JPlBOpM7/Myfkh\nHnM+6AQxOqAX0H2eP5IXLVOJerXsE/WnfkIKrzsaRS4ZVfL4dQeNwvQI5lie\nZX96vlqXVs0og7YlugQzU5YP6+H46ZjktXqW4daB8yNaRPk4Mcq8uMWWS9FN\n9yhElxXVM0eExCEWcXNV4pzRX6gaZjzqUNuvGtyOkXpdYKteGDqrm8uHCumW\nQPH/hvLNntzDjdiqrSb7fXmBgAdyYEkHbY2bZRqsb2AnuFp/LLiGFRjWUDA+\nJXzZoZwcjXfatuzDAqj332bmLdeiiiibG1RDa1gfOPtg92dqnjMHnmHw9r4g\nxkOd1mQEyf4QlTEPWkTb4i5Ky2HyJ+JAXwqGk5Dj3PHQea69hELQrNhS9KAm\n+f+xKujyBDHf0TD++HX7YWMG7pRelgLlBkD4xoT7U/4vmi1MNDLMm32COtjN\n3Myz\r\n=x19k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdIs0tYXn6jYFaiw8wXYos38MOXJ9miJsEFVR0aLBSGAiEAyd7ujk/0VUCCzJC436HW0mpUvxabBkNDgOp9kApYqZU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0e3b08f4_1537375015036_0.09937945719970842"},"_hasShrinkwrap":false},"0.9.0-alpha.80c1f6e4":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.80c1f6e4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.80c1f6e4","@crave/farmblocks-theme":"^1.7.0-alpha.80c1f6e4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.80c1f6e4","dist":{"shasum":"e4239c952500baae65594d66a53cfaaffb3e0017","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.80c1f6e4.tgz","integrity":"sha512-pHbI/k3nvPoL+faIclsbFTQrxZujeFo14mlA8bfLWQ0jr+5ueP4IzFJ8CXnZPYH1C5e3kRFk+LUBVsOjYccf1g==","fileCount":15,"unpackedSize":26605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooCzCRA9TVsSAnZWagAA0pAP/2UaBjseEdU84fOrVSaJ\n3K9ApRm2BFGb3+S/nIQzidUXhJGitfswcvFVp1KjQ0BvGTkge7d7DYUMHlT+\nZfeyoF9UfO2/rn7yXzkq1YV7GGmCSi6AC7G6OYCKk4Yg39gBzlpaj4VLfWvI\nAEYAZexvbcYxCOXRiMvrzUXYqNYasc4idhXJEPYAMOLSkb83v7YAZZigoN2U\ngTeGH1IgPxAm0SIKMlOawg2qLdJf6DGERfakc2rdrKHHMdMX/UaTIxpX0U0Q\nDZbeOhEBhnMUy9RVdzewc1JOiCre4GPhWTb6YUBEl78s2vxoe9ypSyHUNidC\n763hVQb9bhr510aMFaHgmkd5LyOdRtpdW0S9pVfNXkfVRKl88AsZKYQcofXB\npkCDvK9ZJ4tQXAYW7cyB8qPb/G8jd9q9g7R2y9tICpO23isg512TKX4Z/mG9\nDKN5fc7W9chmHbDBWAmO7Es55fc/scV1gchbX+3GZPbSTpYePOzyVolXbCOi\nRnXL4cpGWMvtPmpuDWZGn/atNhvl70HzWwrASWt9brRyOQJLqmRLC+N43Dr7\neAXBiIlkKeKTUp9Xz1hP2tAGQmxpjWaoXfA47mVwq0T3dy35z3BQiIwLurrB\n5+Sh5Jj79dVbQu/SKMUvWYpIRVS/tBWEOgbJE4WXk5r5oxYHUD31Mle9YolN\nXmBU\r\n=2ZDs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMETNCkxnY3BaVFhVdC8adpzUBaOlPnV9Y6X37vXoOwAiEAvqJpBe5yli19Vc8feB5CQcThg5O9KqGklsdI/Si1pM0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.80c1f6e4_1537376435146_0.12840238236062307"},"_hasShrinkwrap":false},"0.9.0-alpha.94718854":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.94718854","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.94718854","@crave/farmblocks-theme":"^1.7.0-alpha.94718854","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.94718854","dist":{"shasum":"d63986ec811a141d8fe05515d2c82f5467cff44b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.94718854.tgz","integrity":"sha512-RpdCdAQbmVCHlgOB/BecgH4y7Du2UjJ23GQ5raq/y+4S9fAKREV9fabZ4DNU2pKi5wTgennbOC0G5AGW0iD8rw==","fileCount":15,"unpackedSize":26691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooPDCRA9TVsSAnZWagAApnsP/1PCtHKllgd9hf382zYH\ndrcB7WNGuyynONJXTkt1Yl0oTUJPwOJkFHgPqPjxf9Wdzxpg7IpxmPm39hgW\nobLFVk5hC2ViV15J21H2TM/yrkbxz6+vWDVUiz/RksFJVlEjFKzrO3doXoVE\nAQo89kCrsj+Ti57FCULkBDHtfZvf+kRWA2MtPIe418pnHYUtQiKG1gCoXiGO\n/Xl7pMatCfo0SIuLFFgVOiqvGs7dHJi6NJwa6bffD7K/zZJXWwmzdxaIKPTZ\neTS1bCkUvHNfCkAzfnsx+eli8dBG53AFu1ZFmJSNftF45lFRGGIK8vbTv3QM\nku+Gr0KlBtOcBjUZeuV/2VNXKSBMlUrDIRPl8Gx3eR5+zmiNmxPEY5hSFGVl\nlfepw04+zUEf1t+TZmJUhSxKVDq4eAS47n2LrhV/PyuLqCJJMNywLkoUAmRu\nAGeNYo1BAVTslblkGEz10WKABFht2E71d9FggNkyXntC8Q3mTX6RpoaSYPSp\nMsRT7jufn9/6y/mhEfJaaWSS4Pt41W0saY+XoDBBpUNvplIqbT6YtEDLNm0K\n3ytRN0T4rKkE83ZegTOACWo+mOTq2c3L7nz3PHaCbcqnvI+YZ/AS0CDhrzGw\nKKNNbB4Mkuz+yw7bvPTv4E1X0Q67HuQRb79M2n4MedHkGEehwJFn3Iuzq6h0\nDwtn\r\n=pslp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOh8/4YR60O2CibZdBFoESwZK7P6RlVPMZe0YoLGDhhAiBg9TqWY8pConrVm4FG5UjJmakaezQJ/KXvCDdkL+QISw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.94718854_1537377218922_0.32256511781736097"},"_hasShrinkwrap":false},"0.9.0-alpha.622effc8":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.622effc8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.622effc8","@crave/farmblocks-theme":"^1.7.0-alpha.622effc8","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.622effc8","dist":{"shasum":"69a9816fc9b4cd83b465ab053edb7b4fef475d4d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.622effc8.tgz","integrity":"sha512-6wgEVAmfIaFrZy32+Xu0ZFPxxhnYqyEaFmuYglgf+S4ojqNaxBdYPTW3CXif5r1aXpeye7hfvBkD5lDXRpy4Cg==","fileCount":15,"unpackedSize":26605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooStCRA9TVsSAnZWagAAamEP/3A/TGHBVahqNSk8haQ9\nKbGl7QLX5Vg2DCwA24nVvvg3L1Y6NEUkk6xcMKRd3mVE5D+LH358gATBHCAp\nDixHlzJ8HwRZmszEMY+BOPnYR63aIkT+lr+1mPc65EVNqiUIOXePDCN2/NFD\nNgRx6x6mcBhNHJoASRInpXYXTAl5ozTR7zaGWkc7x4xsAElvYb7usLHa6clc\nyIHv1Bb2bJNU7Xot3HWQM+bQujeU7OzkC6lfwzfQBVpk/7/xiQRNpSwxjiKk\n9MetfMjz8dgff/jlIQu0fsmblYZsnlsg7ydHWjHUY8ll6wBhH/VD6UMG09Ng\nTnAKKxlejQ6mtx/vcsplKn9tRRgvV3JSxbWbzEmyusHYr3T+DGBbwkezPOEZ\nghJBK4f2bRi24cqq+eVFXyzu9ueAgZfNIcsY3MqPSoFzz8Jhxr1fSSKO07Y3\nLassLeS6dDI9zkaLSSB3QbEk8vvLGq2nu7PbSEtAr9OKIcodSLKaEaO3PIWt\nkgwhr86D+XLdtJfxUIjGb0UE78FPSA/b4mrabAiBIc6F54+TrW0yAxGFEU03\nzhgO9dZNTzkTLdgOrTh4XES45QRZG+NJBESQEt3rABl6/ta72R9ei6ekPjvu\nOgY2/JK8ImLVmxxyaIEttmkGaySbK0KII0PA8q7xMeFfgMiISn5EzzgXKurV\nXl5I\r\n=hxCI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACqAF7dItU7zezmlBq5dPy95Ni4H9N2t7R8fDM+sngtAiBXm/oCU/wEguAiOO0dlRH87dCSO18kahZNKatNZSQvDA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.622effc8_1537377452865_0.2695605613966643"},"_hasShrinkwrap":false},"0.9.0-alpha.c648df42":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c648df42","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.c648df42","@crave/farmblocks-theme":"^1.7.0-alpha.c648df42","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c648df42","dist":{"shasum":"c540bba15060974fe7388689280f4d08ee3750f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c648df42.tgz","integrity":"sha512-w9rSouFbXQnK+Nx8XoBrQxc2GWgwsBNWI4tawbUZ8eVXzvasmpQsorwfSw8pbLEc4NB+Lqefuuf45a+wqqNe8w==","fileCount":15,"unpackedSize":26691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooTYCRA9TVsSAnZWagAAqaIP/A3kWYbBUl7Ozm1zA5yI\n7V+GOwCMiBO5aFdZPqAlwQF7RQbUApTv1W49vooMOOp4dqFo/totmG4OOwC9\ndfrP4p1ULka4KuJFq1IF5A6J+Cy6zaJPGGNwd6lohQWsAOqLL7hswAXfm56G\nNA7H+juuyY3HqW18tv7r3vpAL+Cy9bCDd/8++p8i3o8kKbRBl7UqUIcrI/MV\nLSYSPgB+GsLNWNZ+1jhb2iZ5edvzNy/E0SHvVkPwqa04Ab3VVef6lhDoKwyb\nnjJkAro7xVeeLQzS/hRhnFMxQecTOlqEL09SFp557aljT4Zi6uF5zYorhHdT\nwnYgBI32O+ddN0ASn6vAbOrZFzppiIdwh0Wq4Y1Q3YmxFzMRW2Zg23xIsoM6\nFfDOpvUA9FNG5BcyVEl0gaiHFAY2sd2Q3NEUYvKSkzQbd/Jae5DB/TEqK6D4\nfMXrWOCKadKMjFDMar2w9mH00D7q+y2Ado4lmNJE9mKBCsTrozUzlKczdOML\nZfvpU/os2tjjw5ZP18sj05C6D5nxFfZ/y9fitdAZuShcOAelfIqJl7S9Zb0b\nmrtP8a3MIdUWm92wKNihHekjwlG94dwW2l1gOks9B2NqVu1CaNf70Xd7gdpI\nOZUB66nQVOMctz6nD7NF0+dO51TJmNKseiKiVMJDvTqSXaSbOnX2lEGk3Jb6\nnkUk\r\n=znP/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrdz0wXb56PgVSz7y/jHOF8Sk9uMy/hv3d/S/YY0AIGAiEAvaZYHgVEcXtsTlqbsqw+NwvdJQEslFvx+bqFZf2AoMA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c648df42_1537377495873_0.8854483265424902"},"_hasShrinkwrap":false},"0.8.5":{"name":"@crave/farmblocks-dropdown","version":"0.8.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.1.1","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.5","dist":{"shasum":"43cbc0928cf8f4ac4257f7057ae890e5fb4e6f8e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.5.tgz","integrity":"sha512-6iLfCMQz2xL5yYmsJXA0g38jmcVzsXXwgbNQUo0ubiDdBjqQoAH38tgBb+S7Hu3iz++JxEzTc1+tioTGhjNkIg==","fileCount":15,"unpackedSize":26602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboocJCRA9TVsSAnZWagAAJEMQAIwtuPr1u4g2LcF//0Qw\n6qNyQY40EVdszasIP+1bA7XPBegDEsP0RYFdRdOKgCGO4dQvPexmvci+YaeT\ncZSQM/mlootmEhtdTpyHYgMmWZq0WItEzvGh8rALGN6SH5qwMPcySwmbOLHO\n6jQnC5BlUolT8ED2DpOV3fhnewWXsY3mDbHmeQFWgyCNKLeR4u+PbCt8m2VM\n8F84+E/9Fj5+RSXZBkAaCJR2hRQFrHhBczR/mPsTZfJ6GEB/P8P31TgJovRg\nhm09pYyM3R6WZJuDWUViBdVEagTIBLRzlOUH5DPaaOvJUjAomRdie+pMUu7D\nE+J86+aB7HaBMBmJfn3dkSZAsTsOLoHJLOg5WJaMAPYIVx5/3P9wTZ71sok9\nWFLJ5EKCjvtrVuoAzODCbkEZfc1rju/Z/jfNqTNNbUPVjrQkhUoCsf5nGNRT\nOcNA9foRT0zeujA0x9XNfCVcuf7O/U4scZrOIucZ9O+aRiv2kQ/WTiAKUpVf\nTiE6gxJ9XFDdjLTnwYN4X5DmUQVZhWRAuklM9RLlp9sS4O9R4AwsGnmM//73\nBoE211SXZFlwumdKOzDr7hlT2uFwpqQ6s/vhYEAe/AjtpNc2LRGFengbUeMW\nFTIkdk1HyLYfVzUWAD05sdoG506YF13Nv28uU+rdl0fCrkuIl0U2YLJ8T97s\nyTAd\r\n=ZVoO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiAFP0ncM8jNydFDvrGPm4Wq0ceDxLZhLrscj3DlYsnQIgMnzFH+a77n+voFmrtYlg8Pko9+1+PPNXB/lc33lN9GY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.5_1537378056471_0.5692766010263632"},"_hasShrinkwrap":false},"0.9.0-alpha.e3dd44ac":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e3dd44ac","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.e3dd44ac","@crave/farmblocks-theme":"^1.7.0-alpha.e3dd44ac","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e3dd44ac","dist":{"shasum":"231de962607b97a23856c09e2620e5870e44e04b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e3dd44ac.tgz","integrity":"sha512-P8O286ZlFNlq2eUNMwV4vwj2c8Y4bhGrlwHy6DsUA0GK+dsMxTADcki2nzxNtUQFtUYwtTnwSJEXTuSF3PPH1Q==","fileCount":15,"unpackedSize":26925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbopqWCRA9TVsSAnZWagAAVFoP/0dSTezdNVKPAOWNuxkQ\n2ByRE/bI7noACN5xEsV7Z/g32vG6PPk+LCMJGslpCvpN9IvgUywF31UpjZUW\n+Lw8AufcNdIaZPdgOtJRLGpcjMQ9TZsuVrSjaoTcxw8PkpU3pkBs8ekCTis3\n65FsnZvvOID8b89HGp0+BG0lG1VKWtW+wFLPsEFRa7CUFvIAMgqpBiu3CMkY\nYtvfNJeW3fjwcc3O0QuPAASt6KGSXR/EcclIeagIvMwy3Zc9AOKDKKl8dKsj\nFfxNZJW7YQAj5zm46f8RUDEYqm5KTECdGMxbEbHhsN++86aF9jG+f/odwbAj\nIAOt3gwPItV4vm97Dzcf5Zf+3vm77Ld15vKqxZ2H0DjKUANvCk2LYhkrgjNw\ndaNr+ersqYUedQ0xGSqO90sk5tHbAsPEoJ8t22YINClGNZVVZ3mY2appFVBr\nPKm0CDgdpDSgVE4kFx3ShQ6kLdwdQujr6zD8D5q4wy+H4siy7DubF1tbcb6c\n2ZQrHF8y2RlVP32TLUd21m61eKhaJDhXmRK4OZ9CCxyebZs0gFtk6hdjGetX\n2ujMfJGx0g6z1UM78b8p+na4E/e6Z+AsJ4vqKmeaCMVUfzRXMO/2kjbrBKTx\nE07zkTc4UWNqyT63Bghnjw9BP8FpjqzuvRC4NwrMVSwNfBizMnUAV135KDni\nZS/U\r\n=rBsB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHup/OrzYm93kJ+adYFxlbjtC/QPxzHBrDFFswXB03kEAiEA/Za1VkdgRalYzcrkPvQ/f+CXreiidKKc+d94m0E/diY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e3dd44ac_1537383061781_0.26996451819395406"},"_hasShrinkwrap":false},"0.9.0-alpha.46069564":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.46069564","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.46069564","@crave/farmblocks-theme":"^1.7.0-alpha.46069564","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.46069564","dist":{"shasum":"bd5c8f059560992a5ec820588691e3cb9defcd36","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.46069564.tgz","integrity":"sha512-jOrUwNpR1vwNVASUbLTeXW6h5J0RdebXfvOxvxgOJH/EEzULFevFbcqe3Kh0etgxSOaz+Gviq9XRm3ve6nZC+A==","fileCount":15,"unpackedSize":26925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboqXaCRA9TVsSAnZWagAA2O0P/0ydXm2Wx5xdEYVhMrCT\n64tS6Q6LEx+LazLUvqFziEdMKmn4YrnRacUG7szIMNHxoydXsPv5JRhSZ+2t\nGKRU70mWBQHkAJIO24kLibeOTNzPP7s1ZI3W02rn1gayWRF6Ne9bX9MUZZcw\niBuUR+DDkuspl/lOLd+fxkT0ki8IsBO1xzwl4drWos69ySFzYHzMg0J1xBmG\n0ebvnsdOLwYljf9boJJ1GCNRUAdWR466RAELZqdtXq7euqFrUJXzXUfPufAR\nGI5vL/Fi+byRTvxeGJkqOixXTMD5OXkiIX1s10nizE2B+byErz4BqMQF9VJ9\nKol2hHFzhSdgYLy6AG+KUPOlGABwmaMPxYuUD0Q1Yne3DbyfowXxp/97G9AB\nW1eix4DMMndAMuR/OEYJXvQv42xnjaW7zzL+DDnX9eF+3PlW+9HaC0bfn6gF\n1pyPWb0WxdzLz42wLxTc773aX5Z742SUWyR3e0pPC7fNaaNtVRXyaAkwhLtF\nXLXOYsAL6BffBXJqVZ1mfJHfvs/oFFPBK37UTQYlSyWuM80BL+Mb4nj36iQA\nKGryHSLr6USKq4+MPnrTVPoTdBD0/pRU7Ld/0ie7TtdmvsZ79YkYZCbrGq3w\nvn7lPLVHDukgCzp+sC8nUO36LUnncZmYdYbBRVU27/YCVKsU65MZ7XPD/hks\nSZeA\r\n=mQxJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3BjvWWBtajHdHcLMVN+Ij5Dfl6AF02CLb5TwTHQI0uAiEAoC+I144+kEnQvgLygaGQUC7FlyHAW19ir0qGCNct1Zc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.46069564_1537385945378_0.20059277103312034"},"_hasShrinkwrap":false},"0.9.0-alpha.2df9def6":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2df9def6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.2df9def6","@crave/farmblocks-theme":"^1.7.0-alpha.2df9def6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2df9def6","dist":{"shasum":"ddf14456f2fc61e1f9c259daaec5f2d5da5d05b8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2df9def6.tgz","integrity":"sha512-wVB/uM82TryizXJMVhKF4B+9xrvMUAKVGHsbELsKzX1jzuyO4cFTzp+f/ipUA0YQWdUxtZn2nrGBmt5d+aJh0A==","fileCount":15,"unpackedSize":26925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboqYpCRA9TVsSAnZWagAAFTAP/22beLbZGjjx47EkHven\ntQn+egC/r4zpl7Cbyjzr7GulUSc5VZBxV+TL+RwBBttI6c4Dpt8bMtZrKWyi\n6EYPDlWyuBc86Ar5mb5W2A2qA2v5w5eWrguRKA5smNpK3DDNDA5x2GEO1Cfu\nN9aww/mZr/cyLkCg+fRasj3FRe6AvebkFUAfvxdQixlHb6Iz6IFA0yBqIYgs\nb779lWeRffYemt2OSTPP6n/XuU6vgLmqWqSOSnoyXzMpF09FlXiBEXVbSyRX\nmTJ9xrgOnkhAfik81MaB5vAON1/kcR9tlrQQOmpcFMGShfhLBNrXXku30qHV\n0/r6gBilIF4EDR4Hvkz1xRoqP+MV0ZnNJzIhWLhBkpNN+lGzi1lTkcyANtQT\ngMEFAz2UmQeNC1Yp/gl1L5kG3xYmkCcQ2pfRb3yNF9378EIz3qcdPGsbnQPa\n2z2H0NoqajywoPjDcH+oC/fpgrZIc2EtSsrh/Zs3cUU47YrfGKXeceV9qkOI\n1/eIw6UzgdPRp0dTkKfvxOFOEw0vC5vQrWo+hm09PlmRFROqUwr4NE3HRd1C\nbExTwTbsLI9WtIViyAXDbCuDknP0z8MZ67VzlazJ0R+Unwcvs2oeMXmrhKfb\n2FFXiw13Ke3/5amendv/i8yQWSXt/FI//2dGDs2c0LAd5iBaJdDOF0pbpQD7\nLdzt\r\n=n8OP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoQq/AHEOXFvFvia4Y+AQTBlW3Jtifn51KPFr65KfmGAiApba95W4JFwh/nH9KykEkqB4CD+0J8l0sjWADJZyvMHQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2df9def6_1537386025078_0.5593752538747443"},"_hasShrinkwrap":false},"0.9.0-alpha.ab5b6155":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ab5b6155","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.ab5b6155","@crave/farmblocks-theme":"^1.7.0-alpha.ab5b6155","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ab5b6155","dist":{"shasum":"88291a3266125f29f3d895b87689f1b61e9d2895","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ab5b6155.tgz","integrity":"sha512-cXsCMX95bk5wsdrE/SrOcbQGRoGZW0HBkNZTLIWwi68FWc4fcNRqBMPF8OjLULjjhzd6VrqbCe3ZapOdqxPZOw==","fileCount":15,"unpackedSize":26925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJborQ4CRA9TVsSAnZWagAAPRkP/A17POFsA+ljmi2Leku9\n+bz8p5zjkGXiWktbaCWBnCeqJiNW9VeNz5nG3goZSaaP5QR2chcPfiFQrKhW\nljBVV4fEAG5I1t6WUyZsEQFW1OhxGNS0/dHF0CPBHMAnonKXlz75W4eAXih+\n5/Fj7fyWOR1cXeqVxvbOVKsJNdlEKawQhqn4KrG7NrEPF+5Qqm2oq/DI47A3\n0S4RZvqqSUcI5esNqI27JT4tjW6VQj0w86ZyXZ9X/xAuJfYV0EHywGLdKGgI\nDYjlFjf/MPktBjBpITH2KBQjO8HgL0cIKKVRvYEzEH7QbWt8MXAQ7N5ptHor\nLGB7S87Irwq0VN5ua3SDDAxnzNkT8Q0MMzh91FaL3vu3fNhzDQigCrSWca4k\n2nRn6QoG0x2swFkw3c+zFyiFNVSRsOvUAQXkSMsL0bmE1KkoDM4kZn7Q0K7K\n5zdsnbLyMHHhaL/VrvySP/IXLZImQ8XqdJE0Qeg4Wn33je1/b3FlV38Q2+pU\nNgSlEKAASeZK+85ODfbGs/Wo5IGKQlTKViFn1Wv+Mts7xdPy8IHNufuQMYjE\nxKCg3YS6nOmqBJrUaxfzmJGHCE4+GeV95YWeCjsvD2P4Rg5wYQAT8aYRlTDS\nqyXdNysiXe0T5F9yG06wYe/Iy56cvPX5MWssGKzZtKUtjqhX92hbq0aG1O/k\nPo+h\r\n=8zmq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnp0qxE4V+y30Zy0Oq992iBwOLPiFRnEvM4vOwL4kMCAiEA9aRG2LIaucqkCXPTWIb8/fzdEfgX33HEqMW4SQtM2XQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ab5b6155_1537389623935_0.1060980679928758"},"_hasShrinkwrap":false},"0.9.0-alpha.bec2fd0e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bec2fd0e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.bec2fd0e","@crave/farmblocks-theme":"^1.7.0-alpha.bec2fd0e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bec2fd0e","dist":{"shasum":"5a8af63272a590b44ff5ff089e3d28125c02b78e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bec2fd0e.tgz","integrity":"sha512-QfJxgoXxySCSyGzoL3WjJk+w3WlLPCasuyyXRISn0jRa0DhZn2Gv5/rATvLwqLc/rknNsgtW65nnRhhN3Hwjyw==","fileCount":15,"unpackedSize":26925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbos8MCRA9TVsSAnZWagAAz74P+QCx/a8iRks5sRg5aZGq\nbhi8N3hFaGPHQvjlXqKXq/2kizXSqUtHijRLpNiqs9UtCH8eB5Qiu8RtTw8s\nM3Ohgd0Z9pTf5rqXk3O4ufL+ICdy/6jMV6qwpS5s2Qjymadm4tcvyOvWkRzq\ncVAICNe9mxsOoaycqbVJU72mVT017CoFqnvh/DbqisgH2aqWPTBW8zkiuXXh\n/VFGj+OJK9/503BwF1m1MHRtThsDr/pRWM7bi4NikhaMQrAZWCrziqh0iUry\nFKymkp6pLrDxI3vGgwhwSlAdPZYrSoLlaXqFowSSsry4mdk5s/hMNy5Ie8lf\nw/g/t6y+tDb3dVD5FkDl3n2HaHeSoLL4RxzBm+8VE1HBWM1j6lPCxa5i0Kar\n2oLq/xJCP6R4Gj4SxNjQjwMtKcUsFFuchiqdZf3zPDUnd1urqL8ssUGca3qY\n7J3nkS+5fTUjjE5clEIuUhB85WuULo1pNIJLGePuPQosjWWl+2KofWQ7qS2l\n9one1L5z3Jk5OQAXo4aYLi8gePSmG//CF/BKihygkFfm5FJTKoBIAFEUKNxW\nAR+vXjyY5b6QtVxr/UNhM9TiOK96a1aUKvU5IE0VoEXbWW7bbAvikL3WfqOp\nI+4sMJlmbnMX0D32rZ01CWtgZ0OS8i1P16ox0V5jRfM867JxNRqLW4WUtPxz\ngyqQ\r\n=THLI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDqfoP8CoMd94EkzJswEY1hi3g6S/WFwRTpMQh1VltFAiEAnI5e2+Ci7dZyo4obm6MG75JpYAgK/9gdaBU30wt/8rg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bec2fd0e_1537396491729_0.7515187492145354"},"_hasShrinkwrap":false},"0.8.6":{"name":"@crave/farmblocks-dropdown","version":"0.8.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.6","dist":{"shasum":"5629b517ea6be112347346cad4301cb5f1a137f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.6.tgz","integrity":"sha512-LlXX800VrYvow/z09xHt4d9RtayVWg+ounYoMI+mTdW2tEN6Q9oY4DqOYoRQz15/ivLOIJ6w7ltULw1PjQyDEg==","fileCount":15,"unpackedSize":26836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo5p2CRA9TVsSAnZWagAAXkwP/2EAABwseyf4zNku6kKS\nIYIkjyUZ7Jtms9/pbEOcc+95vyQYA/uto2zmG+XJdQhJZMrWk2C+/h6Ge10t\nM1ag6XEqp2lBPl6ghFftsNpPP/dgy1OgXpUnDNcYyqDdDKAc2gI516cC/yM5\nVknboQVzrBBn+l3pS7LSYh40By1FqBziWKHztIzQ4RSbJwviowXn8z9+sd+n\nFtaH0SNDll9UkYe432gAMtK8u2pJAY+xUisF7D/hZAluAkzYCg64yKjk3CUg\nCm6Ujq0VAJb2XVxhDy1Dimmqu+1N8Xm+vy1iV4J9fOCRypROqKb1ounub/Ol\ngKpo4QJN9nfzsw7RGIQ4IBCvJf/VxYfOnokqkMBpw4b9+OJFfBNIv9ebvbFW\nSIfFf9L52jTNpKyxqVcjSJ1oO2sZ/uvGHIWahofQEcw4HnG5IPxvUOd6UGje\n2VUcL41w8SdCs0Kjgysml446rBSAQgNNoIDukqA7NLIbWnXkQSLcxAy2sZhg\nwrSAiwrGKSNbSJQSxw1IKWQPeRBlOfQT2p6q1c6mbJMHCP7E0gCY7H8so0NI\nWlAetw8hYFqvycpxVA9gcOP2/gRpJfZkaalOc4SeH2cL11gx26w9s+wJE3We\nHZvFEbU9+JY3hPJQJ3zfUzCruI6jhBgiPQ+iATKLt8x3Ny+cwsfdEz6nPStZ\n7uzg\r\n=mCE+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnzYTLEIEXcWd5isRfn/ywWx6dT3wWIRQCF3VwVnaRvAIgElLibiN7l6UIi+5I+lAPDHDg4SUolgPSkgcNv+iRSl0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.6_1537448565907_0.12903041828177053"},"_hasShrinkwrap":false},"0.9.0-alpha.3cf6efe9":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3cf6efe9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.2.0-alpha.3cf6efe9","@crave/farmblocks-theme":"^1.7.0-alpha.3cf6efe9","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3cf6efe9","dist":{"shasum":"9a902dbf175210f7056d9c5c74e1f0f2488b7323","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3cf6efe9.tgz","integrity":"sha512-eu23UEccFdVn9h92rPg8DwzSc4ta4bPpj5AzZ1NAnm93AxJmaXNtyFrvjKfJ4ni9H75jxJozvBqL01kU7nI2Bg==","fileCount":15,"unpackedSize":26925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo5zuCRA9TVsSAnZWagAAU1QP/R0g1xoGzBhjoRlCTT8v\niXI6jLiiPsg1CEbr8zwmEO/6Ru21ronr2xPJI/uJEadmqmTd83YV/WVX9acN\nm1JfQqtRHHsb6j4QHFa4k98oKX2kssceQn+lVcqdHsZHqckP5MLLwfh7gpxM\nPXVKva3umH8U8os+dHzBZPyttquOZkFoEJAOeesCp9W0cv/kkv2HGFszsO9f\n4/F/ThVJ+lsz4/xYi4PM8jGG3I3Yc1qtOgcUL7e5WQ5HVLuZzUSoo5qu4bXe\nNTes08iCXt1d/xDEp1KtM6HMn1IJGSIU9Plo8hKoZJNXrVVRYhdyVn+S8bJe\ncwjVil/KBrOiD6EV7KKJZY35HMwFV58GnhJTlBIQsQ7nq81wcfC3IxwyHbnG\n93sjfSItUNLqEJ4XOJSk+DEwIT9s7S2E+zl5YkUcJjS9dMsByaOm1+bzHYCb\nJy6rZqbDP/3jq++QE0aF+6fbLj7JrzNEwEwucuw5j2ITSxZgaTYIGaWNBPsE\ncHts+2x+6IdqXlP/FPwcM2ui1hDRuZUvCa6qFyxS+siag5KEVK5IsXrwGAfU\nVmUSazX+arxiMh1anFYOlKigbtQLlUFsg3xsIuhPENmihMpSPEMAnyGdwNfL\nl7QjsadB78PKgUbxWluriQ3UgD+9AjSOKAVpi6iEnLa2lbJBLmwX0qr3lW4/\n4qSJ\r\n=4oqa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2VBJ5mFRqqzYM/SahlbO2JiuMRTPwSeg/VZY3r4IN/AiBOajSeM1JUgYjUAXOEu4vB7o2/QpmdhAmfWn1YOPcvmg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3cf6efe9_1537449198030_0.191613464943992"},"_hasShrinkwrap":false},"0.9.0-alpha.95638ad0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.95638ad0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.0-alpha.95638ad0","@crave/farmblocks-theme":"^1.7.0-alpha.95638ad0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.95638ad0","dist":{"shasum":"b16eaa396ddc77fe8f159cc6e59cdbde77d82060","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.95638ad0.tgz","integrity":"sha512-9mpNMHrLgwGblyM3ECdaxMfiIP+75sRbUmWmfVZgMZkmTJNVYsHH1yU29ki2DzuewjHl7oDyza6IQThcpi+h1g==","fileCount":15,"unpackedSize":27159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo51iCRA9TVsSAnZWagAAUroQAJc/mOd7RDyx2iNKxqql\ny8ZocdaDhRiLzJyt1X4YLo9bmcTCfjCzKlFSBgEZkRzFyJAGzv80goznjRH7\nxdkV9T6k1UlUvWSWGhK8YdjK7CgfPsfajiw9YH3sjweN7E7q4Q6EOH8JKunp\n44+JFXhUHUs/QTb6b9dcrQ2+50QYqdy61s0l00qtDvBadUJg0J4Ec6tMof2t\nrLUdkR1rmtS6wHTriN2qFfqek/eq+3cOZu+K+GJA3r02PTUAIC9tQDBNYlK/\nr3KtkJW8+zvyjSMjmVLMznwm9paLHYdlYeytvFMMW7sYa9ueD9o42QvRvG7v\n0NYdUEOSJmo19EIhDm8KG0vV67ZqvmQ089APCeCeZcex2dQru4k9Th2N8eUg\nEU1ydCP0QQuCMUzhZ/sdruVvk/2ta4t5s4yE26lt/CNfepykQpSSIQGGQSBz\ng3AYM5y2Bkn8qDFq6yZrjCnoTLta2SnnHXAKVRXh1FiMfZqLJPgT3QPV9h1t\ngtSssvh0U9xJuGkLR0gwwckZCS16vxJ3gvvzKmP46a7V1wC03qyQvMtjFi9h\nLjgtdOCXJSDPKB3cxa/pEB6ZGEoEattV2V4jlH2BLmrYOo26v9tFx8jueobX\n8YgrW4vY6/gE1Hq6JAoPz3SwRaEfUXDOSyLqnxBQEyj3Az3up8f3kRQnE4M5\nXigG\r\n=lUJ4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF1cff/nsMz9rga1FAqz5R2lOXtAxZYacrPgAJSe+twgIhAKXUOQweetU3lAMbRogibTfXZALcM0C6esoh/dNpdauv"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.95638ad0_1537449313867_0.9865287834158061"},"_hasShrinkwrap":false},"0.9.0-alpha.24783ca3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.24783ca3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.0-alpha.24783ca3","@crave/farmblocks-theme":"^1.7.0-alpha.24783ca3","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.24783ca3","dist":{"shasum":"2a69f0717f69b443d21a89c6ed009c1f918bbfb7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.24783ca3.tgz","integrity":"sha512-zJiE+uHGQnUF+2UK6La4kDq8N+YZfiHQbVW9IJW7pKGFayXfpBdm0ZBZryNsBs56VxMLJITT+uYWjS866SjMww==","fileCount":15,"unpackedSize":27159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo6BXCRA9TVsSAnZWagAACrYP/03ZDn2gunP/Q641ugCk\nWMnnKdffkwYyYx1hzWlUv6ojQ21HIA16ytb3JPurtlfXksm1QXL+qmUYtaK4\nrf88eFHYXybQcchtzs5BXD/Iy3qqye0vqIF/09C9tnqAvCj6twKbI+Jw6tqc\nP+LGT4zkFIuzVeOvaxIqdAXJkEUyG4901DRJQ+BvjmLtDv7cHqHYL8h/Jto8\n4dIAEeuJ1ZuEB6cw9O/ug10OQtC8m7hNQFFI8uCxbRKIyaTHujtb5o/pSeLL\nLIVOwZKniVOZldf0VOKa1fHMry/w/c9zEza6wCBxpyDqNSEcLn1FaOGK1TcZ\n+IdZa6lZ+wO5GDfd2In0SIJV1V1EJgjCg+RctUKH0QEYzk4pYVsrW64aJN/P\nVIGtKsD+sjWhkIgugPNEE5tT3c0elUr/t9uw0QukSKiOo6JVjhA6Uq8QB6aj\n8+PWzUerhtYKXZi6+QXTEcmJM9FSYJHEInqMQR3VLnZmDhtA9+z+VxDTpKAb\nhCBpCS3LYwvJ3eXA2deC57XjjwcdlNznBSfjKquOPYHgJSDI9FVE3Mn6FeS1\n5UkI7H0y3bKXfX14CnwkFlKTEkVnvTo+0RYBxJ+KVRppKFcLVQvw7f2mVwC4\nw/4ZKbcQm+QPjidiIymBgqoJqiJqKEv03XFq0nFniRRRjNA1p7QkxUQIUqUJ\nsbuC\r\n=/D3h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFQV4ueoaebBEq+Nh4mYAasTMfFGM6xljNadgEmaRvKwIgGM9LfhaSSq45sYi1UlFzJpZtl+QV9r4KgiEIGkgBh7w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.24783ca3_1537450070246_0.8251880196568877"},"_hasShrinkwrap":false},"0.8.7":{"name":"@crave/farmblocks-dropdown","version":"0.8.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.7","dist":{"shasum":"b260f890240d5ddf442498c3d5060a3a9980064a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.7.tgz","integrity":"sha512-rCS1j8tS9uNccY5V/Sd5XIvCY1Kgcci5w//jntdQhnM8rKAyXlJiQIlXJ34IdEle/jJ3t8prn+OL5n1XiTUBRg==","fileCount":15,"unpackedSize":27070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo6BnCRA9TVsSAnZWagAA2RcP/1T9fYyeU7+raokkJtFk\nQsojvJ9bEBMlxYbaGSWBb/6/g8CZ8gbEnHYsl/dGUtvVP48X5U+QIxq2tS2T\nq7wxS3Ui5W1Sr7sQaPXjMCEJ5XPtfxHIWDwIVT11RHTSibp+/UQnEPt7ytg5\n4T1cggXnOTZ+IT/tIGk58Ul7bEHqa+q4dFxokHHYTrbqHkchbJ/gCcNnW2XJ\nK8ioccr9fG7Inn3VvkXq5ut4ip3diP7r9V9BJbhjpT8EkZJwBunG7edZp9qB\nTluaNBVGCg2iqwX40F6iRRGQBIUtOu9RfOdUrBPOl1+OQXOf4XTNDBqrmjEO\nCqY97xArZp7GSDrQZC2k7CE2wGP9CKESqRprDU0tQPkVLsSz/zKbGEQtHJh1\nFjTbDpyIBmeNIL1g0GQXO/j44IF08LVmYS0dPfBUBg1c7a7OaGG0KK+u3T65\nm/MqEOE6mNKNsFylldiFiMgqY3cqNR6JAFz8yAMgQmWgxw1di6ico6r9r+3p\nJ+L3P42XYi/SIlFsgJ6Sh2nl2VV5ifdyvCH5S7we2CZFiHcuC092PZcjDzdl\ns5yqB64VYPMVn4GxNEEmiOG3e8+guMCLNOmGD+n7OPabQWPXPVDYJrq8B9v6\nfm+szDjGUuqCTI0sZxkSLIpCUbJ2/OEYLMJshVj6ehl1OJR6lHXq4EPoAbdB\nPkgU\r\n=beqs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmCPKSdvdEIoy5QA6G0u2vrPj5HIe0SMSWs/h6KBeM/AiEA5j9x6bJ+wTcd8yqeC8+el1WkUJFUBrUGLXhyYiSAOZc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.7_1537450086686_0.7669780440331995"},"_hasShrinkwrap":false},"0.9.0-alpha.9c01f451":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9c01f451","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9c01f451","@crave/farmblocks-theme":"^1.7.0-alpha.9c01f451","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9c01f451","dist":{"shasum":"72dc812617954e7392440ec139fce2a1f005433f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9c01f451.tgz","integrity":"sha512-fyuqejIKoxfT5+p4uZPrZGhfxwSII9ap3n7vBU9BBwnSjZo6xMYLvt6v1UI55Qlcn88iQ3nfGFPqAZlNuMdSUA==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo6KCCRA9TVsSAnZWagAANDcQAKL5LCs+VU0lfA1j407m\n32xNyxU0+WUogd0+0Res6I75QGfLzJe7iVuSh4Oh8m0w3qoc1YAfTQJOZY0u\nIREHg9bwPlZpOCy1S6rF6o1PkiguO8sInSxh6tI7wS/2Xu/9DZh5/A0+yBca\niChmEgZov0I9cHarly/wJTX8/xOKBXhl0aliEXFzIolYD3qBKsr4txu0VhEb\nreZvoovIE1DCiOt3aLhzaATm3b+xp4bx/UC46fCPiyexN0F4nXxaSJZgmnLo\nSdSo/DvxAqs7Vam3FZ6R10uOtvdavxlI8ksxFTfVw7P4VP9o5BoQVOR59KWq\nVmP1O2SQYOUGSz5ecTBLeAVsgqz55H+SIWUFlUq0Carwwr7i79TtPw0xARQY\nliO+ukkdPEui+8KXELKCGg+ex9veoIiKeaxRtx6K0cqBQgF+GwSigXzC26UT\n3Euc19D50FniL4ccw+WLXn1AULdpYuOnSlb8Z9ipHoGwlcvMSmOYmSEPx3vD\nrHfcrl4G5D2sqSwAc1/Oeo9yu8RD9jU25CGIz2K8bs5+zo7NhlKRHVvXVJNM\n+mEW2U86UuucZhXsCnLTsfA0cTSsOT1SppOSaj4fYieM0x9xheKZfGyX0wha\n0+2Lhl5Fl0sxtQOlrtCitoxHvIybGEQ2Cf8M5H4Lbbm7ozfPeJq0A9gea5zd\nTC0v\r\n=5Gnw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKnn2ULi2iM1cJRwxe1oOXLtCGtJP1oBRX37MBXrFUPwIhAJZfYKvWNojuzeBN+JxbVizJBFkwR9rbTGZn8Ne8OWJI"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9c01f451_1537450625810_0.002826435820467932"},"_hasShrinkwrap":false},"0.9.0-alpha.92e5355c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.92e5355c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.92e5355c","@crave/farmblocks-theme":"^1.7.0-alpha.92e5355c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.92e5355c","dist":{"shasum":"e7327d3c6717a75c18b59b509169c48df58270e7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.92e5355c.tgz","integrity":"sha512-BzKCPSq3tdVsDvY6LgqQewSPQ+KV/y+4x0DysbyJqgoEs/aiytGzmwAmzvet5Eci8UOMbtvMLRNBOmSgP03Q8Q==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo60ZCRA9TVsSAnZWagAAoJ4P/0ethcnyNBcUknV2yY9Q\nE1pZrgHaNjYaJMnSpJ//4SNvocNsCnIu5a2NHy/WQZkuJHRQ+LvNRSeOCXu+\ny8hbSs+fGu7P7NtXVP+0VRsdgtAJDuk7/zN7HGi1iVHeY2JyXdbsMCcH1zRf\nv1CsRyVhihLbISj4XJKd19wC2BbENEpgvCUc3iaQNuWJSCNuWr4tXTd0lpio\ni5XDvXAf2BuyS1Vg0T/z+QbQpjlbgWtiyfZbNpght8j1D9wtBJfOwOhFQyoL\nhpd50cqhKyqPGeDhi59+TfjUzcuCpWs+nUAiT4xQpp7Ohy576CWV90wxhEH1\napuQhm7WoCiBsMcfSL28q/Bt/3YMre1PiN4C+eBAck4qI1imW7GScz37dcXX\npMBoS4rkqo2SxNN/HK3H0Stz3dYivnM/b2YTj40FJljWxCynrYhJEMiLt/Fb\nkWPM4uFGK/pw4hacgN4/qYcJIGX2lhGWAcwmg7EMPN5Yw6s0ryhR5VQWMfqY\n3CT6hvC5BoIfCMbZZf7101PnwhDky3Ua5reijcJ27wRmswO9ldRFNgUdUxAS\nlksa2cJjk0PJP4oJppL1kG6yVLd/2VB1wubQdvdDiF92sSFBX8CTV/Nw/qhR\n/9duFSPXhiKQel3LJU4J6msHzYgy+rPzQdHtJBWCUutpbWWgxDeo8n2LD3hM\n21Lh\r\n=IfUg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8DkGfG1VVc/vtWq/Sko3hvN9u94HudZCQVpHN0qrkbAiEA7ISspMJZWaCTvu4YLnqxRYdFmlb9kioOzu5N36AESi8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.92e5355c_1537453336965_0.6245032627678677"},"_hasShrinkwrap":false},"0.9.0-alpha.bf051f96":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bf051f96","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.bf051f96","@crave/farmblocks-theme":"^1.7.0-alpha.bf051f96","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bf051f96","dist":{"shasum":"a67bf1e9ef4e5ee8a9a8435a8d1b681764ede11e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bf051f96.tgz","integrity":"sha512-ih/7v+et1wTe95MzAUT9PrBDS3IQW3dyo7HZGlrLRIhVn4BGgAg9TFGG4Zo/1oSXVbKsUp6NbnAS7QgYga4a9w==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo9MBCRA9TVsSAnZWagAAW4kQAIhYq4l5TMS5+74Dz3bd\nfLQM2or0uVLqPfHyJEeEImoZvHjgPUUdG5JE7FGUJfiGP02FX5ZPb2hMUhCO\niPFHRCMlG1VHUN2cRBXb7JXsb8Zd0cG00+O7J5o12Y0FSsLxp5pF5/kxvkor\nUgX1QaqwpoN+ZmwjJ5/MU25CHd6aUHEG0dDQPTr3QALU7Ag/BfmebPYWPjzw\n81B5jVQxhPC5FyR3ZYRX/RphObjkauAAgLbSyRWIOwFQUmB8+TJ0giRgklnI\ni5uHsrTTzeJPUqZlX+lBxsvSYZSLYjuwA8mkBPga8tMcQniU80+wItYlE2wy\nBOk+KL66evxTCVE6evDwVV3dWkQK47Uw9rD7fo/n2Dn0sxU21zQc4q6I/sR7\nFpvSijbCGDd2Xc3xHcdrSP9575Gp7jeMldvfjQG3FedvrUgcWjoMNLx6Da8/\nYmBi5UI/mz7T3fh6yB2yVEgvB67JxKVS4fVVQLr6y6ofoQ+piq+IqFIbMh1T\nuCK+b20g/6SxHaTItIV8q5IMmiSpLyjVuxJrQ9zzA7HgzfBKvnHDXyABbUDJ\nOTFJyfuORGsJmZTrg0SrLFDQorACVrGvuza22svDSmOhO56GwARzjMQdSYhQ\nLH8xHVHMeOGQAdvFZ3JjfiCZxiuPtu+JCpy8bzLUfDu9zFkoFUKBb3/uEhU4\n2ggT\r\n=KKKN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPjdmVuv8uDnV2E5thqEDeuMHeA/3f0LDwsvrG80pYyAiArPXnhwHc0DAlMQzCaFxFc1e2KZh3UaQZozjmezmfioA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bf051f96_1537463040875_0.28007986779331806"},"_hasShrinkwrap":false},"0.9.0-alpha.cd9bb18c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.cd9bb18c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.cd9bb18c","@crave/farmblocks-theme":"^1.7.0-alpha.cd9bb18c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.cd9bb18c","dist":{"shasum":"c0d2104cf4771324ebbd42ea99e13fcbe567ac59","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.cd9bb18c.tgz","integrity":"sha512-4Bvd7RqTajUOc8XwkQVt279J5JeOxG0/jXbhymXp2r5S6EqzTfkMeCHbAkZ1+EZ8YWABzUCFzLh282+sNb+//Q==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo/HcCRA9TVsSAnZWagAAHowP/i4PooEFVboXpk3dNUFT\nsGJ6TxVl2R9wxl24GU03jE2Sh9BEyEu6obyWs8zrGfvf7fIgt80BXQ10V/hm\nymHnADNRuewmazIeqEut1RFIe0gD+QizCnBnb6zjq9r0MYhdA+pzn0sAEaib\n+siMuXoQKaFqP3xvn1GlCgjg3b4yBbhDH+soZvVsLH9EPbg4+CgLtSKBL8IW\n3fTtC+4qBL5KhFqSeTCLecn2b1CcEtSsDEznPEK5ug8CgCVLS5uXH+420oZZ\nEEQ3ZzzxiasMMNIk3JYFRSzjZDfqOV2KsZ/lS/pogNfn6ITlrVMuIIA1BOmj\n/VGqLUyWqtutHOU9uTLveGBBUy6+a4flPgwy3RExDIUBA4ETVleOoawENDow\n2Ob0JXNK/Yx/pDhV29ApuN8Ot+HuVERnGH+/rezEVhHvYZ9K4RrQWrlJbNA4\nlz/L1J8PC9ifALh5Lhs5hr4f9yYfMLi7dyCnIAiFe89f4WE+D0YI4A1YAXZ4\nOWhqxofGEVqyof3L1oQTgMP5KxMNKMHZitzwjm0SKud18zGP+HHVKJmA8JJR\nm/768MoSzgFF2czvA0a2QqkKH56yz8MKNdJdQPG+l/xii2ALwRIdTPK5MY3M\n7Es5RzpIy68ZmMAB/o+SLbw86MCgd82QqfBaAapNO6KkaOLT1dwfhnZM3GzL\n0EjQ\r\n=LtQR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfIsSYIC5OpsQ7q2MP/GLaOjCnSDt/LEWr8yzTNrvyaAiEAsaWZTr22WfoxdliEMN8b2IDvKHp3MWvC5n6fQskoQIA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.cd9bb18c_1537470939776_0.17507650456278534"},"_hasShrinkwrap":false},"0.9.0-alpha.be57b048":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.be57b048","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.be57b048","@crave/farmblocks-theme":"^1.7.0-alpha.be57b048","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.be57b048","dist":{"shasum":"66186ec89a94e05dfb087329ad4f0ca653e6726f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.be57b048.tgz","integrity":"sha512-zPcyhkoMWxaxEquavo9N8BcuW1CDg0y8cj7t05AoebNNIxTmuy9vjWcdFG3YVOFVLkeoxwPTgr/1shFRq0WWzg==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo/S5CRA9TVsSAnZWagAAbAkP/38nxUPkWjh4evsBsZS5\n8g/U4ANNq7ZLpjasR7jdP6TJnrUAELtuLE/tMGSS1azvdQV38QS/91KJwX6A\nKmRAi8Uu/Ppo01gb2VjhaQx8zP55AzDBeHsf+SKBAPfJmgKmVUXAbddyxFFE\nKMjtCg1TXhmYyBF7U9Z9T/iHnUgs2rZmWIM1UrmxCUxeWPg3JJ3j1ykyl2Xw\n1VO+i6SzqsLyqNBSa7v61EZam6ZypvzOVt+jgNPdgVRnX3HcDHFWNfSARYLH\nyECQKjYnoFgjdG0EKLCTYhCBx+Mb24EFm0vO1Y1b9xLAkSpC8dIJza3BuL3F\nzjcUON/IlCZVTezXSEHRuzW0EOqws19ygaLemk7dtChzuifcbA3BtM5g4geC\nJgvFsXBS663lMC1p8tsZc2CcpnGCVjCDAC7Q/F7dO3YffRmDVaMQJ9PzpAew\nXEoaFrcKS/6DrQ6r3Daa7IGKXv+mSQi9XkA7w0wHaYZIG9bDfI3w8Fka3CNb\ntC2IbMg3kpOq3qCtXiv5O4fBz9nNcUaP/1XhC6AAwuICmAKq1bhB2KohSHjX\nr5ERJhME9cX7esgkgdkjB5cd+TIPMrnh7l0nswfP+iHAr0eKV1Hgwc/Bx8v6\nQZcaTAdLDVfsWACBAx8xOrhIyLkqZmgAw7Eq2HbsftD/pz06oPkY8V8jNvGH\n2RRC\r\n=8slO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3dRNIcwitMx26tdtFSF3biSvi7irCnWy1rX7HtzFgcAIhAP58/8Mvt1Ab9nJcniQNj2XQxiavsnEH8RvAzbTYqKDg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.be57b048_1537471672423_0.20991624682759613"},"_hasShrinkwrap":false},"0.9.0-alpha.43c065f3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.43c065f3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.43c065f3","@crave/farmblocks-theme":"^1.7.0-alpha.43c065f3","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.43c065f3","dist":{"shasum":"f5eec83530a9f4185c97e91729e83ee7a64bed15","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.43c065f3.tgz","integrity":"sha512-WNWknPg+wnnoTN7SywkG5SpBXMvue8ghsEj7IBnhE3zh+HPXipdKkVUjZ7pi/Uf4QUS643wIHmHnGqrsTxP6dg==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpJpSCRA9TVsSAnZWagAAPJAP/jSRpUfIXcAISHxp69gn\nl098kM/mSdGojNFlXGqKv/ak2mdy8zJRYL6WjY34CJC9X38gVFIQLIlluMwv\ntKVbLpwEJGUuuFATkacPGOsmhBPt7PZGSRpSHH7TcNFg3e1I6Xk0CPyquU2W\n+jBysg/rgVyL18yADc7Z0ijzJ3yY4piyWKdH/5c4xhMmV0CphaxUvJOXeuXm\nVmSW0tEOAwWazvx1uvzlzM2gSAzde3kfNsb3ZNLwS6IwnSEnGuTNq5UPXvx9\n0KKgGcQvlTGHa4tpPSNn+46Foe9C3grVsJUk9jQ3HV1cDeYzpmWPMVH8kEHy\ns3kPxtdeAlD37AFZyu83MNpLOAas9r7c+RUWEUZcnkWQnKj1JhEp75BO2hwZ\ny7kEYsrFwhYQF4PTzPSTaIKbrjiVGDaiI7MODIhBcZhe4P0Q1XWR8vE00wZ7\nWqDff13FQXqfvQd5EZRl69+VbGk2na9jMrxfSKRla9CdFkCjUvHUebfQIUj1\nlsehq16pbpyMczo6rGUumd1yQMDawHwI1nvYoB1eTCSbdCNpn795xzezR+3m\ne8rbboF8PdBhqAf+dC4m2VCVH7tbB+90F1T5kmM+JjMYKX9Jqorh3NCoX9Se\nZ1p/gAtu8oO3boo0qdj0TZoVC6q2vkqZR03hNVPw4fy5Wjv67NlpyNlhRqX9\nSM5j\r\n=1lUb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8O8lJSbjTk/KSqNg5VZF4ZMPGBvhAqDnyI3J/3Qq6SwIgfnK33c8Nk4r8UxFjh/fI096U9Qdc9Ulph2WkA7dD2/w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.43c065f3_1537514065861_0.6100860073089596"},"_hasShrinkwrap":false},"0.9.0-alpha.8f8356ad":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8f8356ad","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.8f8356ad","@crave/farmblocks-theme":"^1.7.0-alpha.8f8356ad","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8f8356ad","dist":{"shasum":"34d293e063e364ae7ab1b54a1961461fe8102387","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8f8356ad.tgz","integrity":"sha512-btts58+i2LeahhZC2AQn3Q8zmQJHMCulQLCUVBY2BJHdoHeu96Q10FyYGLKfCtwFOF/zFu3U176riF25xpw6KA==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpKVsCRA9TVsSAnZWagAAkJgP/jlxHPsTdE8GnnS0ycrA\ngmHq7jCe73FBryjgqwh7d3GRwDW8p2kYfgLjYIejAjE8we2j+ojcbdngY4C5\nlgpEANQBQ6Z/4bHio6FHQo6r+23K/xGrQ/2F8TWaYMB77PhA3pIrAbxXGyDY\n8vAQM8f3VgIyMWsbxfV0S2W7Ldmz3PtA5mBdaGazwvXcVTn9c0fLRVVqA+5U\nOqZlmlpTr+2MQyhkCnoqQbtKwFkPrFpEdQm7rtF8RJU/zbFUiflmwruZVmbq\neDPEzEj+AvB2j8mSOecR3j3RF3Fhq6IlKP1s7CruVlrB57u43LaCFak2+LTD\ndI9UkGEAhFaz1W7miVY1YGhFeLn6XlEPaXQEHpMSe1VDFA06bvDDZSZ4Wz/c\nZ/cdFKGPsNVIjkSXjYFMXnwQUEflxZCgBBxMELyDM5ezcw62k/ypXkljDr8c\nrr6zE0a4GMeTp0wAXu3VQWIrB8Stc+gZYvgMx2WKXNo7rJBkiY9l+Y02271G\nzQmBLy87wHfZgSnXDYzlD+0uMpF9orYIPzeoz3DTvLkrTb0L5Ypemd5VgdzO\nh6aIJ1scWEMGRljg64GO6139QalDKMevr/EyAPdjINJmXumOSN6v1izzfSxg\nbjkMn4riZCR7QxPWHvMi9EJWYT5B8HXna1RcunrsqX7WP/UzFRp5sW5fYgKK\nnxZt\r\n=XTNG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMeRCP/TVOtv++0WUgVGgWzms0wAllmwEElFglbkIR/AiEAnS1vt2TP1/1U726kKYd5r+Yf8Xlg6QWcjp17gCGO4xo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8f8356ad_1537516907462_0.14820837253079122"},"_hasShrinkwrap":false},"0.9.0-alpha.2663735c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2663735c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.2663735c","@crave/farmblocks-theme":"^1.7.0-alpha.2663735c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2663735c","dist":{"shasum":"9f66b5b0b94b02064d3274b630577d82ceb9dbfc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2663735c.tgz","integrity":"sha512-TWrEnC/D/zz7T4zLQax4UG1zmO10hRrrhLCDlnC6p359541skGqGU9ec6rMB7ip6Is6lJ1xtRyatqYAhFNXzKQ==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpMsVCRA9TVsSAnZWagAAFqMP/iKpqXB+O3Qaa2WbJhiA\nZ2jY891UPBLbmgN9rr2BAHtRDgX6+GcCO+EUyqKXiBxXEuPgC9C2xBCilp9h\nJxfsurGV2KP8Roa7nc3ruFn0tUrsaKv72IYbgzvS61ci9I0HQuyQpc6tbBjU\n2fatEC4yc5jigtlEEDaKDJ94N55hS+qx20pIm4Qp/O5Op9u24++qBnz6rV65\nUWW6slz9x+7QvY1czFocHDMH5TxDe7Y3i672JxDu7IGdAxofpxIVP+KDqLcA\ndDG6DrEMoysVdCSXyc0N99Kt2znoQDDDMwStrU0ArCGAN31VcIdSmXHTv1hw\nmhEEKvcm9yW7sINJtfBrX8ngo2995lsycancLTzHR/wX61jUdJBcBA0h+8AN\nQnWfhWR1/h844MHxiRFBO/sjM85fGiSucskEfEJe155kOGvqrXjhpEeYCZKS\n8uSZSSH77umVSelxurisyzwtzAfJoYLL/2OBTSgWaRfXpPmawy9E5+dbYDX2\nEjIWFvTKHlBgp+ZA7HxYDh7+H6NNjRiwhkSRDnaflBY/ricbIGtfainlBJkD\nujE6YoStewzJ8RzR/orHAhwlGNEsxaUuDv6Z43S0DrDRDlA5hCefL+nCfD5y\nsmBtRiRLgq91chBqfd51hODIqk+DHMLTwVSNns9NLxy2PS/HUZKqWBQ7I3F8\nuvco\r\n=ts3k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC52maonWmsOtvWliRjbORygv85QIJO68uWuc8tsCXoJAIgZ8O5mhZ5VeDotCLFG9gN7JEOQajYCINWrfBTuLNbNEs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2663735c_1537526548455_0.816972770648126"},"_hasShrinkwrap":false},"0.9.0-alpha.9cf256bc":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9cf256bc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9cf256bc","@crave/farmblocks-theme":"^1.7.0-alpha.9cf256bc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9cf256bc","dist":{"shasum":"62f18461b84e19bd9886d0b1d77897c2378dcfe2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9cf256bc.tgz","integrity":"sha512-BeRjO25qA8/LLIzEOgu3Ictg+iCXcYd6FWEtY6Odhtp+g1WrjvJlKSQA71qupC1cy/2cd1nc7fVaz/p8Nr8PWg==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpQnCCRA9TVsSAnZWagAA8HkP/R+EioQc7Wkdc18nPrt0\nvgoRVAHYAvI4iNigDndZEc54/WTGpPOE5jSgBVz1BI7nvd1GHVs2YOHe+/mi\nNfKo1K2qWRiZ5dPqPCSQnlJBGbf5bFdqcLoq5JW6UYmKt28HuP4iIYnxiMgr\n8xeq9hqx/lAKe2+iGy7I8EwYoA7O+1uQX4qmsWk5/BGXGAgPQcC+bEr96oFt\nMLdyyJ7nLZFA2/QyDALtHVHlE33YzIkZ5BK1pYU+KP40fiqfP1OVnEYpyH0D\nyg476wXYGwIPdpksthfCH4nN5dVBBL8jmwGpaJIhax4rluKAkMHulZh4KYBY\nc2TOnNZx7OEdBA0oEBtGeBzXbubf3jLkGwbz8WvfL3kRA+JUyYWAsFRMChjQ\nSQHfXk4eMfG5rOKiJ0QSCfT0Ck20I8IAuabLXVNUP6URN4T/5++HLlYCpy8g\nRqX49qnSr9rUAPl+lScFZHi+s2Yun8POl+q/3XxZk9Y+f53dqQfJIpBHd5xu\n8WQI1pWK0SVd3bdDq5+ug3CrP1bADzcKCtIrRJvYMU17/G/Uu1G00zvEAMNN\nLY7Bs1rP8/iBZ70lMEgDOVv+bG6xkbpCLte89pFtQoqDg5lUC3atZ7vKBljJ\nV7lt7dN+un5wSlWlYxCA0C+XoA+KBm6CF8dUw/sJK20a+UewVZyXA0Pd4h4y\nTUOt\r\n=U54J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDJOFDRdWqNJ1ej8U7Fnea0UdA2lo0UR77wX4z/uxh2AiEA4Mm/iuc0FaFJClQkMknhsU94h0eJUqt5oVLAXlZPA38="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9cf256bc_1537542593687_0.6404551448173477"},"_hasShrinkwrap":false},"0.9.0-alpha.ac49b8ee":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ac49b8ee","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ac49b8ee","@crave/farmblocks-theme":"^1.7.0-alpha.ac49b8ee","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ac49b8ee","dist":{"shasum":"286f831254f65d9328cb2b643160d5015eec87f0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ac49b8ee.tgz","integrity":"sha512-bH1ARfFygYMIaIEPXqLh1gxewoAYNR0FOQjYgD+T3OuPWQs2l1v02QmE4HwjYZAsmNuWIAMlso3fTm8JPfcA/g==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbphmOCRA9TVsSAnZWagAAK6QP/i7wJ43WDw0PHlvXL1IS\n/Cj/l+ofxkQh6Z8LYfykCSMARmyh7PQF/Sy0p4YLqP6UOezoOErPwtlT1u6A\nKjAqTtVnF7COxhXv8XpnKpBNC0YIl7BhVoXu7OINQhy0gjTv5tHChqLiszG1\n+123TUjfrvNBXJCAstAJTGXsyuwlztvidxpUZ9+nrMrHbb4fgPRa614kchFa\nLovP0xh0GYPkUSlXiT711SXufy4SMfwD8j+gz2DNl07rHUGlIVRKqGaqHWfs\nuBSy3DhQePVX7bPFSnooVkXQ90rJst/Z+lMFYPpe516q1ISJNb4fc4LwLlyd\nSrVmQSiLRJj1xGbhgXbixDCvN9qn4oqYHpRVYdm985tWOr+P1Jgv89Sf/K8B\nINYyKOgv8yv+g8gMsImIRWYGmsVh9jYAuIvDnn1jVwCZSXoQtdu1lYNabnJN\nYujmmkCXAw8zz7m1cjgGtIHeFHfjDca+u3URSw16gOyxM2jBw/5gvMiydWxC\nCjyl/DiUvKuA+YZ+Jc384HYysJkOv8vdGFh1b6/c8kWMIxh7mixz8NZqQgzZ\nbvuFidF//76ZB8WZs10T2mSz5AkpGZdgEWXImWfcMtCmreNww9qg/uP8raJz\nLhY5upkwSO3E1vPHJTPj3L9dhKQKHijSsYPEMQ8JHyANiR0UFKR4t5k8q0gp\nBPjz\r\n=Hbv4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsGHOnq2AUSgyRzbck+O/qNeaGEJQ4X0qteht0SUTgRAiEAqGZ1dvmgheVd+mMK0mnA1CGQM087EjmAzko4YRG0d88="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ac49b8ee_1537612174039_0.3299766970036455"},"_hasShrinkwrap":false},"0.9.0-alpha.e74f7f42":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e74f7f42","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.e74f7f42","@crave/farmblocks-theme":"^1.7.0-alpha.e74f7f42","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e74f7f42","dist":{"shasum":"a5fe51f8fdf84f3d569bcde741d0d1dd1fd15060","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e74f7f42.tgz","integrity":"sha512-3x4jTMSHk4qcz+DgdZ9WbJo9mqsVjO88aqrVyPwZemvX7fW1fBWIwuqnev2mwNtpVNTDWrE7YAyHOYx9yfXPOg==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpnmVCRA9TVsSAnZWagAABpwP/AsLWLTfxHrnme/LaOV9\nbRVd1tZbEmeUS7q2RQHgyRccaAZO6dpB9JDR0ISKO5/jQi7ArUSndN5V3BFu\nIiYCi55jAsHxo3Q5a+ZOhmUBEEtJP/fzehyPfyNWLDDdRs11Qsx4VaA+TULY\njVARA/9r6CBxGSknb5Aho7pz+hrSrga0U8elmbfMKA+Uqn/POYBU8BRsw6T/\nKi1rBkpGbnnby0L6hrBeMC9RtGe5U+tFYLauUGOlWmufdkmjFvb+CZjemh1f\nxfdjmadxphotCwrC6U6Ek9+/VFMBMRevDLFe1+itcm4Dlf7xMsBah27zd6Qc\nWLtjwIbxPuPkc3ajgOsDFVONwXBxq1QTYN/KG1urycbPxFcTYGVIrK+waFzn\nm1PPfVB2wquJDtGK6EC8aVAtP/DGr7yCK/7my7qKN6baVUYvryb6qHoq9tDG\nAC53ltFCF3++MJbMuEHBglAIbcvUmluUcMrbqGLgaU1TgbsmFX12suXbo89e\nm0j6eH/CRE+W9OtQ9QEi/Bp4u+hGxhmmHVMV6NVZh5AiXrK8N/Ust8uhAs/G\n3UHqFkFHX6NEdA8aMkSWVDoLGmRWLN89bdzeo6SPoo35hAFf3znKWCewKxKR\nagZ95y1ozSJzFzn4CwKwHRxIJjn4PZ1ouoWcSsajowp46v5Bb62I6Vsm0Ig5\na96W\r\n=0z5W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvcSQPc3x/DZe9IaPkTMzU64YWEdkiDYLJTHKS2AXFMwIhAK2tmQWpg+eF5mq5XiDUjJsSozjoVqD6WeijZwFKpFiW"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e74f7f42_1537636756392_0.02581357727598932"},"_hasShrinkwrap":false},"0.9.0-alpha.9b4bf866":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9b4bf866","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9b4bf866","@crave/farmblocks-theme":"^1.7.0-alpha.9b4bf866","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9b4bf866","dist":{"shasum":"80487053fb830b9afd97e55863197946cd0493d2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9b4bf866.tgz","integrity":"sha512-Hr9hXmCNKTnT0ACVbc9nWSTQkWr5dlgY0Urrv8qRQ2s7B8VoESGdbJmRlBhb9Gz/OGLMD6KSS32v/Mxg1j2lxw==","fileCount":15,"unpackedSize":27393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqQ7nCRA9TVsSAnZWagAAl4gP/i35AEtHd0L9XC4ZztPv\n3Grg2jGrDnuzydhJlpwerYFLdIAioXqCtxFZyp0MRnE9iMwTulhSM8sZ+anX\noETS7sAhVor4Zqx2Wyh1+sdCG/g8ixLCYRHRC8qhij2NGSQIxUrmV0my1v+S\n4zVJXNWBJjGiMrSH2I4A1s8AXnGXdp/hp2G76B1uTnnU1NclVPzqEY++mBlf\nxvTFoSR01YMu/LOqmiejwRG7OPESoqqnfl69DpOrWcdR2sLE5JDqBP5oaM3Q\naKNTBv3K8xDU7+kKIOZypyTXzO+hD9LkHxPK6RCQdCkr5pSeRSIlq4dVF655\nhQZqn3T7O0YkHsUyKRRywAHBgqpmfroqZmY/HJiX1m7RvUF0wefDDRzD0VuK\nShVgwcscxGbwC8Ry5k1UHZ66S/xN7w6L5X/LxhfFOHPCGD9ApFLB3Jmax27k\nsWREkQpI9ly3FRgKyKxa8iKhB9ZtnHjSxvK9NSB7FKsLS0Th1OObYf36dO2S\n47TsZQYJnb2H2A40q2zoi2k1MCLefURORicdMQExIX+YKTJHVuctUw/b/7l0\nPPz/Vp1Z90EGvrA3DntdFG8Q336tfdUPPlRuZQSIVtFDzPGZSb4IVv4rMOnQ\nAxwaCvAPHsKxKB9VYWxbd7LUhDOM6HJMSFRjdu1OXUdt1pBEF+1LZN56SHsz\nTCuu\r\n=1cRD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApwYukqLEapiVR+wnoTOiMvaOfMBm9fvIXyfpgxhn/sAiAJEkcY5jsyekQapwsj31fepHnol9WWCx/UFIu99zJO4Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9b4bf866_1537806055024_0.16563651557246684"},"_hasShrinkwrap":false},"0.8.8":{"name":"@crave/farmblocks-dropdown","version":"0.8.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.1","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.8","dist":{"shasum":"9774c55ef98dea8383ea443d4725be6fd1d5d361","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.8.tgz","integrity":"sha512-y6dCCPs5TEXPRYriuwEOgsafOdulw7j+X9zPt850Bvt9y+GMi3xw8SVxF+JKWCfVmnKWTL0uDO/Qbeihw4nY3A==","fileCount":15,"unpackedSize":27304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqR3XCRA9TVsSAnZWagAAuwoQAIAd1K97jPZQuPAZdeO7\nG7/VN8JtvOAObR1BP+lYKmKb3Xbg9/Bl8BOW6OxpYtEfnoVenSJYzTisMpmY\nX/R7RIs3FZkZYwlqLmNQ/YkiMf7Y58spDn1GGp1otirw03hKxZU2/Kv72e2V\nWoHMe8sc0l1o2o3xrSE4FGucFcxFPBV9e73GrZqd63BRmX8PVRilQGZ8rhjY\nxJey4KfU1PEX2cw8Gf+LFadRrLBF0RyOU+YuGTyHFOa0dgW9G+6hdVV7LoAW\neLRIgX9VipMD57byuRstapnNjVu7smgh+uVIPt6bKbbUyFIg3cjKEu5+zohk\n0LT5Gxf6yR+VDVeXNfN502fY2pHd1Z5fjUYbwEA0a/3ZO9Naf9OA3PCMbojX\ncmKV8HCDlO5Y+70mRRmDz/TA0/fmjCnkLr8t7gulWFUenDD+33K1ipWL6hFj\nFpc8e2ohPaN7hk+XIPKk9BB7iQviNeqbr0Qvp5R8vEaYYKFPVDqzqBvEFvrN\nHZ0Of894u0Z/sWEuRv/rWu7K/Tv56V/IGpvissgvf1RKRuwdo5XHpv5kdX14\nbvD9d/HIZQFCmeYTGU2RiKFoHt2PAxXJCRQL4hIf5HrXycGnUoXtrBfecFPz\nl67W62K/D84oPI0SuoZHF1ogTtdjTWgJXJobGQFle/a870v1OHZqTBRHwF3u\nePQA\r\n=OjVQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDb7uKld3iKJbXdI7KTqiUtcvwNzNa9UqVlvKaRcdeoAIhALiUqO6Hp5WfBk/AiBaYyRuB9lNRTRJftDsJarC74GZg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.8_1537809878424_0.5704882399146036"},"_hasShrinkwrap":false},"0.9.0-alpha.e3d6e0ff":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e3d6e0ff","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.e3d6e0ff","@crave/farmblocks-theme":"^1.7.0-alpha.e3d6e0ff","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e3d6e0ff","dist":{"shasum":"396a9a6d6d79a6443f4b1decf54635023ce7ec86","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e3d6e0ff.tgz","integrity":"sha512-QkzfFqzCWiZrULyb6BboVrFlSH8cFnHxx2gGRiqjSc0EBPX2Gqu6VegSSe1pgC5vDqCpcJAumSccwXNcCdJ4Cw==","fileCount":15,"unpackedSize":27627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqiurCRA9TVsSAnZWagAAXD0P/iHNxo41aIFYK4lEMlPh\nVnEpripQn9+WGyhYJsFeLDHoWzmdLeXbzcaIHcsDrSTlUaRWjq7tYv4ErjUw\nHyWG1zyv0QjtHVuc+3afLH1rOKn7VWtnqZ8m7OH7H+DfA4YVRkr83hXTlpFJ\nx2HsaXcOKQTXOCnw90mHXBbCwIKD6dLJuEyasiDDyyKtP2FcB43jRspnb2qU\nDKYIWfK4gb/MXY0g6tLoetooQhTcm59TJFiqx1vMYJ8Z3HZNksTPFm6Q67Pt\nTMBBhEA2Vn5DrE9lSBRJt/fc9by85eRGovYfnh5IqRKa/geASpdGkGCZo5SI\nf39oPYy0l2AiqQIC+OdMO/nZARYwtGILhKudEMJiEEht6JszzhIe8L2X/3vL\nm8wXLWnqJd8/PhwLXQmUW7J0inGtmEtcfR246kMwiqyA2Xalx5SD45uO03AG\njGck2xAGrk5MnUluQRROg/6SppI/qx0wUb/4oTeV3teWIUOMBr3keOS+tUsb\nNDLzBz2R9Li9p5Z0xHacJf8gRhA7wDSEEgY74zY83JCEs/mCwF9po1jZReGg\nlrLP9wbKQ6QTtwZunpOWpN6uQffPxpBvk3DoIX2mE1gAlZQ6GoysCSAmiBsc\nVZsBmHtThUa2dR8XwbTy34M3l7ZLt6e3D2gYN/+QK9GmPUYODwGOMZqM/+jn\na7Nx\r\n=cHTG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZFo4hVvgekVluQZNOEZmgtCvNeKS2vprVDuoj1WNTPAiAZVeNDDIGpCmFSmHHPe1zX96GZCqN2PCIzVMESXl3AwA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e3d6e0ff_1537878954509_0.8066260381594705"},"_hasShrinkwrap":false},"0.9.0-alpha.5e8d38fb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.5e8d38fb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.5e8d38fb","@crave/farmblocks-theme":"^1.7.0-alpha.5e8d38fb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.5e8d38fb","dist":{"shasum":"029c0c5bfd5d081761266ad92a0500b58eaa069c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.5e8d38fb.tgz","integrity":"sha512-56ch/9Xhel+4aenZv5flsCgALQYYPwCx9wGzdyYpAm5LbaWMxdeeCUf3a5V7Oyy+r+1xmuvTn+cU5pauVUNjzQ==","fileCount":15,"unpackedSize":27627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqjm9CRA9TVsSAnZWagAADPEP/1BoknnzbFGVQ5Teimrf\nmhIa4LA5A1JxI+Q8YgIY2N26B+1rWk/6OPQNP6qRW7owBIFIQVLhlOOZafKj\nqcaMQ7WOgFvVV0HzFwBO02J5LduYzVhOzFmM96nysbQcujkRiVBz193L6Fk1\n+fjDIgJX4tlb+AdG6lhFmSbX1rqI8jSu1sp3b9cWR/A7wbAlsYlO4fJVzdWi\n0P8xYFjHDlytNdK63pL9lnKOU//6Pj3mUic8MAaMto3qdzaoY5fQxSQ+tqiJ\neJLKowFoxyovE2ec3wsTYuL7AjfRb7SqGnIPzxawaWnI2QM9z8ILeEzVvkFj\nWaY/GIKd6RlYXThyBRytz6ZKC2UcERTvrlF3uoa1/xtxBo2DcGLmQFaUwCoc\nVfux+xo1w6bDeq6yGKDcieGI+2L5pjbALg2UrrP5S7AnKH/4v2u+H6ZP6CIP\nnd9NqU0lYbUUQHyQOpW34T4qyPifM0LdYA3lIObL3i4KoIrIPxuCK9tdVfDP\nWIGBfLHP/cJwc/daLRK0WZEdORXAIJTFtanwn4huhAIIytv8fc2Jx6ibGf08\nfn+vnjFFnzUtJkb5A8GU/nnf3Az8JfbeYNINCvbE8fgVOVWs1x5b2Jz49Reo\nwbguBxSzkplk7xISWfPelp1cjpc41KEgIukE7WBqvSZqsqJEghIAmlQv3C6U\njJWg\r\n=HPAM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmIBOc5chyYGR9/P1N7/cW3Ok0B5ohF3Kma/xcSK1MDwIhAN1fDoF389xPlIhWr56X7NwZMGj0TkPC6/bRIkQPjlde"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.5e8d38fb_1537882557369_0.6886399582281855"},"_hasShrinkwrap":false},"0.9.0-alpha.3676586d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3676586d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.3676586d","@crave/farmblocks-theme":"^1.7.0-alpha.3676586d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3676586d","dist":{"shasum":"2994d2e573ac2f08bee97e98af68153e616620a1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3676586d.tgz","integrity":"sha512-Ee0uNwTZgbHrrf/SRX72Fi/59oAfTTWmXZlVkii1VPmFLfxs9+a+UHmDWov46IKP8r6T3ml31S04IP5gow6j0Q==","fileCount":15,"unpackedSize":27627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqj64CRA9TVsSAnZWagAAKQoQAIqoGK2mY/C3PcFxIvuI\naDhdyjCKPKvjb1e9qZwmDjYa0VTtZBqIaK+7WVLtqaN5GC8ow9o2RVemDq7p\nVGkx3aD08NSKvoVh419mHu5R7FptiG5gBKn+NuIlvwbXXvEaAQUzaEkYCMb8\n/XiZr0f2WrYxIXmsNemBNRvkTKwY2H4nX3dv8RpB3dI9DNz7yXw1bJCMYwzs\nml9vMsx8t8JEqF7+a3TO6yfbf/WoHnCK0Ig34wOuwo2TpdCDenJWFJVAkjJO\nvut3jGK4BS21Cv1mXY+y3i2ARcQ5fUS+HD5okD6geoJZ7+Q1cJ33oYaxSw4I\nceEoATUX7d8FLr/4rKc6SemJNEHqsl333Ia+lnvMeV2Qu7/sCY4y7CeuUDpX\nUXeioY5z9cyUT0YGx5Ua5Yj5ZnmqJ22GXEYqRfB51VaetWP/3PUSKw+ZJz5q\nsCqEiwJ1WGhLbCVpA0HTtKvUX8ozPaI1Z0P3KsU49DdjdVNicioR+MLut5ZE\n396upP1VjtGa9Zzc3TFEpmzF6KQvLxfCdN12QpK+pGxTbYyZaMWesfSjPYsC\nw/zDxWVVS7TcOJlPr+24pCrbXoFNS3Rn+6MVIUgtPeIvnwOSCh/lwKU62Cjx\nzVG/sX/J8v9CrNf5Swt6mFMQ/4fKdwicpppGc3q4C6mTN4A4ZHvJLcnchsQS\n6jyg\r\n=AV8e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi/RJ6ZHhxH8FEC+lVQF4SWQ0v4ABwYluNLVsnS1Ig7gIhANhPC1HjKNFFdzj7yPopbeGl1bh/qAF+OJd34fxkJpLg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3676586d_1537883831423_0.4729586412718365"},"_hasShrinkwrap":false},"0.9.0-alpha.797c8246":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.797c8246","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.797c8246","@crave/farmblocks-theme":"^1.7.0-alpha.797c8246","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.797c8246","dist":{"shasum":"b9921f3494e8152286952e9deb97a7cb2f65b6df","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.797c8246.tgz","integrity":"sha512-6mYdahHXNGtsEVKE99lJW+D0EpHcj+8bE5PQRepUnERBDmNCOn8WGdHPBeR5V9C+WOPZyYR8MChpiuVAYYxGlw==","fileCount":15,"unpackedSize":27627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqn7BCRA9TVsSAnZWagAAnU0P/2XtVBry5A2dqxfKovUS\nHetS6D/24n9GpDu8IjhxJhA1gUjwhxeCbOipy5tw+eV4eCZlqG8h05NdMm2h\npOSRkV8bWLpIm1A1NtYg4FA4jiOIiAOb9FuXZSbh8X8gzbvbsTpvMZuy6qnJ\nNUDDdVXxn2zKec8RBbggOsjQ/bIAx2hAfzNhBgUlWUXXP+T6Jhntpv++GKZD\n3WNah9q437Vfv/Ahbeffd0f/HeCKBpy6429FaZo3iLP1u+Kxt/6hJClnfy04\nelHFEyAZsksfwKQ3yUiwnH4d7cqNVNOtXsR9/bPvf7xXeomrii1ablGPNJIQ\nDp2oFVHseDnwZIwHa/ieW3xWT+dTdZBumOo3OQ1nUmBVznQJaM7rnZrVPD1R\n+QldLEcDhFWaMyfoFK67LMcUA5Gv+dh6YTVzNmjsWotVRLi/OIVvqXHcidcu\nl4Ei8E2nKLF3mDTqsoqFmrZD05frNFEILC7MoIYScFyhb7TGB0aB/loj3cG6\njCu+G7hkP6J46cHMEIZS7C6NX86ce6q5nHHHW3OyLiC/Zeiv7jl0hbeFbRAF\n1Sep6KOG2yH4ZN9NQ85Tby3bDzJlf6YnISsrr6lepa3jQ0N1VrwWsM/9vOeJ\nNj4D4BkddZKzwO+hvz58xP5Bf2/v60IRK5gQeyH/Wkw35e3QgV7DYCdvDQk2\nMfrD\r\n=ewpO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJmoh7ZVoGx/E50YjLvSdDxV/c1HkoKxDa944R2csgGAIhAMTUcr2MhzbH/eXh1LDmR7zGxceJ+1HtkkzidnresA7V"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.797c8246_1537900225141_0.9512934352726989"},"_hasShrinkwrap":false},"0.8.9":{"name":"@crave/farmblocks-dropdown","version":"0.8.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.2","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.9","dist":{"shasum":"55c641d7cb0027ba8dc989b257670ea7a22cb6da","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.9.tgz","integrity":"sha512-nTFhBxBzBN65CaGBwACxCco2OXzH9XagJJID23+H4fHGQ4ECNMufpal77fhP1t64uCdhtTNJigQMUDeIIWG8/Q==","fileCount":15,"unpackedSize":27538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqoEHCRA9TVsSAnZWagAAZUcP/0T/sj7Z7iyNb8A46YZi\nDD33GZL0lD0dYC6rXXBPwke5KWqONBf9rJtial/+LlEmzydlOl/14ndZjl4A\nuyl/1qiY4cu9T1HSEpHBgykg9edZtE2mfEGB0NXYBeLKnQIAYnp/UJhqWQE4\n5iwaJbbvuYt4202H1njb8TWxcDH58lgI8DP1tIIjMu6dyMNCwjcmShFfk8/H\nCeADjue8KWv7QvK48e3Lg5Tt9/q3UJggR/mV/7zng0/1MzNSwqdlJUA8seUh\nfgAiYw1AcOvEELV7awueT6rMVLC6KH8lg83tsWHZIid9YjgOHErGSDcjqiHm\n38MaQCNRdo9XGJqgKj1H/DLcF+Qkfj0ZHPwvgGsrl4mTaJCY/Vqkg8Dxdk5e\n9SHZV5MJfDMJEvO4yk2O4oRJpVJQksTxry4+DlsDxOM1NhEyyofBA42pgmrt\nAVheikWufDSw/QQGbRw6WmIbVc4R3CZIdV4hpF5RGRq1TDI5eTXm8nSmDiQL\nFjy+i0wcPckD5Vjzvv4yUP0PFey2ZVa6S3HdITC6UbTIfuRNvkBNFdkxdnOX\nlX3i95G+wt+ZxzfUa07y17OxGrTNUtg0Jhfuq72UZnV9TSBxp9LCSKzhRimu\nLgqZP+tCdd86RriJPF0YZwH17JFL4tb0Jwds6lmlcy1FPbPgSzWVKhBrpHjc\nHrHi\r\n=bcUp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1XG3HE5550Ns2ZFueeAL3Uj3QKZYOX1zO6T1ZlzIr6gIhAPW/8WFkmLUJQwYop+fMONZ2B6MvmBCkeaDEJid/Jw2d"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.9_1537900806296_0.4207496166881124"},"_hasShrinkwrap":false},"0.9.0-alpha.fc5d3caa":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fc5d3caa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.fc5d3caa","@crave/farmblocks-theme":"^1.7.0-alpha.fc5d3caa","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fc5d3caa","dist":{"shasum":"7a9438944fbeb321017a6cb36e4f6d7e6d333ca4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fc5d3caa.tgz","integrity":"sha512-3xKkcceb26qeST6y5xfXQgPKuPSIHUNDzig2o3ShyF8UP1p72IyszFxk+1efXC/p0eQf7/R1/KupluRaKx65hA==","fileCount":15,"unpackedSize":27861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqqmMCRA9TVsSAnZWagAAS64P/3Dz8Z0sw0tfHPACRIGs\n78opDG1Kk2E/FgECaH1jIxS6IP45TAleM/sohQvbJue+a+fsmaLJ8CmjNnMD\nRY/K3I0C1kzdtbuKLHBXWRw/7ZTCFBTZ9LCugc7j+LmrXc2yjRMJOC+xrHLJ\nTrMlxBbBHrdt3y9qiVWlKKKKP4eBBJVQhUvAtuJmmK4Qr7fBKXyTOC+s387g\n/NBO/s8dVDI5rPEVscNMvk4QqI+LbOafauaoK9vJZk/KloH4y/jC5gPKGsdi\nRC9lFIy3dfC49JpDv9/Lrdn2qGYKYMDIP/vO2RBRiZ2B0bmTp6wlp3aaRiAX\nsTB1zpTxFGZFz/awZzz+G2jcOedbiLYdSKkixpn0usqUjhvMU45CjzJpMhUf\n6o6AAs22mV4KTt6WFclJptuR+WE68SZPomj/1Q3cfqqMp6TGJApWvLjw60Kp\nPa7k9MQAfpYCorTfuW4d7cxuC9A+Hi/BD8l81l1bHTceUlIyYIlf21GCC9K4\nU8s322ysfq/ADMzo6rdq1TNPZeS+1AF/FQ+8vt/xet2H/cqjInt0uIuaqQjQ\ng0eta+aWn2k3YtZjlQRf7dBJ76liZwEfVeSbG29LmpSXCgq+v/XuiVK8fOjs\nMifIV/Ea5wcFaM9PQZrnSw9shW+W/p5mCyjAiGUyeayJ9u3HmLesUH15ibpK\nsa/m\r\n=AxdO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAylmsEfEkpY/yY87tDdBmddXk7T/oSA+XlKSgxcputSAiEAg0tFzKw1xnHlvpGS5rSiYck17ntzyIp5QIdjtpun/RE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fc5d3caa_1537911179449_0.46099948102936805"},"_hasShrinkwrap":false},"0.9.0-alpha.c5ec2d27":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c5ec2d27","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.c5ec2d27","@crave/farmblocks-theme":"^1.7.0-alpha.c5ec2d27","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c5ec2d27","dist":{"shasum":"1ad90f209f5ffc9cafcec4e7eca402569631593a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c5ec2d27.tgz","integrity":"sha512-x9Y3n4+gOjZJVnHqKvJ/vnSTEIVUCA3hTBYc2L6lp2T+HdtYNf7yAjDAg7uZEkSlxb9bCrSAmQymJ/rVbLsHzA==","fileCount":15,"unpackedSize":27861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq6UjCRA9TVsSAnZWagAA4MEQAI1XNRi02ZybG8eGabX8\nqmVJJLnLqwz9QwbzecO9S5VsT9mkEiKf1o3uudJVe86XGN1ZzRxKVRFLOY6R\n3KFhZTIqmrEY/M2dZQddjkZwandSdCxjzPxJzzJLOy0T5DEA47HaA5TAbMSV\n597Nt5lHrp0ki5DW7cb4dJtz+k0ZO2J7c0hZPcq9YbsjUSdxExQrFtBjNAfe\n+pkGcjwq+0DYNTywGZYknHnxjojOlQgTbfBc+O9yy7Aob4TAAMzPaIQz1tAV\n81a6p08871Xf+C4mM3ow4vVcOklaOMgeD6+Cim0hUymrB5FosCRkB1lmZ4WA\nNwEodzMV7uSB+LU990jdiykWAoBwSWu9OO/x0EqCwr8TWA5DqYvAgKRRSSbd\nf0OMaBrxbFW+F3fI2quVHcRJnwCrPjVjFh0QG3Wfe+N3vPoe7cwwpd6lhJM8\nl7TYbdLIifd6f3eau1WIlqHg20fdPhqmg6EVbS0RhOmxHmnn/RcKzn1aDamz\nD+u5BhN8HeVfSi24/v3BUK5H0YDesIK3ZO15LEzUwwA/FRmFZ2oIhHmmdsVa\nzWUE43A0vwmPigRzGns2ZFI6P/caCMTVf6imXG5l69h/L782a/p/YBJoZ3Qw\nomfGtXJUE+wfL6I2RGPAu/dHjiu9MIa+Y7PUWtkd+idvlVjXZr1Q3v4r6L0J\nEsoF\r\n=vpFp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/6Mqm0nIvFNjLQXzq1KW7r8IJAaNN8xcv9E8+6sPyBgIhAKp9M8c/uM4+YgQTF0qBJ5maZ+djIvLVhj0Ibv9RX8O1"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c5ec2d27_1537975580383_0.2567920249558382"},"_hasShrinkwrap":false},"0.8.10":{"name":"@crave/farmblocks-dropdown","version":"0.8.10","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.3","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.10","dist":{"shasum":"ab6c565179a6cb98d249a4becb20b3396f0d7042","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.10.tgz","integrity":"sha512-IWfU8oAVAFmgviRexJXiMFHLyshwKsPGdIFqCWWCFcLo8iT7mFLTAbHaURxWiy4oP+4NrvLceOMuvbS88eQdrg==","fileCount":15,"unpackedSize":27776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq9oKCRA9TVsSAnZWagAAIbsP+gNIaa3fzgz/56Ywoi6z\n6bwh8F4xX+duo4gMztWzeyS6W/Dz//+JNysv0LMMvnPpdZOSlgc3NUjDRtAy\nGSAJlWEhNkR3SkwN9I1uSlDIruhHYW6BYn56YRJjW2csAtcrAqZEgyS4fuy9\noo5Gkv8MZufse8LP080ZhfFSuPBvKvaH28HXjXcZctsiL9a15YZWZYxnRpQ1\nFKvKy+N9w9Jr7FUNgPWkN1AqXIctSXg4BOYs3Qw8UVqMf7/J5tlNJWTMrEpu\nf4EIt9Gu7TUb3yna5K+2pMxDvbtu73vAqxzn3Zg2MCQ/BdrAGNmeKle7TQTt\najXj61//rP+3l5QeE9+JUF7w1Rz7AGzl8w84peU4mnV/t4jLjoeAwAvRti21\nb8xBvna2hEk6jUymQqYP97EUj1xy6Kj3/CBY86intK2KC7U4yBwPsbhZL9Tm\njmpqoRJsvnGLAcG70l7IcfGnpLpdC5DLj7ppWHbmSKpMdX7IVdu8Y7AeJINp\nsQYgTod/nMR/9Uz7qcWn+yoDSU2tj/IXBMy4s2oaQMMUFVXAXWnk3zzvzP3U\nvC/uBDNEAIizlfZlEaSx4H3H2g7G3xNexREzdk/qsJSkhZw8ICvtfWc6bAST\nabD581SDzq6YEObmXTM1kkfvQyk85WhguwavlBVqSrCOChEJWHhWZwZecnuV\n6eBC\r\n=e2P2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDuzPgYk4sWQHJ7qtOSfgn88hrHP2LlxGfktilQPh9mAiAQJQpDhhyc0s4TSfbDzE1EvwELn2ceHueFBAet9hcyYg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.10_1537989129703_0.32019431578797586"},"_hasShrinkwrap":false},"0.9.0-alpha.254e010a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.254e010a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.254e010a","@crave/farmblocks-theme":"^1.7.0-alpha.254e010a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.254e010a","dist":{"shasum":"5302999b5a77ecd3123ee5d48d213ee4e939489a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.254e010a.tgz","integrity":"sha512-b/u4v/iU4axHBKKWXcjV7MYtTxFyqmX67V/4zLAD0IyUCqIoUt/SpTVGTqWxi65k81yOgmOtQ9eLfSYs91j8ag==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrOD4CRA9TVsSAnZWagAAjXEQAJrwgZpAYDlc7CzmRNQL\nB9TIW5WSh25ko3ne6eKPAdse0ZxGtJuwgMiHDFjHDyUSdzVQ9Q2Yb1ZlqBXB\nXIqQh2ZzNibWxGJ6YJPSUGTwnXt/JIBXLd410yyYps5Xdjj2qzWL9uDqyjKG\n/h0QR6vC1grADkvKWJNFjXsUtZ3bU9Vp3lqIOFDG/fJ2f559RPrWkzgUJXF4\ngZdK9SuymdNj39qPfRsgEUZRtLUDaGDDC/+Cvs/FwgWaJA4EE4IAT33LVduq\n6PY51Ub0bk7q1PQ/yyawIgNb1btfK7adk59N7YIwIiRcUK9LaOuPRNtUUpBG\nASRH23tFNBVx4r6i5I04lF29CHrElfRZHQTMHM1z9RxpSVZIZA/fxhWCL65Q\ncJulwYZhAjB3Zi5TiKT4U+Jn+fw/rWalysz8H7O9AlvXe7Rv2+4TY/MxusMH\ngLuCWM/iyhp3m2iswmXYv+r+hOaXNygunzvxg9UAlNx3wRb/wOfUP7fwxS2z\nRpYPvpc3EhczKl0neaHEBn0wioCJrFChBPF5puPQ2iOEvq9SA6XMwPeLz0Yd\n9e38Ev3OdD3sUoF/QOcyE+OAAXwcnYCDw3McW86ZnkdHY3cnIy+pxWvSz97o\n1xL+m/DevKpbiJhnhOvo4OuZoCPo1e8wrD2ZafYUKw9vIYGe1dbaOP0oRTl7\njetJ\r\n=DVyg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuTmIRieo64CW03Bnf/iOdMxZY2EvQ955PTXKi3x8QsAiBPf3wM2I+2QZVRqa4zkVPi831U9rx6kx82TlpyLCrI5Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.254e010a_1538056439584_0.7207144590259895"},"_hasShrinkwrap":false},"0.9.0-alpha.1bbf0c65":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1bbf0c65","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.1bbf0c65","@crave/farmblocks-theme":"^1.7.0-alpha.1bbf0c65","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1bbf0c65","dist":{"shasum":"15af3caa5b5da35ba8b5d9ac10a1bbaf83290be5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1bbf0c65.tgz","integrity":"sha512-rnMFrZPj7KHZT968EfY0R71q9NnvVbSwwtxBEmlRc4YHEfq/xiOKJuAifVbLgm2iEyKToFXCvT9r1SFl2UOtyA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrOyeCRA9TVsSAnZWagAAUmUQAJM+VGV29sOklLSQTz7a\nQ9wUeVXYvyqZuKVF5gt1FTSMXvSPHTv/Qvkh8HquCg8NiTxNuUDPl7dU1nJc\nVYADrhhg5d6jkq800uzxVjZEKJOTqcRYW4GE/44g8K4KdAqlAws1FlL6z0km\nogwe5C082q032k12ECvFhtDWKg9kN4/X7hHNnlcMddouGmO4dqdrVoz5cW5h\npAef6rRO98o02dTXoKaB/I9NCd7FCSycM89UZyHB/JKRaG6+xouOtNWzAwFg\njVcKn+8XV/Y8BDuSw3FKa4soPDW3AzpYfnKficgcVEsM5kUJ2uliwpcmAUaD\nzlWsnsSd76v4fMUDq5KilLiNAEAD2d/11UKCBfCRBZvVm5/ia7fIZ7S7naXp\ntnsY0SAg66cXBm7sX0O/UHPySoc0jTHs0HafDpsIZPwrR2dgaTDKl5/+10kY\nvu0PvnxUUGEgsbIvUR7dkg9PXAd69Tyn4tNOLmkq3ZrZmajXuI9CFUcbdLmj\nDDLRJ/kmngYK31kQSI5mHoOaumd/BYkZL1G1q9SoZv7Wuei/YqRuTncJXLjI\nYiOHPYKNPYQ4MsHbX3DKYvIeGK3eIAKdNCMN8zjjDklI5V2J4ISKPC6PIOt4\nKrwRBIHeDt82jWSfuP3G/3ZxvjJxEv3yFTp8N4ICSykcBpAqy6TTUkYuhKq/\n3o1r\r\n=cWee\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtljBsBYWhCzZXCHtK2+zTPjLIHaLgF1qwxtJyswqnDQIgbuZDgnJgjiD7OKULa2ZEBYvsUrBt5nWf5EWyN5os7OY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1bbf0c65_1538059421492_0.3438821031032493"},"_hasShrinkwrap":false},"0.9.0-alpha.fd8dfdd0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fd8dfdd0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.fd8dfdd0","@crave/farmblocks-theme":"^1.7.0-alpha.fd8dfdd0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fd8dfdd0","dist":{"shasum":"cf65cd72b9386e3b14c56499ea56966f7e97a735","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fd8dfdd0.tgz","integrity":"sha512-BXjIlj7b7kgJnMyzKnRChV/pNd+5hDVZ4UXpNyFIFKQCkzulpMEQWBDpb5u4pycG36tAj08suqhPhtOM0KKWww==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrP5gCRA9TVsSAnZWagAArKwQAKDWfbkM0HQbBa3ROihZ\nDStXl7GwgEMHz7FePeV0H3sfCdxU1Cx57r1UFB3ovdMOFrwIgWuJTxEECLby\nUVWKDJQzbmsjl3w+M5WHDpPiTtoq1clht3d+eJ7Ku+E58CI9NsszkTCg4h5N\nOqlZB+UsCcR7Gv8718p9Tpkfo6b/ftdmt+HjJ6ZjuBgCxppPkn9PjwoaJHYZ\nkPPJ4bp0YLhCbxc2dIq0ooEZIpIXHfM9vU98vo3w5x0dz9rXd/lJdcgDuv2G\nUKL42J7v5jFvYwY8+/nYdc8tdIn2LfD/Ck0evOSevjhQl3cvothYjNNKZiuT\nkDVty3WauUnBq703skLtBl9MhqguZeBYto7YLTZMo911g+Y/zhgk9XvAU9qE\nr8qn9+MsFVXXk0jkjqqaiaUcfL5Fk+qeu6WmMUNjhB38JmRXayXf7m3MqKtd\n8Py5DtNb8F+PzHaznGPY+PcFTGo3IeKJzfMHZIWboWmyESur9X2LMCkmNucZ\n+Pu4rwefOCMgxDlfAr/roo687czSOJiu9h8QpH1KtdlzEvhlXMt12l+OKb3e\n8s49JiFFTuox0U7mbKk725nkGMZ4TIfr++GTBMAM1KuKMn0H+lldRK9UqtpU\nZuO69lxWEF8jSGq/B4BqCYSfoJ2Z58CkcgJmluK8rGiKCBIP662iL+oWCYU2\nluPG\r\n=wU+E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkcMPymexBsOiTVDqXEZuGLhqrivf9o8HAPaQrs0MhbAiEA0dfjqEmSHvZkigeBPn9a3W6jNWKYFjWWgdrZgJJpb7k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fd8dfdd0_1538063967731_0.08968982699069117"},"_hasShrinkwrap":false},"0.9.0-alpha.6d167141":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6d167141","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.6d167141","@crave/farmblocks-theme":"^1.7.0-alpha.6d167141","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6d167141","dist":{"shasum":"59a2f5d97ccd188be0896137f6c25fd0bb9bca58","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6d167141.tgz","integrity":"sha512-3MTYOxc3BMOSlfyPz8OZxZ6gaw263OH+8ws1mnaVj+lrqJkvPOiVnqz932n/7x3ErZ4di0vQJ6krEbxWPqcmyQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrRZ8CRA9TVsSAnZWagAAxtAP/iwzJd9aycyIYO6nqkG1\nZtbTQgymCgQ42I6D78U/MOZ9AL6nJIBiL8laX9KiIEJf4n6L78HuutGl3l5Z\neGT6eOMEWuHYUqUt6TXzW34xt2X1e+hYK70tIVz6Pk2KH6UnIamBYTjGVWso\n2M4oaXmcXJiUG6Cgbyjxdw8oEtUnu2fkoMi19PTWGs4L9I/BiybilPV9BT3B\n++6vz1zRu2DuwjahhN4eEK7ie1zO2bGyZRtYDopWsAShVyCHgOYZeqdAMvqd\nrh2SEIMJaLibj1eQjQ8Xjsc9nGugpNmrz3MuKKn9HYA60JSc5iEjPzP1HOUw\nnxenQnIxvWJCrcE8v3berRJGTeGqRtuv4reI76kAdcxJ2CTBrVH8weD22mVZ\ngYijVlXAlNQ2mx5+ycAWJYCzS/sCvZaG/6b9e6rzwXLw9OZ82jwVaI7eBxr0\nVpDtJjsEKUgYk1cnAjhRdNX73OSiWRFtJVXPOtU4nba4Vf9v8BsTPoqND6Bh\n24AuiYp5atqaut82xjXGt737lYN/sAS3orLtfLcbjJMthX3e7KOpU0BLTrwx\nEGwBi856W5/UCx9e7qBr4ETfrHMrYtuJtdMIT/+X9Jn0Uulz0C4Qv8Y95J38\nENvbwa5TVJMnN5P6SQwvlfhsmkDqzvbjj8/humaZkjeUxZjUDhULggJD6QS4\np6+9\r\n=yGYR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFJgvPxjZILp0AM5RK1130EPppzH7INaX5SSvOjD5TGwIhAIdG9uXpw/66ctm5IZ4tFTxe9FYFa6Mfmq0ncFTRckw1"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6d167141_1538070139580_0.8590047651868922"},"_hasShrinkwrap":false},"0.9.0-alpha.6a6c41a6":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6a6c41a6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.6a6c41a6","@crave/farmblocks-theme":"^1.7.0-alpha.6a6c41a6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6a6c41a6","dist":{"shasum":"0775d767643482533b39fe2e93eab23aa2e1c506","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6a6c41a6.tgz","integrity":"sha512-T1hUjfgZbc0PwE7zC4A7bDpGsjtwioaCHy09bOLSwy3IQ2QAP1x6wmbGpOGo+qA0fhWD0Tce1JdZgTpGRR4vNg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrTXACRA9TVsSAnZWagAAY9gP/1BGebbFouh0/Ntt76OR\n/QiRra2gfIfnHS3Tq72RWUJaFdQQbmdjpHt2WxpUk6zfcU6OOnxh9mmLR3N1\nMnWzb1YC5jjBTbJCO6QgcsItb3Yc6N+Xp9A5PYKh7bAjb6GdGH3nnqK2Q8CW\nuEVjRcTQoli4AjsxydDrrLuFYMFKG6/+diu+7Clvjf+jtRpJi2YP1Bq3QvT/\nrs+HBYoKguIObSx7XkQ5WkJWalIJyQM9XEnlBpVllXrr7QXfQI7hgiBJx1EX\n0+xM2a6GfSZ4YBZbdz7CxEQf9oHhyBIuPMhV+USmbCNMDvdDN3ZTXP3d6eXY\nKxTKQ7Sr82KpifyxwODrDq1Oh1WWIHMPqUC2k4ii8pCIawf/BbddpGjxKh8B\nQpUNk2ORalPxl/Jni1EFm1N/x3bNzY3BUqvFeOjTBvvM0uMlES3Gt3a6y+gI\ndepEkeeDGaF18l+rfYqUxQ0lj6FVotm8K+xG12Cxjw37fTSb5JwQuSQkEk68\nvYU95HMGqculWTv9raqSjqaT2sr9wLL9faroEPvFyRrRR2gJFDMEIRTACosU\nR4kMezG4XsW5Xd5hhwOYcppLVxwOARn4izKZ3Q/5rYC2bfApWfUqyZRXkmHi\nVc2HG5wXB+DGHF65aKxIj8lgR+/A04ZeluR9rDMFygZrgyWAAdg9bD3EwDb+\nnu5+\r\n=AX9x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCsoT+WeCoL7q5FjxQARtE7+ArHtNA0xRS+g22Dah4bgIgbh2u/xCgLh+xIwc/0RRYA/MoGIJ1MAl4mTXzuJNVvss="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6a6c41a6_1538078143902_0.30137364921870957"},"_hasShrinkwrap":false},"0.9.0-alpha.7ece2af5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7ece2af5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.7ece2af5","@crave/farmblocks-theme":"^1.7.0-alpha.7ece2af5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7ece2af5","dist":{"shasum":"36e808ba9d5a4faa0ecc1737fc6f9864ed2685bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7ece2af5.tgz","integrity":"sha512-Wmybc4HhHIRqDyXYWCmh0UHebXBVqpcmuVRgBtfr1n8eg/c0WY7OTFGMXieujCY9P+7n3Me4Y5DLY+oBG7XqLg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrTt4CRA9TVsSAnZWagAAwssP/3FP2hmliWYuihRfjTB+\nfmm9Q2Mm/MDx81SMYAX71ffeMBNbd6TYwqGjNRFIPpCh5a2/KUEu2ejKPos9\nfefpiDLnCFK53ms75hzlNtvEOoaWjRNQWG2VZ3+aWyThaZ8c5WQenWHSy85+\nCTA9+Eqa9aiq+cZ6oqPP0fRBk/NCYVHGj+v1o9FLkJIQ3bI+BaRhJ2iuxDWM\n+zZUGg8oJvfLJLN0SS3jQ6XOBpKjdRmN8Jj2Cv/n54ZAz+AmURcDtbkmnR+u\ncWKQa43sh+QyB5vulXDOLdxd4SA3fy83OoyDfE60TrbRBBMKtafJ0WrJ3W4I\n+zvbDVR07bTKImkNtJB01YMFn3sKFFI+wm+FbEhbK2qryzSqdjKjYMxGg8pR\naWNoi2dE09U8+pqlAru5KCaFFYZIkPn53OZ/T9Hm+EKTLfart6xFsU+LmUQR\n9O7xNOyGSisFTvPQglgJ+IJOIDFP9TP4QeG2e3AaeiHCuQNP/YPiQBz29hp4\n1UcAZeLKEr2/sv5bXH4T+qTK2GMaj8ZHJoxCoG9Fb0NLBNxTYQLRO2SRs39w\nfOypyOhIoOHT1Iz3+WgB7vqZhqYQXZFaVjVduWnlcxijrMTUhdFXCgB5gJt4\nTroVrb/CtHGlxDYyFwnmnZv0DG1KGNfnslKlbr+emkiWsG/vKhZ/ZVJYutRP\nttNx\r\n=dqRV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbosvCMb1up0r+0GBEKR0pyUwScYM5Lv8YXm7I+//XzAiEAgM4C//AhPGLDq/qyi3NkbpeOGNNLZX+mtmQHZlnrg1Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7ece2af5_1538079608278_0.2816102273229124"},"_hasShrinkwrap":false},"0.9.0-alpha.2fce455b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2fce455b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.2fce455b","@crave/farmblocks-theme":"^1.7.0-alpha.2fce455b","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2fce455b","dist":{"shasum":"eb4e88a4882bac6fa204269ede54ae0fce8d8197","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2fce455b.tgz","integrity":"sha512-p3Sg5v2flbGua7YfO3DfA1C5gPet5/zsWDLWkuS70r+KtM48cFl101f/Y2ouuopvyHM3dCHHAjH7b1B8KPgyCA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrURlCRA9TVsSAnZWagAAWUYQAIREEQRRJ68eIlO6dUd9\ncaPNJcat5fQwZNDl4JlHiRf8bt9WTFdsZi5zyO+mD3ITPzDYV4hI3i24sbXw\ntOq9fZlzBeAqsYyP/qsNrMshejsNT0kN8FX00aiBEha5WR097wONK8glYztQ\nAq0PsNwNeNC7UHcWZoOC9liZNa15+VwV+trV3JfcyJbKu6m2LSIV1vErsbV8\nVRWKY6htWNXMD3QnomHZkvj99FHUyqKwupgAacpBcRsLwGGxu8uXAKhk85Zp\n9M7/JSzfeRCsI2h+CPixCE2YYI2ZYVEDEig/cF7z3ga/4EnuUu3hx7D5kRvC\nEXk1JrAAUjB/I8KUBp3oxUs1d7Feu8/eqxE+f+iFf03sFLqPK5Hi5BFL8R2X\nfizEXM4i8D132rjY6LS2Y5j6rJKMvdZ4jwhPc9ssncjBj/d1GXA4p/3gin3v\njMGr0PScK79HPJLbEVz7mSq28ZGb1ET/IrrfbYgVsqbnuYQBkuDTxCGCT9c4\n03Ioi21ELDzCKzxSUPWSa1+2K9FP/aSKsOgVElDEHtJmNL2ZwseXTYz7WDAM\nRZ1aKOG8rMM361ZnZps8ydPXZOUAe/QMgVJSfJfWmDqTgE89xyx4AB2N9Zly\nZ8iy7h7rzES+/TZ1N60mqZnrFUw7Gw4/IXYizVq6M3ZQa8Mdtor0343GbHoa\n6ncm\r\n=0frl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrQRvUERHGVo6lTFzmY6JR/oh+AYZfRBZO/LnpmZ8dAQIhAJI3ZukQ5gqEGccKbqvePFxoeQ9c2kxSFuJUcIZ0pcT/"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2fce455b_1538081892620_0.3781650420581044"},"_hasShrinkwrap":false},"0.9.0-alpha.c3c09a55":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c3c09a55","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.c3c09a55","@crave/farmblocks-theme":"^1.7.0-alpha.c3c09a55","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c3c09a55","dist":{"shasum":"0e1b745d8a89d2f5ac65f547f12e5836f2bfbca4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c3c09a55.tgz","integrity":"sha512-UJDJXdmv8liwMgsBj+hUPkbqUiQ/1gn2hPbTAmckIfmFfqiyz+BoiYspCg2B9Yryc4nJdGLT6eowRvgN+azf7A==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrhi7CRA9TVsSAnZWagAAxxgP/3Z88HBke/4S6WIuMSEk\nsYhxehvlCmxbqkl/OjQTvwu2hYzWzb4x7JQMAlQPpVQmIk2HGgr3dA9Nk2eU\ncDEx7ldQU0MopvaqxJh/VmaWJJMB4oMmqUdqCfpui4DJkke1Aas8FBz4kByq\nOgoNrsN1zyP3hgVpPsmqwddmNoadjJ0kqiEnByJ6bG0ygtPhsOKQHuN2GX3S\nnNKOMbeaSHCLIogO3WqMonES88RT5JVH+0kxjxsz8frTjq3REyLooat65e+R\ncwXuzes7SlclWmFYeqMw6q0aV+ycTP3sc6t8JfM55QuEWzhjgKWVPhU5G3eM\ntQuQzogfhKLa2JwW7pkRZ4T9tVLXMzMPhbu8apU75DUKCPu9THg//m6Dk1Q+\ns6Ib6k1izG9lDXkdkloTW6oybMin47V9Af3FkxrsSLhSDS8z/dOvPg/xvTBd\nzDlMPIy+pPJg0I+RF38HGpN/yM+6MtJ5+JMVvW0iSg2PSkm9Q0MJyNan5BbZ\njFjlJomsBEsPY74+TzWV0STnAHQGr4FIFFUK+Om9tPIrskk4I28faF7RaMom\nc1luKOG9on/JAlV03rKG5DF16DohL6/wgnO1rN+s24ILy3XietkD/Eazdfr+\nDfd6k1qWA4FdPHCTF8GrgO89dHRymc+PMvPA/QO0Yoyuecy2CHDxuLF5bvZe\nd799\r\n=7Zmg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9BAg9MEw6uG2pTjhFiCpQjxtfavR72yxbuKg8HV8NiwIhAJtzsC5ckZd1gPwxwrUCwbuWsGVUZLr8X4C8+T7bvPJC"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c3c09a55_1538136250028_0.862422641392121"},"_hasShrinkwrap":false},"0.9.0-alpha.8d9fd451":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8d9fd451","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.8d9fd451","@crave/farmblocks-theme":"^1.7.0-alpha.8d9fd451","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8d9fd451","dist":{"shasum":"6ba51cfc94d88699133bc5dab24083e976928316","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8d9fd451.tgz","integrity":"sha512-Q1HSsZre+IBZUtk+I+VObXkxCRUPrU/73VY9oCRRnSZKMFY/AVezoqtUHbtKhU1kbSRjTThhJJ/F8r0mpbfzsg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbriJhCRA9TVsSAnZWagAABtUP/0j7UAh/KGcW59S4edu6\nx89cxPi0Pa94W1nrB6BnQ3XAVr7x3rAbWE3DIV8GVfW2nmPBqD9RWpxkWs1y\nzFpYLf+8BTzIAIuawnHeWk9rfS8d42H4gvUTDmIH1qysbntLIEEECdxIOKxv\nItDKcc+nynvB6d783d9VweQmHVi1MnIAJN1JmuKozQ7eLVQ+FjXzHpzYM6n/\n9IF/EKlmaKz+Z0PWXCOBGBTyiJBaOursxKNaoH6LmERSmCeZMYHP5obhUHTO\n09E5q9pE+BwLi5NnMqgzGWlkFpZNORkpm70FiNsqIzcsNwwl9swZo1uExd57\nNAGLA/Bj67IgFQYy+U17JG1u0w1FQpukIPp9f0AAzTooEDYgYe4IawsGX4yb\n6wlWugl+J+9vy1Xf+v4xHS/S/5NhUDc/4xUelcXUxKRod0SeynLbFN18Qs0H\nJ1JDYjANNFsKX+fhd5EKG1Ax5bpSM0QCZmtWDDMLyfUW4iEVdGRL2yLThkQ/\nyxKCILUw8cFvj3LReqyE8HSd1bzcnUvHZPJEt6LXgIbdoe4+3h1V/9Ok8kWW\nCjau00nW7w0Xlr/QFMmpoOZr+OYcXlI7yKbAMGLwBtvVJxUGKTyMy4+MOnN0\nUarcJnsvT3YzakOR3PGo3QABmbOnSbykCz/+X8oP5wjvn+ig4DJaErC7aCck\nrUz5\r\n=jXM6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+Zl5h4GXpjjgEfs/pYaNo/OQ3KsSbuddd8ABSBAXz4AiEA7y+Loc70SkU7m9vhPyjv8i14ua0j6bvdgt+iFLqQfok="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8d9fd451_1538138721050_0.9615415585959686"},"_hasShrinkwrap":false},"0.9.0-alpha.be9091ec":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.be9091ec","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.be9091ec","@crave/farmblocks-theme":"^1.7.0-alpha.be9091ec","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.be9091ec","dist":{"shasum":"da5c13a2621631af78611ac96345574eda9fd0d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.be9091ec.tgz","integrity":"sha512-c0pSnrN73+ffWRhJYFJ6eKmay4/YdbSftE+E9HhID3leh0gZtseZYKLtxaLdeQS8Hc+QA6dEgstYrfl0R4j4cQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrjkmCRA9TVsSAnZWagAAtMIP/RPaTlsXWGE++d857BLd\nJOlb8Dr3/84ZEsJY0Imtoz+tT5qHEIM0HlIlZW4Ej0lAEZxlzgkzkJiqO3Gb\nWE6k3L+KxaFwIlTY0t0i9PSvL7xd/YG7KIkpNz8btURik0NOSl+R9lRMPapv\nSOWB8kpmjLorU8iwEITe4ojE1ZNR+zsHw14X1zH461bqQz/X/txhTsd0nuRI\nSgw8+7hrWU5C9faz1Rb8zRhBZR9TCN7+yN3N03bbx8GM7zE9D9ZvYO/dd1Ks\nj4egDB5hiwNlHgWWJCKnv4ISrISyhCSma+Uld6DNhkfbVnXrKUlQEmsVbA2A\nDE04WKpx0eiX9FiPElsC8uk28lztHoIa/U21M108jUhHmGTTZfTDV0I+h+Sm\nv5L68cm2SsGkHUJKjBNbj7PKnPJlWLL8kuLt9CwMZyXve+af85jCGcEGYDKZ\nco1kjEGF/A5Ei4Ie9pqPFjF6aRj3euXa5aP83YUU3Eyvyuts716WSYzGct9w\nwBNcKsoSJPeCFOXnSt+q8ctpez9bM9OJ/mJOlpVgFrCXMz1dkyrCDsR8gf/s\nIfBjx+I0b3cmJLRtJT0WaxUARfeq3fSsEDLs+Lc07S/laa4KktCo+UJFmwr9\nEvqUBqcFHZ/0p0X5OuWggZYF0dm/ldMjPexd+XqSBqWtFw+H3eajh97z6m/Z\nhOT/\r\n=6ODX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZkWvaePuWh8zTRNuwdOv8P7CbObtmF7PUI0ECjB5nTAiEAj3ICSrTtTYRKi31x3tX9oK9nywEO4Poc5jaHm023+Xo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.be9091ec_1538144549509_0.7292733867216199"},"_hasShrinkwrap":false},"0.9.0-alpha.119a3a05":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.119a3a05","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.119a3a05","@crave/farmblocks-theme":"^1.7.0-alpha.119a3a05","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.119a3a05","dist":{"shasum":"4997ae797a6db7f14cf0f0817b7c336398b2ecd5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.119a3a05.tgz","integrity":"sha512-1M+7XTO6GnW/XIFEKA734naP47z4IAVhdHCKAQB9RIg7G07+/XXeXNEUREmx1J/qSSztYyZyXNLlhVoGQTrDhQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbr8t1CRA9TVsSAnZWagAADOEQAJ+MEFw83P/1bJuOBYpp\negFd3CdPlSduEPmDg6BlJinseJNZW7kKvj4Hyrpb812N+h8eWZvzz7lcle3h\n+Mxb7gWLglWXxT09PSj6BrHxpvLy8aaIjyr1PqPG7TfzYRtLlzefRCVUektV\nMysd3Duod3V9QbhykHRNHEQEmrA9C+APeVpWVRdVyKbwRUX5M+ca7WwGdn69\nG0DARmKdAueLNLxNNR8XcG3IyJGppuzMNYq5uI1rRfsbxaH1aVUoony+7c/z\nlc+58fNstWsAnUke3aPDrEpIiG9BwKSxZx/EqXu0/iCkujulTjZC31CZByqO\nXQMJH6+6GOaAv2lkjrgugixmEB3rLn5MwQ4bMGf4npxxir5HKHIRweTVatwv\nYjfgUDCCegtpYR/qnNg+Ux51EVwiDDb8XYFZjYXfM6VFPULX7Y07r/tqhInt\nE8RWZnHelsBYHLuIGDGZk8kyFNbZw/GJ/ebBHweAN8twwe/SzxUmDFxmVDM4\n+tcPMWCPBkozWyXfM026/0om937pxOdpOlJtzAD70YrYZun2AIvVidHV5FSf\nGYKkMf7vuxvvLqtOd7+wTyhCuyFyHJA8fulggSOkxyPh5UcoShDho6bco1Rx\n4vN+LaunUI4Bb0+RLtqTQ3Y6lBHcijkw2tL93aiZUkhH5RT2KLDIe4mFRmNL\nxvpl\r\n=OeLm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHB6pdXQyxy6QlcA9vTb9EW2I5zuBNzPWvmMPVs3BID5AiEAmxdNOQjbrGUsFQ8Uko6GVdehRTPrlf4hpqxQ+pSBfR8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.119a3a05_1538247540976_0.4622634405129682"},"_hasShrinkwrap":false},"0.9.0-alpha.67b7f6f5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.67b7f6f5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.67b7f6f5","@crave/farmblocks-theme":"^1.7.0-alpha.67b7f6f5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.67b7f6f5","dist":{"shasum":"9309c897123e18d281a5d717d2c1d9a5b7d6de53","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.67b7f6f5.tgz","integrity":"sha512-uXNhzLjiOfWZsuXHmYIkhd9XXESOvlQVox2xJfNHxGEvSUnmNSHtCD3zysYrHNjXvHns8rS0zLzfYjoyXwbC2g==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsTNdCRA9TVsSAnZWagAA748P/14bsbcKHLQrIyLQTSfR\nh8mXuc27UmnbYl78TmlqzQMj01Ihxr7IJubMFKfqzhHc2qgR80SbdJG50Wzw\nhExA2efX4fyBO8JHPpwqihzrAWCFfAp9ChfQY4txq+Nr9Ty5OdaUYkrmJzXY\n+MxEORioWIE8XogO8s6NTaTMctYXQabwB46Yvv3rd/twENU28Hqr7Ybi0N9h\nUjnVzNOw0DL6EN50LqQpDDKDDDikS/ZkxJ60Ob6sQI+7HhFf3MdWRjDFMAvV\nt6SFa8ZdTXg4W9/vbVVuvq8yX6fgSpBoACH8Bcsu/f8+9n6TzsypLM4eoIhl\nExLovSD1K0sVeMek4TEX3sdlGSo5y5RJQzfKt21zpfLIrMpCj4k3T/LqKLBR\nGkwViCBAuBHhZ+iBuSz3Ec+JBTgF9YNNN2eajHugvCyrFKzlhpa6qdh4t3yr\nfEjruriZ16yUd3L2UYh/0wCEw5MzSvTkN/IXkAkS9dJCw5xSi01iOFkkocNb\nKmNym7S20buFaCD6Bv9BnvXpZdjCDRoyIcGYJpX2lIkjOII89V7ewXMUM8Mq\nEJVT8CsRkTnQyqOrYuiHQB6mubjbz2s7znbuwkgDyv+lCAiLHHZeSEulyQaP\nzdfmFdOx49VbAcTjGDDuzZYMFk8pnvwPMEyn45bJhLrlua5CSBxZO0+v31yK\nl9U2\r\n=33ng\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOjBZsZP/nZcijGcbjdht2/2hbLnVUwq/EcLodaEl0rAiBhl8/fWTkl+KGENJd8BKsgdxDbawMIpiuBn3d3lfjGyw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.67b7f6f5_1538339676676_0.20061585817149163"},"_hasShrinkwrap":false},"0.9.0-alpha.e97ece4e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e97ece4e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.e97ece4e","@crave/farmblocks-theme":"^1.7.0-alpha.e97ece4e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e97ece4e","dist":{"shasum":"c22f48d7de8132e4d07fa79327bdc427d15b73ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e97ece4e.tgz","integrity":"sha512-+Ir1DUwHEPOZQbPmz9m6PRZf4HxT9uce/BQw5kQg86HD+jdJ4QaOoM57+cmft1oJeDPq+cTFNCjRIzucdYG/Hw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsjRUCRA9TVsSAnZWagAAjuMP/1GZeSofaU9sQZvd9t2k\nw8SBps7ERqneDHBHzpmqgP5V9rsfx7adWZerMoyUVub9fAtalHAtKh8/NGnv\nCMYy+XK6xsukWHnAiy3DKaakv1Yc5BCh8lIeU+e/ULXaNjqHeRU3TTrxYioy\nbiGbHnXJSKwdkS0+AovhPlvckVSKQqPr3XYg3lRNv1q8Gapn7WER6VAtGhiN\nuLkDRQ0OGjVsxHHMGfZE/uxw0ObkHz5t7TngweEzMWp74z0obwI6F0IQG5P8\nx/KjKSKJ7FATzAk9w7rZllTG+7rAy1hn+YpI3SHBhn3tAduEaUgU7epyirxU\nNijLUWapc0aLzRLPgCDGB5HKOtGR9zq8fdwhEbkl/aN5puLcAemOeo5MPPzL\nNVW/KjGPcVzuNDi8K/23ZZmVeALxpSvaE9NOT4qZhafGWQZLYmMnF2Ck+xhW\nFsSCW0LMyZRLu4XEan6KY+Eb10BKuEForIVUgGMJR8m6J64qvmYZnhDrbJOG\njKfvtHxpq0qFdHNPYdARgdDoQl3qruT9YyGtMVY4W1lKJLKalSMdkRoK/jSj\nmClhn1Oi0rXf/6YdTz363feDLa55edVX1rFFyn5SItPMM4Tp3svi8fFHAQcW\nywMrGK7eFFsolAsMDN1YcYoXC09ZZ8bTm7EgmK4GdgJIIy2YpWWNUMbqypMA\nu8a5\r\n=rLsN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRhTd2xMgigI0Jo9543mIWGMe1/JDvzoowAplTh+eyvgIgRTyd+mw4lHcDBpp9JzN1gwIEjdgpTMYwU0kH0/0TsTU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e97ece4e_1538405459419_0.8380860339696588"},"_hasShrinkwrap":false},"0.9.0-alpha.7a7b512a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7a7b512a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.7a7b512a","@crave/farmblocks-theme":"^1.7.0-alpha.7a7b512a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7a7b512a","dist":{"shasum":"936a5f6779a738490f4d4b59ff84e74ccb756ac7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7a7b512a.tgz","integrity":"sha512-U7KeqvAqTPBOcqGlM6wRmDECN6KNNQrscaenQA4UEtUs/FJw0I8SjPT50T++lJI92so47lE7XMVs6lDtQpqkcQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsj93CRA9TVsSAnZWagAAuiMP/iV7WweTw3v7+FZu60cX\nSJIOVZI5YRcpjk1vXRtnZljguraPeRY1tZbo0mnaNCh78mkcDIrN5pfVsVd1\nCXQT2yEYGgxTt7Bd0E6IvA6yek9npfsiURnN5vFc2m9q5qv+FIUegxu+292M\nqsVdx/5uqrO08DwA3rjUIE5CSQapUDEhIItytl4rPloi3trRGJYmBFT680k0\nPZgqiTaN4LzM23Cf32iSC7+liMMKUON6Q9YEQNRlbLgF75YINqzGxB5JWVRz\nTkn04IfRR9AMTiA5NPG4jBDp40Dpw7PlqEa6ugl2no6NBYcJWrHWv+PHmkPI\nJxh3RKidRbqB/aqh7710DSSbCwDiL8oQoUklV9QXuU2c5jvhZnVeTS55ERPu\nLUJ3EOxlgz3dxAis6pdA3Wpz3AGpfBj+LbACeaksxJbHHk71YByrfZjl6kNG\nYXFGG88MsiSADkemZvmY3/QRB0NC0IjTDSlqABbTx4mdQVhDkiGIxxaygWtQ\nmtNsyHBuQAkNIcpviT4OyyJ2pssqx3VlX0FutFchYA592+hyxaUn/OWfCGLE\nO7J7Fv5EAVXwX/I55rVHkWA0WmlfpRPMD3vhheXZ5fPbGOtKLawxewacfxvY\nm/QLFPe9VOJWin3jRembNn3L3X2WpPvqu07v4wo6EaRS2BkVZoWyyPPbAyWC\nrG5o\r\n=g3Y3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBABnONozIynNOET7/9XrBvba7uz65JV7hvIVhmxSTvQIga4V5DpchriL5KtS3ExeazxX1MwMmdcurb5hqKnFppVg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7a7b512a_1538408311285_0.10649603709724587"},"_hasShrinkwrap":false},"0.9.0-alpha.f222d9e6":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f222d9e6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.f222d9e6","@crave/farmblocks-theme":"^1.7.0-alpha.f222d9e6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f222d9e6","dist":{"shasum":"f5f70980803512cfa3376e693635bbffb3371fda","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f222d9e6.tgz","integrity":"sha512-UnkyNqhtu0ad9vtsBfrSHghfHCsGBzqYpl0/36hAobqQBvkTRTFxxKvvnJuhQBAnCFxy05zel3rY2S9M+eci8Q==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbs5OgCRA9TVsSAnZWagAAkmEP/j9cth7zLbr13FBc//yv\n220HxEtwUmaN2K3qPW4IEriXYl00vpzI78HO0YTMRBAuixsrLVKo6ugbF0U2\n5XD6sytirV1IrgxCtHqNZGhXD06m+ORx/CJCteVx0fzsiLoaSW3qKgm2+LVp\nHP57ZAaGoBNRSiOvFRxL76jnQi3c2w5Je/JjHbzoE8vv/bP9zDd8ZhawHzGk\n3dAK+BrDUxxQZj4hU+qMe9NgJOgJgfJZjgTzCS7rK+KJByZ/vEKWUJ5RmdVP\nZsvaaziU0kr9XHiXjmTlW0m3X2+MiNe5sljrzfG5qq4xshFjt4Tc2YjoHgf+\nGJXou62xdEJI7y0Uef0Cxb7w7Id4DwVjAG5Ue/RI5V5vmobzK9WW+az41Mel\nLG32QEC0gwOCvZY1ASZ9Zxp6z5kusZ/lQQaAzISs0Fl/wsa+2abVyUoCT5NG\npl7xB9foJRjPPQMnm63RAm5NFp2Yla/LpIP5/zeZT4XCS3GcEiSEewUxnT47\nFzePpe49/02fNVG+zzI2syq5wbuEAHfig0pDatc1IQ2FXp6ZEBlm+D82F3W9\nLWfPaB7+PKCXWuoZ8/B12Bm4btNtA0k7h8B/aJEWh3UmVjbcA2GtYJQTKDma\nQ4fgvouQlnff0AtYsykPcjF2iKlm+Fc2xB0L2CDaEE42y3VjsLYDrHmWJMAa\nxwkt\r\n=04SP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU52lBa57Opw/2HNhO8fq4MMwTH4kuwaO/jZnyezD05gIgXQO3FMG1ikrzYt7AOdeA93mt2ayU0S9Vtbq8N1Zfa90="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f222d9e6_1538495392196_0.08072485125673778"},"_hasShrinkwrap":false},"0.9.0-alpha.2090b6ba":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2090b6ba","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.2090b6ba","@crave/farmblocks-theme":"^1.7.0-alpha.2090b6ba","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2090b6ba","dist":{"shasum":"1587561e447ff79a0f38b17ebe8017251490b78a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2090b6ba.tgz","integrity":"sha512-EhypnC/VEQblxuBl11eVQLFz8o5hwe0XLfTHPVD0tPa6pAoGirjwyNJfPHDhpgQSzIav/ak7XhuWpTjTBbLPzg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbs7oGCRA9TVsSAnZWagAAD5IQAJZI7eIFcD3J8o2Yfz8R\nDa91Y3b2bRisxEw8LrbvdMKBUvjz7Ut8xiHG5Z61Gzx/6wv2OWkPnsd4aJLO\npmCqvWeFkJQwM2n1+4Sd0U5kBh2DV7/hxH0MPqeqBe8xjanbEky1iabXClSB\nLme8pHdGLHBhDcloyyOSSFzQmnuXxjdXg2RWYcsnGL8fpJhiLNOW6NqifQOW\nD/Esc+vIknudRqPqudgZvUqthSKOWvXsJzcVDl8TksTbAPN5lQHk7D0LIVtK\n0TzJthfSwh8ib7bjqKNovQWiBpH/CGvykh6GITIF51MVdvS646PvR6oAD1EK\npFl956VRmmpab0hvph9UzRcH+Ad1AitVnDRvkIqUP/L5Mrs9XEo7OY/H5zej\nYk30SRNtOeznyXwMu9+W982Jr7iA1bnVFRRsC0XfFLIX8pVMRGOkstE6LMJ9\n9A5c3aT5dA4LTKuaAoUVmGFqRXA7EO9iAfLbxkDd4WUNl31KnnKnK3ZLP2RF\n7mznkrlcBc2B9JLf5RTftD+cwMwGWXcd+QDnTpARG935wsDc4715N6G4dm6x\niMnR1jc9y6CJ98rAn33cOAwI+A/P6wZe2Jpc5VHuwg/2Zg3UyUi16tudQVfw\nXrRqu6jYQLiSssc3xqBXQR/YOnyaPNLL+3DW6YZzsDVEZK+vP9Tth+znN9uN\n0gpi\r\n=69mO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDldee5IcmA1NYmnPFQVG6fHYR7hqMpC7YM1jGaJBnOmAiEA1mwvQ3erKJkVj8Dw3+jvEXFoLWyEA4C5J549VHckMIk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2090b6ba_1538505222041_0.5659066249801274"},"_hasShrinkwrap":false},"0.9.0-alpha.ad3732d7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ad3732d7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ad3732d7","@crave/farmblocks-theme":"^1.7.0-alpha.ad3732d7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ad3732d7","dist":{"shasum":"e7396d65638e386f101acdb981a0412780e023d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ad3732d7.tgz","integrity":"sha512-QdCOkUlUjnjT0634KDE9L7R48AkdMNi8+clvB1kkewntVyRJ7LpnNqAOQH6FfdrT4S8jHdQN/QGK3J8M7aQYhg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtIWtCRA9TVsSAnZWagAA0NkP/RxRuw0Igjb8UIRswtYS\n+SWgnwXhSPESbG6O0GArUO9aZP0WQrRnc2j0Ah5X9vPaVAMUHn1uRzq0cfhL\n8/edv+4kMZ6QnKFGbxVl6QM9jn/Lfz7HOviCTtYd3fbZP/ODtpCQ73eGQos+\nt/w+17E90S3H/xCCkYciyw9Zgf5Q5i8+t7EfakA5nP1qd7cPpYxPAbABN0yW\ntWxH12ZXFtSCWwJk7TrYQKKX44diDOfhc67bRc6hWp4qsyle1PXlkwFK4x84\nAt+37J8r5zrJnJ5WsCUqA0Hvt0tRcA33W6ln4upqweuJrghse9SlrTZHCwm5\nGsCq6P03XJXuJ5KXOKnc/ur5w1CiuVAV1nuhUVX17Y5OueIBqzsFHipKWGhH\n9celZLteaa1A1p2GjqBJYhvURHSUij1H9vpSmjWeiCpLWfg/UfVHvZ71okML\nWhYs6PpJMNoprQkNvQlYYPg1/SdnfNhTzIkGMAdAS9oF9vG73gaquIrkzfBL\nT4JaF+fd3ep2N/Y0uCGoveeGPfaj3wDrCzXLZP8vQpK8iuWuz+o1J11OlZhS\ntLKmk1KlAXG1B3Ls24rHp+E+F8g0chlmAWL/eP00WUkjwGwb8rlPkrrNxQDk\nyZnW+8ZMmADzyHZI7mZJ9EdYDsOUMOiPJ1zicZD1M01bfTiu+vmNmjQK9S/A\ncDTG\r\n=SXvN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSeYkE6eW+/BX8EflDMYhONkhkqawmHpGM0b4rtg12wwIgEHOVZfr5Kk/DgGM92q6PogSgFjdeQi2B6uaqRvyv1H4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ad3732d7_1538557356832_0.05483877541414417"},"_hasShrinkwrap":false},"0.9.0-alpha.93382e1f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.93382e1f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.93382e1f","@crave/farmblocks-theme":"^1.7.0-alpha.93382e1f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.93382e1f","dist":{"shasum":"89421c19740afabb7b2b428928fe6699955a8202","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.93382e1f.tgz","integrity":"sha512-rEldJkZXMy95wdV+BJMShj13HjfmbNS3hmZBdBPm8shbePCLB4FEKYB69qMT4Q369YPpQO+Au23lo47zMx4wtw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtLNnCRA9TVsSAnZWagAA/yYP/RDBzYE42VKtX8sfcGUz\nXGG2btmFml3HobnA7gwzVEBPSBeVTLxAu3vJb3gfiXucujmuR7nq2T6Mteqw\nsZ6FHUOOXcpNYt31kjHfncLGwJGrl/rBny/tm96bNOk4K3w9RRdVQqSU/CSv\nNESgfDelSapvW2VYUXpIoUkeGzo83O5YbHy2belwwelKgBRX/h3TNsBLb5/n\nqLDam1/0skmNbEYaiM98xMC0szRuf/z9DYvqLEK6cDfsFsvzeHMkQM86gyrm\nWNrZ0x9kv5jKfnfjbYdXHHJYzUWrCwP5WEQFvLvaVM15y0iQBg7tR/cRmh/V\nS67FYAsJGijgk4yVZTVQ/r6Q6OzJrVzpuwLmUWz8IAMnsoiMAyV4XYm1vJt+\nCnKUM+kQGsZdCiKo/wnGUuESApr7RseBdpFxbBNlVxW6Zm6FQz9/G0wwTN3B\nyJnLMlYphvA+XQhlZQhhPYZE5OfLRbxdO4x8OI4QHYug1UEbyP4Y2aSI+luL\nNw1cHgVuFM26udrkB9Sft1Ra0xBgq4G4RIS+PVLFzUwdBkw3ad4qLftiYcjI\nD3yw7msoT1T+wSEVApXcw6vhqL5O6DG/Gdc/ydWvZzw51LDZFiknDgY7yMPa\n1iG1/lRvSujoNMfZTg4aNA905qaq6DQYO/JzEzq0POII/cBuNHFJtqgbKyqC\nJUnz\r\n=GcWM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChY8PyC8E0c5w45rgu7yrhpcAoqujdOzIvqIZ/x6jFYwIga/7d1EF25ajX/CZD/F5GwZqS4cNxz0AD2zGq/EuTSlo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.93382e1f_1538569062966_0.3824935229614339"},"_hasShrinkwrap":false},"0.9.0-alpha.99863187":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.99863187","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.99863187","@crave/farmblocks-theme":"^1.7.0-alpha.99863187","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.99863187","dist":{"shasum":"7d447e48db9920b6fcb979ce3c5fb6dd8efcf85f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.99863187.tgz","integrity":"sha512-DXMMUjGQmNEDCUJq9noFGrsx5k8I55QZb14Zcwa0M1eMzdSWcuyjEUlw570MFbPOtOqdY3Fvi9hNetBRmkE/+Q==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtMP0CRA9TVsSAnZWagAASEIP/Az2uetzD6Ft0tME3GeT\nXmXtim/LXzbb1VjD9LuYV/+A0BBsS244kdcxb2itfh93MJDI9EqauVLbm2eT\nu72qMCq9SNyDN+JRTQZMnrs1OX+nYuC+giMuqZ9m5uqw3kPlmw9kbWxgERCY\n+WtamywC3mje7QaE8iYAeMrxxygQUmzbxTcjBlrNdrECso5FLvMNpz2q2QjZ\npjP/Fljyt3PWCMf/r8pTesKWn1L95nXIuX+0FocOfyXXQ6j6kpOlaQ6RRjWl\nlS//gxxqsVCOY/SRS94Jb7EOO3KwCR9VJurxgWYWn2o/vQXR58Fxc6aUeMW/\nbv4ewkVJq4RgIsIOs5wo3brBlHAO7YV7ZyzfvLwpfVzUPntoQyxRtF06ZpDj\n5SMcGLg/R0jeV8YumwOL3wFoG4ywWa0FjCG6kVM7ECnpM1GgGjKQKqjRwtnq\nzTVzW/cz2tHAQ+S2A1syL547azo89PLVH2J0JzzQUTJHTGYtEoeI3Ra3II/1\nZTM5fMUQefDL8SIAlmDTHFm/3ewwyyR0m2EFC8FiJge9YfzwrFtPscUcg8OW\n1dn2W3UA/+u1Wyysf3raAH+94E+WccuADgVY8sB4tY/toPHKYFR2b8ONPFdg\nwar6HQpnEGhVw8wghgSPHieybZRaSBT90v1pJH/wow+b2h0pNjb2MiRFzV0A\nRyKX\r\n=9qeo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG5PxaZ73FAfSe/rXSEXvy44PF1gKpzv1pAgMpxp1THRAiAGN8a6wFgP01B0WBuXtPgXnUFJrI2m/K2GIKcpKlKRWA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.99863187_1538573299217_0.6309612383248553"},"_hasShrinkwrap":false},"0.9.0-alpha.f9ab7f2d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f9ab7f2d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.f9ab7f2d","@crave/farmblocks-theme":"^1.7.0-alpha.f9ab7f2d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f9ab7f2d","dist":{"shasum":"75f13cadbc176d1f66f5129229f1f8b703bd5f97","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f9ab7f2d.tgz","integrity":"sha512-TymGvKqdhWoGKX+AM2ndBffa3kA8m6/XeTqE9ZYfzmYmSQjn4qydZc6Q3QM5Qs0/sFcsCnoPFTwwB0PVESuTFQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtPh9CRA9TVsSAnZWagAAoD0QAIxhxuV4ZzStycui3t2Y\ns03vqJo3nBLYYQ7ymz3YNRdbIa6ddJ71+nIDhOpiBk/DCu6YMKrvCUNfks7N\n9VP/tVWt/CZhDFSDa3biS99YaccVBISbqW7zrshdqUPc8hm6vHH7ONi9mbKz\n53towqCkDsi3wcOUq0+iqlNy4sDqwVrC9B+W5u3Ojwp2aSiNTSb8OrexFlNh\nkQILEr2IWKuDCIyYCRfVj0Cg36mIi2mhrw0rhAhltQmHyY8G3I57F/Ep3pJr\n4x5vRUfqFFSAgJIt45FH7tnM8Rl95u7QmZmeuPU5AyUb1W3okjbRrtHkTPUh\nxjHKNEbqblW2rxDMhr0ZdjxEpQAZzyw6SBgJYBYwvUM1VpdIZqImNqJHhled\nJuP3y5EC6DLtB2FHBcgE+FT7iIBz69MvttLMwx879LnFLTHaid3KFaVmkd3I\numCvhcxbjIOqp+cpJ5iEIPyf/+yVOinxLVwLWZak9fqdPAjtnjwqjvymweYI\nuKDoGvVBCJFx8c49D5wJQChJ+RrqyaNKUJSlFZdC0mUwLzYI0bCMbUg1OtGS\nLreBdWKfXeR7qOKp3s+W13/atp8AOKrU17y7P1abu6KVj4qp6ApmYT9Ktgxw\nTQxk4Agu8B+pvQC4tlp+3z10nDfYBI722C1erpRxQ+Vyjv6OrDTwjyh2AQNO\n1Ifq\r\n=zibc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+RscfOO85Oph5422SATiBUtD9VDsg9mMdKwnnj/S7tgIhAPb/1aL2ircMWYdifoatcI/JSWxg3/j7rAVh6OPK97ZC"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f9ab7f2d_1538586748207_0.6857861851650902"},"_hasShrinkwrap":false},"0.9.0-alpha.cf04abcb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.cf04abcb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.cf04abcb","@crave/farmblocks-theme":"^1.7.0-alpha.cf04abcb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.cf04abcb","dist":{"shasum":"1480a7b8725345ffbaa6ef5fed5877d560d88134","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.cf04abcb.tgz","integrity":"sha512-JGJol7YAUvxdj7+sMiML05DI/UE8pOU63Lx6/6HfwtOTVQtcWN69p31AVLVa6RVIS6LIlg5Vm3VgbQOOE6h6Ow==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbta6yCRA9TVsSAnZWagAAQJYP/jNB7lYvCQLxkMhYxt1g\n4Fp1SkHWDrGVhc9QTjs3MF0DQZejtTCklxMMmzlHUtNeDELuhyqwg5o4wXAt\nrr8gtIV8PPRfVlomvh/MlQDv8VK5gkfSTPvyp5dfPXeOrxi/xEln5ZCd2tVh\naEeGv6zfUMfplSwSlSjD8Q3iZ966uOhsxmYlCoYlnrChAyhTP72s7LII+vTs\nnDAzhzVmMxlC5mYa3MACCjwNZKsOTUNoISRnB0uRQbEEPjUnKAEDRV9CVFSH\nJywi5ZFWKxrMKLDdgPXpCebfeY5lKbSPKgOGd+cPG2rZh6cfq64mIHTCbsvU\nlqSnXBYdi/FExaOkBonU3g0mePVniJqAa08FTcxtgIuF7U16Ik/kMfCLsXcJ\ni+bJIXp84+jMMLqVzEfz0vNRVR+dtPBnAUdRE/KzrSBfpZyUHfh9jYCJeheD\nP0c6CDhKdRSa+5kHDRmeiJFUeZ5dOET+twWQWApUgJff5l3nNWoUB6hgnciX\nSdL5wmGHRFDNMVTSvA65gyjwe6nKVyyHlX5VBvy7YYx5NxJdRY18vF9vke04\nhXxbFtjzi0YixVGOns5KajQdeV4jkcVEMFkKbLPTrLpnlVdZn09YpKh16HZu\nIA8rGpQefBUDSG1KGOcN0NxV5NtUpWH3YwmjSDTUvuPQV47SbAhgWSrsOczW\nDbQS\r\n=3omq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsb10wRIQV4/raUQzwVC4dTyc6UAUpNHJRNJBLeBa7AgIgY0HD/ly8isQr0J0Jv5+yUr/D5G/2w7QTnHW50qHYbz4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.cf04abcb_1538633393982_0.46106197116992464"},"_hasShrinkwrap":false},"0.9.0-alpha.babdc071":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.babdc071","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.babdc071","@crave/farmblocks-theme":"^1.7.0-alpha.babdc071","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.babdc071","dist":{"shasum":"2a6682ef3e02e9e2ae3c3352e0ed597a2eee3720","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.babdc071.tgz","integrity":"sha512-fbTXf1MkxKJ6o7zhkaAFsP41uUkUY6bzkOoj5iqQ9sOF9ODaffhVRw5ICOwRsgpAreD+uWbIcxd0ZuU6WAZ0zA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtbn3CRA9TVsSAnZWagAAHa8P/jroNy0WHl8A5EB3Fyyw\nXsxG45sbr76C6H00QpylGRwzeCB/YO70oPgWisIa0mHmvV3NWVGeF6YDLgeJ\ntyXgq0YdIZrgwbGFzOW16jQwS6w8OV9uZ1z8W0Ph0dLTSfYANKTICpOhEtRW\nWp5X0gdqUM04qYqBE3M5aNtkYomqGIfzjo3stQX5jWcgpN0mfOsiOcwiFZOg\nmEByAMRLn2c9ENCyUJGZtGKcI4FwMSlCUx0pcovkKYEwIeI34WoxFtZebDuM\n5+p2R88LQQ/YA0Q/D2RGqT+hrvEktqFbc6IZDiHyXEZsqyF+FLndx//vs109\nss+w1APygh5euj4uimJ3jMcYuPsTrnXomuB/BaldS6qCFYCEtTR0f26T2VE4\n1bR7q6rPKsFoAlQmefWYGHygB3cXlC3vMaU35Al+tZRchjE1QgMFQY4A0FaA\nBK4qNiT3vrIZhU2RGLMPkwk245x2u9Acj6aaARsjIEvyi3f5E5t4LLGr+oJ8\nMcIsF6EKAzlfKXhjZglKb7wJkC0pXOCkYhGphBLOelQI784Tsqvu4uLNz2z7\nAEj0akLsMe8LQP9H+Bn1qMF85lQA1NBNLTsbEQExNBrToxtUtlA4dKniVLL7\nFKykMHxBEzvEET1n8QygGCuy9Rp8s4+U4r44it2luNs2JCTPpiQxuRm3SX2J\nun4R\r\n=dpqg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhXZbYf6Jr/ldq4/X8I18yKyU7Kq0YJeXZ7Wi1MO2wBQIhAK+Dzw+GZPkQ8eVdyZ2ZXMF6dA6F8Mx11dmDHMfK8ZXv"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.babdc071_1538636278465_0.9285139608932909"},"_hasShrinkwrap":false},"0.9.0-alpha.0ca4fd12":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0ca4fd12","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.0ca4fd12","@crave/farmblocks-theme":"^1.7.0-alpha.0ca4fd12","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0ca4fd12","dist":{"shasum":"1be34800c8aa8757aa8262f53e1fdaec151810d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0ca4fd12.tgz","integrity":"sha512-Kz9yjLUGjT1TpJwh+Cd3RjABDiQO5TwskJ5gXmQ92RF97O1WdXZH8bjjZhkaW4LH/m+93WCiJTChXjLWZTeiCA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtmCiCRA9TVsSAnZWagAABqIQAJ+m4uaDrq1/bWIKchad\n28LaSD1Kc1Y8MXKmNK6oTA28LC+gEEK9M0/FPQycBmUABxosD9UHJy6wcCpr\nU6FRizaY1cv+zJ4qUI5hoXxygXj7F1iiVdMX9TiLjyMv5XPPtQs27Kz4kFuC\nv5xITYcUq9PZHtcUPLfEjV8yfmvj6AdjtgVWz1TlN+gPrkXa4qsYl9q2/YOs\n3lKQQAVawInuO/I5QUJWWs4+JIfhbl428Z1XpiPGJLKUaYg2AfjmHKInKQ0U\nE8SNuNDRmN7JnS8yP4uAmVNnSF5xKq4wQfs0obS9bBMU4ZyqWbduGVrCjN7y\nrV3Q15jTSKsPONqmpUT9MCrhSKsd6gUmbFwdjRLLI2dNiby6naInxD3xA5dt\nQ38C05ZC8w1nBIgOHV1z/87a5CbDaZIr5zw8YyFmr0Dk1fn2f9ZVvuduqvpk\nQ/RYE2KSvOB12z74y3C2mvYTf+cTW8397WueHt+pvk0vtGX1z5FVK6IAYyQt\nmEAJK28IUWpynjyb3NO3kdVNEvFb4iUMMuHAjMquxHHeAXkrSxhxvHqocWn8\nA+WfsbiVIaChHs9zEGQT5+74dwdsdGZq03Hi/XydQecGW+uaN9/F3qCeX2x8\nSUW7wTidOBzuVrgygqJZ2oPY9guPFoR/GY5XBNvDD3ICVVUBxYehRIBqt0Bs\nN/Kw\r\n=qlj3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMY9jHXqFVjPfec89/Bz0S68RWLT09TSOOAH7u2y1DFAiEA5pUtBgZUxx3WFBYiAF53thayngCIjxZOfY9D5jh5Gg4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0ca4fd12_1538678945575_0.6064528523169412"},"_hasShrinkwrap":false},"0.9.0-alpha.b3932f55":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b3932f55","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.b3932f55","@crave/farmblocks-theme":"^1.7.0-alpha.b3932f55","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b3932f55","dist":{"shasum":"25ef8e544b41ab54af06cbfbb4dba878e1d23a24","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b3932f55.tgz","integrity":"sha512-Z2uCZlKhRAYbc5c9CCflNCe4dlTgzX/ALnLLbv25o8LPhvQG4zfGd9/5GtAZBU5ILIsxWoa2j7ABeZiM2jhNKA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbttGXCRA9TVsSAnZWagAAc8wP/3fa9lIrU7pUhadcLix4\ns4oGSE79ZO4l5BThHq4YWbPkNDkEd6VX2Owlxhclhfy9hgQkDIgT08g96R/k\nqUN4UQsmsNKGj2W1XyRHcOuAkrnS8fLR3LC2bX/bEXze73k1y3AZpcroSe4c\nlUltsDR+8iJRXi4Tvh9bv8bs0UgBibtkuHz0lM4V6qEhV2fq7CVHq8hPN/Lk\ngEw5NTHC0O4FaAKfC5Bzy2F5WnFH4IVyepN/WzgBiSa6MD/yEyW2qc5CE65Y\nCOhZ4IukAbefEYv5xSOKBT5SdvMncERbWX8F8YIbTDs54ZkIgc9O3wGcXxjN\nLyXypihujM6KFvdwoKvDDNzeg/GARG8FxvSBl7RZVcBrqM+0v2exJQuVH3ed\ngGaCVutmrCWthvTFAUPvk8Fye9sG17UiuWYBQTrKF8L/4d173Cdfmy9J/z6c\ntTW/PHdH2gY34Xo0COsP2SPd+CAQEBiH7eh0+gJMM3CaKfl8+F1lYoGhzqLh\nRWkpzVb/oVm0DJrMyHA/U+et8FQvgSQ30S9y07TX3P4JeGKxXk5p5HC+CJSQ\nrjha3IJCwuJVdAqqRa4vVeRg7js9wqvgNVr/w/qNkZAor3z0/t6P5cRQr8ez\ni9I27v5+4cUqMnwRzG5sGAb6lRwTQztcsbmFF9s7udp1tn04I3Kocw3XSQgD\nGoAQ\r\n=Z7Xs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS98ctovKJtgRDfpzfGLVkbdGTR5ZUzEw3RjemBW2CIQIhAK17/7ah4fLMShsIoZc1KEnOVlo6wor1S1f0d2cH6nnY"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b3932f55_1538707862275_0.2155976863931348"},"_hasShrinkwrap":false},"0.9.0-alpha.6e8d8c2f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.6e8d8c2f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.6e8d8c2f","@crave/farmblocks-theme":"^1.7.0-alpha.6e8d8c2f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.6e8d8c2f","dist":{"shasum":"5eca62308361d333fe99b9c287cf469e1894fd6a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.6e8d8c2f.tgz","integrity":"sha512-pCnwKNUbAYxGX4JH6G/iW8m/VPtHnzmofO4qrDTTwf/Wm0UJ8XJXmouB9LYvH9e7ocqyRjnoVdeYkz9qWUOjPQ==","fileCount":15,"unpackedSize":28099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDB4HyVvPAzvVuEs+2bLUk3ODj1430qe5bx67SABZPphAIgb+jjbUXZx2r0soFyAsON3pASWT+Qwqelt+aiwKP0sss="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.6e8d8c2f_1538722114085_0.27046118500931415"},"_hasShrinkwrap":false},"0.9.0-alpha.7c0bf40a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7c0bf40a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.7c0bf40a","@crave/farmblocks-theme":"^1.7.0-alpha.7c0bf40a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7c0bf40a","dist":{"shasum":"4f373df56abbe19b325fec9bd5a775123fb5a3fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7c0bf40a.tgz","integrity":"sha512-UNz5655FJ8cCs+wMoBGOxPnfqigjpxd40Nrn3PPFlil/hvCdP9It0e4xyOeN442kYWi8LcGR+JGhcEmQ0oIfIg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt3d0CRA9TVsSAnZWagAAbBEQAILPH/RbEfyIKGTI5EAk\nxTxr5orgJNMaBAei/jit6Cn18/OwjDAySe2hwCczr/w/BqFkxQLEP4qgQZlm\nRaoOqOBnR8Cb4ZHqlqBaxoR/lDAVOOZn6bMHzPp175/l7ReNsJ4rNbmo7uYM\nwROpP4KuzA9uilXSR4EazSH248AHCzszT9FVKLaIQ0uirhcji36oLvavTXIz\ncP5LIHSwvDnNtImg6X1FxBSLGbPWWc7Y5zvjTuDe+iYvgOXOhOSYhVlvgAVK\nwA0z+FI0v8DNU0QXTER9rtRnLUyWy5wcKwF1170aPzLpgSi3WXFBepoyLlNm\nIQCVx8GvlabpvRYGfo6Aywe+BLoWI1/XMwi4S8IAUMJh3KjpAWDczg72FWSe\nOHco5LMVO6i/rtM9yXJC9qrJYl1Pnl6o7sevEDP3RsPmJtUUC7BLhDCGzOCC\nUnGawG+7a9fVwzqYhfv/DK5o79bd4HWBVJnpplZrXG2FInKr72kPd0pEJ9OE\nie+ggriYjAAfTFbIfaVuLbI45Yg7iB3oeXULvG8Hr7ByhEluCyEFzEPVuYOU\nKSVbP+fvI8jjwa9vqL1AAUjWsU/BM1ZNKkFdsMXq1LPMRPvwFbLlmn6oviVE\nMssWsVqnIfIq/rVjHDAAtXEivao7GRD4tk3feA7TrMvE88JvrMD3QBIqwqSJ\nqjeR\r\n=Jf1j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlLJU7tcIXAzydhIpYiS30TDro9Bc2q5qsEMuH4IC06AiBoEJl779DK9yGJzvWpZPLzi0Py8X1Y7WM9VTeP3eDWOw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7c0bf40a_1538750323430_0.8685930791266703"},"_hasShrinkwrap":false},"0.9.0-alpha.94c320bb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.94c320bb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.94c320bb","@crave/farmblocks-theme":"^1.7.0-alpha.94c320bb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.94c320bb","dist":{"shasum":"ec90215ecea06ffb3dbe667ec9caa8c2ce4f668b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.94c320bb.tgz","integrity":"sha512-+TvRLGsban4CZjW2z+AMrtRvUHLwobs8YGJHGFN5Ea1PzPGG6RmmGpFpWpQMlFWgG4GPBUzSUapF6p/JMn/2aA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt3xNCRA9TVsSAnZWagAAG6kP/RN1/5Mah11MV1gJYacs\n1LQ7VBLE3KAnnrYjYRw0jXOWtxcjU1+akHHVZ4CG1Jj6cfWhs9dyVhtSPMlc\nBeP5M0SaosVjOpAjKT/OLmSMBJXP7uxZ/rRZS93aI2xWwhmemAeo1ni0PKdM\n/ot5C9SgfpIZgqX6kE9WiOOD/nwkao8cgjX2YymHeUN4ggZNt4KaIcL/XWh7\nvcVbU3gNXE6X2H7v9N/s8CZRS5AEKuFZwEpnT25d6VlyzBxtgP13SMCnvmvq\nw1OQrkq8foG2ulfGHlPZ6CzqI4MAN0j1QuUrTrBtOwX4JGRRox3sadQh4tJr\noR2yJFA+auCBQitJKogYpEKp5Va1MR87aKvo27l9sAp6SeszRlyMAeqT8lG7\nPARUJfzdJFzuewYO734x6HiJaLi0MsEgNR6tlBanN+3DnpqjGosX27Z6zxQr\nV0uHPvegazFR8SMuLMUetFnYx7quw5A3W3J/kdibvjslkB7o9sFlmxlbC5N2\nDXiZOnTCKbntF5xo8pauM3lm6nh8vbwkRL7SrMjBDU0OFJjKaVaXlWxeQGwS\nNyILFosNn5c8y+cqZX7WXx1/CX8Riy5b5yacsIxew7GcSNx7NFmLEZfDpHAM\nrYLTpJEhKuhuCeXOyG0+qEARDFwDFzvyn7g/UrpgQJ3MxyOcEeZgczysJBW+\n7ufn\r\n=4rjB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBFgSQQSirnpHd71+tAY00ZFzLnkmY8ORBN3UhdN29oAiEA+abEkhzErHRkJd3RB6lDQXe/rJQiC8fnMZZyr+1wwj4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.94c320bb_1538751565149_0.7529101326442755"},"_hasShrinkwrap":false},"0.9.0-alpha.cf41d36c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.cf41d36c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.cf41d36c","@crave/farmblocks-theme":"^1.7.0-alpha.cf41d36c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.cf41d36c","dist":{"shasum":"86c2987a90b4d8df27fc44f730652ba70e2c95b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.cf41d36c.tgz","integrity":"sha512-6ezitsYsm2MBPbZH8KC4V8XF1hgf2chkkUyFIT3XZ1iYQGWsK/gHCAXUMTBCacuLYjvf8P5rLzXb5oThOk+CbA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt5pYCRA9TVsSAnZWagAAmb0P/iKmJHgkReVy/QClaRmC\nUbtBANW72kwjc7dKt1ZxVKuF4wceid5NWPAxC3PTjf8pFivpk2fXucyGJZa3\npgNMgX4E8cA4hICFmhefmp52PxgRydtYODLNLkeqcMyy/dScitPtF9LPj9Dt\nECCPN60qrdd/ess5i8iZyQ6ZRGj5c1+pxEcvdjRzdzuQ4rsqiLijssHQjmMT\nwnh49Pnrx5cocCHyDy/HVjU2LfOIFg4xJTg3wxpr8oNq6889KSpDJG9Gnud1\ncLr+oAzrKdTEHn4yGA8NXNdIr0AAUvIGq9R4EihA4X3zJg/VQKabGYzCFlXg\nCBFfBcvhBbYf7zEBXf1diZPPdqq8OWDYZNOJ8W7d+aHQ+gqcLU92XMpDMhz3\nmkX0fdUqzXHWCqVf9Xn3koOJGARPC5nOO972fsPLy12RIhjSbkq2hg5WMOYv\n75LaWilEa0X57WIf7Oqj8NVIPLQoiNguilKKQj+1+aAL2uNkkUIY2oqSkL2Q\npqyUNT2etiozOfSGfwLy7KDN3hzMAb3ifZS/qNlJpndfpZdHJhVI9ifKMCkY\nvWFw45Zra5sSZKaSNBI7OK7pWo0Sh2cu6ChdUCaDtzKk9YzOzJd89p4PWtxc\nBVuftFVjF2qsamegXV0EkrXCw17hzcQKrIcLDW7Ue2g52p/e3olhmDpZ+qU+\n/pva\r\n=89zv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVyFPlyy8xH4V2MbPc60M9mBp+vlVz0RmbVIz4L9rjIgIgZeiBeSToiNKADmsnBB3NXrHT68pq1A/DVrU0Sj7onDU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.cf41d36c_1538759255432_0.8529419706076031"},"_hasShrinkwrap":false},"0.9.0-alpha.ac480af5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ac480af5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ac480af5","@crave/farmblocks-theme":"^1.7.0-alpha.ac480af5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ac480af5","dist":{"shasum":"0f3e744c80baadaf45836c9e50e96ddb35ace05e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ac480af5.tgz","integrity":"sha512-oDgGNMQaj+up8ARXHhnBuhD1LhJpTODCsRqQKc9J8xrH24BXynotoBLCe8nkZ+ePMpiC+9QnWJgJINYkM4F7og==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbueVbCRA9TVsSAnZWagAAZ2kP+wcHdRuLCGBFzq+Ok/U6\nUk47De5598TV1MIjahjy4vDCzkjoGrop/kWi748aevi1OU3ao8eYJHe1om/S\nut2xQslIA7cVMPG9V134Le+cGlfMbTpUq8RrA0EIOOm5QNOX1L1H9TRROs1J\nYvDygc1svTgSvrXqO89Bn+5NR91SCZlfXYn9yrIjzDiJ323nEYXb8Foy0Q/r\nR8M1PkHsJLKRyRUnbLN6tfZsP5zEK4lSpU8aab4z0fachXDq+NuaMjM+diL5\n3DevNV+zHbleVYY4g5mWZUw0jT+CndwEwiMAFQ2k19zNX/By9TXJxSRirL0g\nWSjABZC1se+7HkQNpfr9McfXbFP58scGoiiZu2vYJH8TJXxE8QFMT80OmH9M\nKZ4/FhMDMGz1cbMBzd0H1E/BUYmmR8nOCVQoZfl9acTHN2ga8CDT/1pA93m5\nxrZ/S/bHUc1NZbnbLplUbNn5mjrvKpFdj1B2UHP6ikQBNr1SSw0z4YO4LuUw\nYziPg6/k77Ny7vL9Nta5yT6auAJqgH2caL57Z7LEkA3uAc3lDcchaXq6WtgB\nqAZgvUQ2/OP+j05erQH0sAHQyM2nJXHlBBH8lfyQqBLtUpWoBIwFlrn2AZcy\noBmxAuZmH8PXyhlqG9ohU0RAU2yga8Tl8qjwZsnFqqKcYGM+7zRlZraWSKj/\n9zKX\r\n=5xXm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJAFSVmeYeM2placFGffa8P0zaHWbylNhwxZB6LzQlIgIge4ynRNJQBKdxM+wBJX0bYlvW9YyEGPRXEcXjqcEUo+c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ac480af5_1538909531172_0.6607034412448645"},"_hasShrinkwrap":false},"0.9.0-alpha.a2e99832":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a2e99832","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.a2e99832","@crave/farmblocks-theme":"^1.7.0-alpha.a2e99832","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a2e99832","dist":{"shasum":"8b3503e6e98a4af6d74ffd40efc851eaf6aa9ebe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a2e99832.tgz","integrity":"sha512-/fnTVq5nOlPnrPk9PGd46R23wqX09fbo568vmhgFmnPfGU8XOObkm4zQRjvH9AffLOUR3O7vFh2ofheaqnIptA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuibbCRA9TVsSAnZWagAAPScQAJtOqeZ/ftwtgPColVLp\nnUclMvEI6+Oj8DRNCXtyjzVfaZ6aYTo3zu8bt3tEUem6EAT4aqhWHfE8Dz3Z\n58zsDtkE/NQwCWeDtHat6fPbKZameDINeXACNPoDGR7u/onY9RCHei/oXH9R\nBZSVldG3/FNkL5vS9WhXGkXw6+TZsIOVCkhCanW6nJf4ENfEHLhNZhhKzfrx\nydTgtQCIqfQk2h/mwYG2WUIZF0oj9+GpHBfEcgoOh7XjQdjmtafpswGOMmUZ\nK8tk9Tl/7InXTENtuXtmpmFhtSvofSAdVHs+ol4RicLikahVtSJ1aq0TWTNp\ntMM9sluX6YK2dzsic4jvGuK231kbY6xAME3sMdNHKdnRJOCFy3U2IokPrEOU\nMiQR12fkUbn0ve+8xkpb/Eon7TmAQDTg5hyXPcbmao8wPZW4fO5wg2kL+Mmz\nwLNOqAQbsHUoki8TeInfdKcvEG5HrdlvCkmE/nR9nUXaiakVEpuEOFOWsKhX\nCxP2Z2/HxbFSDs+nChfH4Tbqmz2k79APiGR3njv7wjond2WV2U0Y+db/b2o7\nALbYIwTKhKvzxKQilajnMQ4MzwkoPCi/nmGFGoezidiHq6O5xb0LHDaIXOPe\nbxHOsCR2oRiEsgc9+MEJ317kAS+u+iWPkDEvZorXzRmsH7Rwp6EFrCjwyH03\nBivS\r\n=pPse\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvn2oDf+GNmupW4b4EUpnuFXB321WFPBLInEzBa3CEHAiA8iRkyj1ZkSAdcO1xsXTHHPf+2FTsof8Omt40zgxbfxQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a2e99832_1538926298144_0.965796458077173"},"_hasShrinkwrap":false},"0.9.0-alpha.285d1383":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.285d1383","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.285d1383","@crave/farmblocks-theme":"^1.7.0-alpha.285d1383","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.285d1383","dist":{"shasum":"25f8252b810a6df86acd94f302f706c5d71b11a8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.285d1383.tgz","integrity":"sha512-LcyPPRPZDN3DwcB8VFuxdCwTPpRmiMhjv+7vkgSGAyaNNa0AptBRe8jIRmQeqGSWS1r9WRg83EivgxfMl0FMQg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu2/VCRA9TVsSAnZWagAAKmgP/ijqx61gGDsvKbmpA2uq\ngjwStQ88QKH6IrgmwtSuyxnHeZ29F38NWdtLqQXnGBINRkInM/hTxrVFfEvk\nQjqBhQlgtnsCNmuEpZkenQj2T1P6KalIYNNmSjzxJIkIhNLHVMSjHVk1MlcO\n31HoOlSgGemKoCVlm1P1ddf1XS75lO26FQXfXZl0B+EkvMbaw7i/g2ABxucN\nwgXl7t381lJw+fgPkOO+4eEqRh8/gRdXzIHwIX6g2L13C8znyMzf1V+6dItF\nDxXxxa6tF+Y7AzE8dhSiZoTiH77pmyJfw6Ra2wLtCqwxqHesaIe0jnQE3yJr\nHCzxA9wmMzASyS0ejaY1kRtNxp/lT18tivg5OXid14nVZlY7alpPtEoG1vU+\nhgihb4qyECsBqNJFH/y1JaDBCmMRsCjEpxz06r9/RgTFwg3C9QcxepYGj+7H\nyWxBK0QXx09hfyuEL0pKnagoHlSkEFJdqSKc8MgZl1obgEfBuJuNnlwBwTax\n85PwMBtM3uipDSWqLgrCmhNxcc5Fda4qDbvicWktPq0PwXTPhJ/6NGCE5xUe\nabmvt/+3XJxholSZZG/W1HVKiwyCFKWzR69pEu58ESGzry+u37IpRV4oAVsX\n96DsD3XHhTmlnE7AbIduvGn74S+WqFs8epRjmpe0qxxGYNGJsw333DSvSzUZ\n2ob3\r\n=qKu+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD6yMgFHyovuN4HG6c1Oj5L6f9vu7gJ2oJxwJYyZIQiQIgSR4yx3SMeznnHhSI8JBVaj4SGC6ulnXguDuWVCD0ugE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.285d1383_1539010516510_0.4617833860445457"},"_hasShrinkwrap":false},"0.9.0-alpha.dfeb3df4":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.dfeb3df4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.dfeb3df4","@crave/farmblocks-theme":"^1.7.0-alpha.dfeb3df4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.dfeb3df4","dist":{"shasum":"fcba80b0b37ab77357011454077f7ee97a915093","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.dfeb3df4.tgz","integrity":"sha512-59HVHybCmmYYGK68LlNF+52R83Lr2JsbqjgwW1y+Q2UrmEc2HruH79RuHM5XNkaS+UEU3iwErEQnU7W5NqF+lw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu3gICRA9TVsSAnZWagAApJQP/0GtSVB0aF9EJpQZQaPx\ncOwKgZjlwYhnhZ62IKwLk2oR2aZlI+bfFw5QOhbvZCyzQL0MoMeF+lbQfMDW\nK0Nyf0auJXBLX1IDxfHZTFGtP8XZaeg+WkeEgrcJk28N9vxBlDTExoEM7pu1\nlIXb217TMdBu09d52oXEt646/OrbF2iE1k/qeAaHlTLsYliuz+82ui7uJ+aA\nuCk9Xk685BaIFLV/qEYvjaI15s9xr50ILAXP3B1B1Q70xwk6em0DoMXYwtKZ\n5T0+1pA0tetbakK5U4LieAET2u6yzH4Mmje2pANhrhUhygWOPAUGgzXPjA6V\nLPunhjs46/xaK2dcoKWpAnt9gcX9Wp+ZkjabAT7iLerexafqveDr/8HDD0gM\nC1KDIYKgWMkAawWoGWbdPaT9WVCGyrZ3XZq8HsNB7WNB85kB3qEiLOZQ7hl0\nOr4wYgydJFxnnBnbzZScIgxFcqOKuH8qIftaTDC0mvU9Hz5mjiMaMz60u8UX\nbyhnlhtYRqMOuYL/Uc45NukzV0hAVR2mQvNnTXabqR2j//qC7s6S88gcM7Ax\nm1G1bvY8ZlMjdLfJ/uBD/FF0BctpqLvk/dBRFu59p4Te6votmw3vKNUw3cDG\nwoyZe/XuaT/7w076zmeg7s7Ks/6HKKGufuYHYpPF59fIHbS4rUS/3rxlwBg6\nlzLN\r\n=sdo9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrBj+3df8HReMBBuBkivV5fGDAsFF8QGLKjiyYRiysnwIgWSHuW6gyhe/DMvQfwsrkR+MxkEN8vvR5xSSuQwNvSD8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.dfeb3df4_1539012615929_0.30055801815791217"},"_hasShrinkwrap":false},"0.9.0-alpha.248dc626":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.248dc626","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.248dc626","@crave/farmblocks-theme":"^1.7.0-alpha.248dc626","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.248dc626","dist":{"shasum":"7c74063892fcae94f1945f3df24273b099ff98df","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.248dc626.tgz","integrity":"sha512-YcemQimxLXtXAvgY//gYbn/Vs3DfVTKUpfb/18rIlGpoUiiQ3XgwA4YnqF5G85sONJI8pRV5qq5BTgQ1HmaJTw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu4qGCRA9TVsSAnZWagAAfhoQAJXieZVyURsUzT6wVhlH\nLQS7y2dxpT6xBXEmzFpk8yyJyelvtVyj5v8+lrXnb63p84z+Mp5JnQWq0k++\nR+NmBIQa1Da1PsCGPZ2OG6x67DW9/oTAqFSQgNoUvMIpc3oLxWHg2BxyZ6au\n1ceodwwGt87IjlprEVro3UFm1cMkRTosGCC2edDC07ZHH/4zSjy90xD9fQl+\nbdB7Vr5W+6D1NS5wAdj9RsZDauALxXkOkW8FE4DQ9l3j8P+sC/VFxPFTyrKi\nwfiA6GLRbYAmkw0Xp4vrnS5+pD4SxhedxCzj71sI6E4eAm9Oj60rPD8UOk4n\n8HniwXZ5Y30JS+XwktrzobLfBflb7GtQZISvqy1NqclzmzQy1NCmxxJU46Sb\nv2md1FukfXwS9ihW/r2I5xoTjLdxjD9/Amuw2pLpOGj3sUEXtPd1jwalYN02\nCudYKx1jH9WLt5pKoIVG+GUCaDDnrj92OJYifXdljPLf/Ar9Cx9ZSbfMTsix\ncY/XqTgE8UaFsszH8LW6AeWjM9Fl9U1hp/kepZG9I1dGsDZ3EAYBkwuyXq/p\njoWopXd9MwwJsofv6/zf7ByG5SmzrHLTRKTHo9AAExBiEDZlxziEG1mykvDf\nC0SbJTSlqxDSOjGe77qu9toWPHMUwhXdCHPY4o3q1gPmq0Si4kjEG3sOXkOE\np4mq\r\n=tUv7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8XM+fyn57LckBZUegaO1SSOzIuXt5PmPBnatXT0aJwAiEA40mA2Tr2CqvUwr6IRSAifn/II/vbdt99/q2wrzS0cY8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.248dc626_1539017349436_0.6742043554996882"},"_hasShrinkwrap":false},"0.9.0-alpha.feb957a5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.feb957a5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.feb957a5","@crave/farmblocks-theme":"^1.7.0-alpha.feb957a5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.feb957a5","dist":{"shasum":"3d422b7d5c6bb70a2e874f66bad7c2cef1a260f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.feb957a5.tgz","integrity":"sha512-w9uLt3J+k5vjjXPe8ZTHRdOgS6x3wdKmQxoU1bxsOv04F4rDk2SCZBXIhPyBEuxBFEHaWRmmFuSWrI9rZZGVzw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu4xOCRA9TVsSAnZWagAAz24P/AgL/t1Gn2ZUUBkjMOj6\nl3bP7BG243HTyiXAr27/ASDkZXH9c7f0NmuzHFAkPZMp8Ekjwl96ciyWrnuZ\nsDDmFiIRAhJBosC4VKgXaDnCrkRh7tGQCmjdKYYNvP6H2K4ETss3+26RYdH5\nhploaxzwnfzyzv7ZP2RdRpnDG91m4WKD4ayQi5abyO94dTG6LrunmZDU1Z7J\nzl3d89gJPio55OKF7/6czXr6AW4nJfsaqMMifVHVyxzxlbWph3SwYlH5XE/I\nBMluSieKtKgEQMYoYYNQz4y9kFo851yxUXFEvAscPSPHXi0C4E5Ij/c3E+pn\nh+VVpiZXaolhKIBvulLDm+La9Ra0Wxq6xQq5+mpvo1eDdVGwWXeHX8taSrsx\nFUpsTtY1jXXklyeY4iJAilpJJ6NH/6YWD2+VEyKoCXscHynQ/8uaroYRbdQI\nxsy7WY1G+OxPktOvNDx3dItvLZnH82N3+Zc1jX7K9eUJ5I7qKEl0TMtm8AAN\nGZOJDaT7xNt4vARA+vqg1355XebhJDM8ebm+CWGCW6YrfMQCDOeT2oVsnGFs\ncJgN6HD1gqR2BlOV3LnONw0r7hX3jyayNNypm1Q5K5bXOQ/bvoAv07+f8UB3\np9bHZppgo2dICQJ7tD7EUSGS4GFdFq2yk7PhM2sJPH+S3yJwrGCtbSumdnvR\nVcwQ\r\n=7Y86\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk0rkIRpLd2pfZwyeQptuy5bszzfZoV4ucHT2ruDswzgIhANC97q5Fbz6mXZ3oRiQZr/pOQnl4Pp2jl1pcCB8OL7xa"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.feb957a5_1539017806131_0.30927219722651156"},"_hasShrinkwrap":false},"0.9.0-alpha.2efdf146":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2efdf146","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.2efdf146","@crave/farmblocks-theme":"^1.7.0-alpha.2efdf146","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2efdf146","dist":{"shasum":"51e3d37b3431afbdbe9836d9dd3baf9645610025","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2efdf146.tgz","integrity":"sha512-jigaX6hLkTXeghXhZsFt/kx6tagGHyNqZIRu0Zx1Fga/RrH0S+AgafMjC9kdNfmwYqDBHeaq9991H4Wp82j5Og==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu42GCRA9TVsSAnZWagAAToUQAJ12BV+yNZZlKQhOSEOD\nudiGP1s81QOe1iCNDFic29jJFwghscFbYbZv3tK/K7myDY4uL9+1PQDtqvHs\ntjnI15or9HybPIHxzH23F7Nwhb6DOKy8GpjmYfJOHeUDak2KGSiS259ERjVx\nkOXM9Te39vLuPx741r5v4fTfZEgiSjwuu9tnr9kjmQK58ldEOcDJ7umXXtD4\nfgV/EGAodGnLyjWs95wVLjQdiZlZC1OM4q/JxviC6hdZ+MYW68Om9d3dOnsE\nKhZVB21e0odomqQt6ChCIuvm74o31jO6VTqclkhhwQQmgDgbJqqq4Cmaui+M\nhozKLY64d7dCOitRnr2tir2aCYHqDWocAX47gizDpcmBkLVOck1eXSVFOQ9w\nhAvQfgJ9kfYzjpzMSyAxY9O1ueyFfC/atnYPQokfAp1iJnLzquthLDKmVsvS\noKU5pU4aVyIUdOqvzUZ1utrmFPVnkUvFh7myZKFnyVSMwxZ2oi+r+WVkrukt\nXf7vTfXXMF3+ZQATtneAHMsL8IMDyLAXljfOZknQKevrpnBPkLIWfXvVlXRv\n+KkFsEbVWJn+aXVepitt8HFGBmYDJssYe76jkDDlMcqKhoWtY1e+otcX54zb\nPu4kLZxsq8OZNfKbKsGG0cVcY/2FBSesMiECxDMsZcyeXiWM94ENDwMjSP9V\nOzQ/\r\n=sDFI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+e3IsPu6PTAJ41k5HbuJNcq7wqieeSuPvhm6zROkP9gIhAMEq00tijz1cxtf1dG9+JJEFFbdtruO2yis6kP77qCSr"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2efdf146_1539018118096_0.9940216181186909"},"_hasShrinkwrap":false},"0.9.0-alpha.db1b6d06":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.db1b6d06","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.db1b6d06","@crave/farmblocks-theme":"^1.7.0-alpha.db1b6d06","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.db1b6d06","dist":{"shasum":"e5df87802ac1cc753341e2358d97f2bbbabc0acf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.db1b6d06.tgz","integrity":"sha512-ya4dhS7ogMlqaN2VOl2CC8Xa2Wz1MPFskkOJmUmXvBhjlKjfUy+fKvy/ksHq7UnLbFb2nBCG47km5GnKqa8fOQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu46kCRA9TVsSAnZWagAAkpcP/jwzdHQ6RsmZiOjRGZgN\nQhWg/O61udKbam1hb61VHccN+jpgTVn+vKlNzr5n82W3znhLnC0qWgh9WDwM\nKRUyU0UkekRYFLBBzRDx813RKAp4Ddi3kCSSTBOEr0HOsDTZi8c1qaV+1+YA\nZ1kLPOtwDAmRg+F5d6MODIDofHdChzI1UliV8OXbRopC/1xRXNEt9zPqmlEX\nXRd9e/DZu370YMWX4tNHEkbLrUhoZBPtsoRoDy0qCTX99hMhnC8MAQNCrK+y\nbckcTmVEp1Hy48Vo1IlX/DagEv1PtHpkjPqGyzI+EU3cBNEcOUQoQ6fU7dTr\no9DZCOTOphgQ1Xu17k5CgM/NoPEKgS3JYEfoKNOAQ57MhB9fo44f27LYHSSu\nwds0ZCv2ln6MlQ/nM3roT/2Z0f5wH7Ocr8xS/aYQbKJO7yRRAm8UGqNLUE2r\n5MOJqDEi0rTFWLrpQ7qUKzvD6IEOeFJjjRvwdEkM4J5WzccVZpBNND7XUTlw\nH0pF9+7WDQmHew6zQayQIvDgJe6s1HCmeJLTpqyfJvx87Ax9c/+w8JiX5W/B\nJo7XTPQXuXygU04biyIWU8upd1Iyhbf6AJVig6ZevIZY5mJS1KzPT5FDaZRA\nVJuGuTBP8caZ588fZnel29fwznq2j2am2BJ7XMPqFTEGwXkAe55CgFNmZH/a\nYNyp\r\n=ZY6g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6H3SWboL0v1FJR/pRTNrfujemSEFa3pe8m9MXxKPGWwIgEjQ1PBmNG9TZ8oOPir9AAYAvRhg4yo5MW7gyWJWB7Uk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.db1b6d06_1539018403450_0.5039484569456929"},"_hasShrinkwrap":false},"0.9.0-alpha.40875abc":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.40875abc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.40875abc","@crave/farmblocks-theme":"^1.7.0-alpha.40875abc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.40875abc","dist":{"shasum":"c2025c01dabb32f038621e138dd744507992c0cc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.40875abc.tgz","integrity":"sha512-HYRCIHmruSFYe6sq2Jm7PPHrwpmPpPcrXrvGjKpR1xRDa/p3CrQJTA40NNJxC8IVlq6J1Qz0v7ycCabwTtARtQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu49pCRA9TVsSAnZWagAAJv0P/i96AhSHaYYY9ahPcL5L\niRrtP3XYPu/8tsZzXDjqohk1BcBxJZDhejuTgymLKH0T5gUyAJSzYYs0WxA4\ncadXNnvxS4NgRb61vJiA7rSaKS5JHPY9mVGsLyRxe74RbJJzH8O/qc+hHWKb\n07p/s49vnMi36vtL4DaaUC2EZOn2yGvnWo/itqQz+Gfg6ZXMRI3QBOLSRp2s\nX1oy4fZLvhlPSwHwCX6cktPdy14Kg41KlI9VE1j/TaDgBf8v1xb61M94ABvR\nO9xb9f2Gn8RxgNHaW1qwaP0SpudwjWLC18NJfkDixh2uf1QPSiBZzpbPMJs+\nnl9Nv/GmQINi5VGVgHK0xw1XiiXHqfw7KbTi/vEYDK9/XX9RGaucyoOoBQi5\n7KdL5v3M+XRRIV0HEnAb/ph30DbxqhKZTVXek1zeq7ah2bg5SQGO7gSm2J36\n99jkCf6lRgmWi/AZfRfhY1jp1F3zSJPJRzXtDKSmUpE+/WIe+wdZuyCZFdUD\nLJh9tNzf/FZ9ZyqvJCGhB17B+kzEBsoLWIZkg6gOc2kU8hohyX7BXiczuRig\nhGbSLUzP7GUcCV3wv4y4Jlex4zcehGRS2fgAcrk0eocnpEUzppps09r686B9\nhhyez8qJTr8Q7JQIKVRGK1VGi/3hjxDuGSixglNnt+J3yewbvedTe5yF8DhU\nX89z\r\n=cRas\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3EWbtM31ShsYhSOahpegTJsy4TYtHAELmWgx21bmvTAiEA+FlBzpFVHmDd1GwtRkqvGBIKh4wnxXkzFiTs73ywZ/w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.40875abc_1539018601041_0.22929343634806942"},"_hasShrinkwrap":false},"0.9.0-alpha.1e981bb7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1e981bb7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.1e981bb7","@crave/farmblocks-theme":"^1.7.0-alpha.1e981bb7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1e981bb7","dist":{"shasum":"28e7f9663148ab4bae8b6fe405b90d0488896327","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1e981bb7.tgz","integrity":"sha512-joY74log09XHObsSi3GPDdigcGj6yvzfSKsjAOp1Xc/fl7m6GVLUImJC45DTajQd1VRLb3pj/nNp1kqCaz8nQQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5EhCRA9TVsSAnZWagAAY14P/0GtJjVhNmmaeWXxrXWj\n7cVlQnIz7j4or3mt0cmBhSygvuEQoH9b73kJ9aO5TJ4DoHPctrh3t+s29YKy\nkU3GoSmWqhLENRtc58d0FU7w8IjclrhxoJwZ6ZgO5hwjZ9VsqwrdFtT0cFFG\nFQI9A9W6V2PVjC/9dUYxHtpm5BQ2SFTdPsOyFte5zVbU8mnBtLzCAaUZgGjo\nk2QwOXdzHRQ4NIeC4RSZl7q3BlVT64cFm29K0rfzJZ24r4a7CiZJiTq6zqO9\nPm3Bb1RdNd9pWYspsS5dEXe+ZApJQOuGjpIkUnrrJAMX47jBC2WGUav4cSpi\n/FxAmrZszwjG699G3lxMlVRmJQz0PrlMGceCCyyPZ9/5WsxFATxPBX1LeCpF\n1pJNDneLrLzBojuMcDOCCPVoVFBOIqDiYawze30FGVPK7F3wbcXHU9UNTqoo\nwW/83Deg+idNuNqcXM/awf5Qk9fb2gDP0KweyEwClDVN6aM3urAlLvl88mGr\nq4si7dD7MRYL5mGzRV4RX51CjQufmc4/6PIYAFG7eVelNjO4/CkTIhK6wL/p\nhTqXwDuAbgu49dM//uKaYCEPOuPtHiCMbb8BLlvwwJ9CgRYH0NOoUH9PvKLo\n9QtB2KmUKuCaceQawVMH1I63Ngjikw9SDDIAAt9a8lG01T9dXWPWJmtAORty\nOi1X\r\n=qLkc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB53GuwThtD5fd+MkkgpNjimTXS8RNVkRqR7PrsSd+6oAiAKv7zh6qATXmn6AM7v/Xzch/kRYxBO2wp0yyr/fD8Xvg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1e981bb7_1539019040596_0.4911408501710992"},"_hasShrinkwrap":false},"0.9.0-alpha.8cd345a2":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8cd345a2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.8cd345a2","@crave/farmblocks-theme":"^1.7.0-alpha.8cd345a2","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8cd345a2","dist":{"shasum":"2f8d0aaa57a833aca5597287ab0f77aa6cbfc5e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8cd345a2.tgz","integrity":"sha512-YFoydvbZxaQdEKLapqz960e72NpW5jO8x7euugg55LOIogdQIxUfhKqYz6xhNW2PvFIBCdcrwymqKdgDDVP0xw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5WKCRA9TVsSAnZWagAAjWsP/iPBxcS2jCXbtET4wrtk\nrpfsDihByhGk7xFL4I3aRKt6zp5wM25VYPIt0ek/dYhd9g316m/jBmH0NCmS\ngigF35BYe69gQq/S2mY2tpktDAgnVZs4maJzwvai3mvkOUiT2G/bcucDEbZJ\nZ0+HEnldVvhQu6M13VA/d83Ba8HKr5SoNxYga963+rUIwlYY8HutkNGEvifu\nA+pk0ud+LoXilhCDog0l1nTR8koeZVZQw4HDekTwZapuDuE4R26C7d2zCIEY\nNEp9JUUH0Zmbib/vROsC1HGnwjRbNIVOvUK4RxhkbIzxeG7N3pTGJuQN6SCv\nk+L3LZH98M85iy6nmBVi4lgc478jb1ZH053GOlbWfTNa9F64zW/lbF6LaHQ2\nvpkF7W2R7KWFyMtOGB+GUZIaYTjWQmFssQyro+X/yz8jISm7nDQYXWrzQVqk\nVLEBGKjHBXTZDWu3MKecNbdVQRcRIxx1JkgrOVrIAXXPXzkZ6IVb70MU/Ask\nCn4je09XaU6Zj8cuqr/oHGmv2ptPav/BPrPWwq587RY/vhJrBkQmhu0z1Rg4\nm18R7aHf5lEpIO+gMKMLeKCbuIms6pBRIZ5dgKOdeAxGH77Uf5pnHPbe/1s+\noOR5mhYUEdRBHhp5t561M0xJHRXlv6VhRnT0QQgt8avjiMr9betKApfqeXvm\nSj0I\r\n=uT7w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzIfe+FYcRdZd4ybJdpCV7G7csxOj+fA0Z74+42X2tbAiEAtakEmd18BAoPvLfgtCWjnJPraNxWId48Z+ejfM4jtLg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8cd345a2_1539020169855_0.34475885078704005"},"_hasShrinkwrap":false},"0.9.0-alpha.1142b206":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1142b206","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.1142b206","@crave/farmblocks-theme":"^1.7.0-alpha.1142b206","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1142b206","dist":{"shasum":"5d8166159fe837d91edf31b0e78b02846b726369","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1142b206.tgz","integrity":"sha512-hY3sfjvO0MkVKidRYVz5TYPWL+b7NeomqmX7Wye+xCMeexz4GMTk3YUMf1e/4UybYlcKAY7yANUos8ejZ5JgrA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5ZvCRA9TVsSAnZWagAAb9gP/3jehP8fX4ohPES0NzTy\nD31rAN+VP+qaaoBVg+GvS/aEkeaySmyagow0Cob8f7nztkkGTicygmd5J3X6\ntkdlAdbEgcImJRV0w3i837jkPyrKgnX55eJKGhBO8xbexaZv2EbIhl6ES0Sy\nNos4+htCC7nNaBOkzYSAeSTmmn//YRNSTuyzkjHM6lmwdZCnF8bTEy4ZnCef\naww3/oXtBeaKjFmNu4DZUZMui3xbfV/4WIEpdbaSgjDr+UJX+fMypUSLAIGP\nIcKmpeMZy6QwJOWptZqedSKKhsRBruvxXolBYtVzp9U+FDT3ucoYk9puEgMp\nCviJMrBxkviFdVFwkUWA3m95GBRQT2cxLz6hvavGwH1xoVyF7c0AO/ApPWis\npT3rR8BVmTSVc6BoL7QY2lrpyIAGLYA2uGzOOfobQ8TgJQ3yga3icEHv7T6O\n39BuHNuGlPbQzeHHYyqmcbAIVF5is+I8OjC7bPApTqws9bgEaAAl7IMgGWa8\npyTMs5ku29zxbDfXH2j3ekejsIpFXj2fBPDeBCuPSX9Yngngvey9e5E7c2Ur\nkWo1FvykJbHJhtKKjReJ9QO7Ba5BMal1wKcGISji7becSdmj/B76t2A1vps7\ncwC+ZCw4WfnFbK/FMoKTa5irrEpv8DII3lWGIGsbT49QdBdCsKyWB+QRjjIz\nkvVr\r\n=RS9t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVc5Jm+tOJs38DOJVtwBqzbFqvyNopUIP3egDYhjAiTwIgNW6btNlYiArJv7l6ZoFOmFTxta1jBhehUPOSFRbfUkI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1142b206_1539020398805_0.7256332516457007"},"_hasShrinkwrap":false},"0.9.0-alpha.62697e02":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.62697e02","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.62697e02","@crave/farmblocks-theme":"^1.7.0-alpha.62697e02","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.62697e02","dist":{"shasum":"525ffe24c2957d5896d3933a20577137e9f9d730","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.62697e02.tgz","integrity":"sha512-7lqGInVTmiuIi0e7g5/xBnn6l3+7Hft6SYnUBk9xCkZYcAxSB/LxwY2l2FmYAY3AnVWBWsbzXybELlVJO0vYYg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5f4CRA9TVsSAnZWagAAU8MP/iShGjytyUp+cNZ726g1\nGue0AcJR03y6hp/Cb5o7c9qmNTgXjl+08Dn8zwV95k3lIEmebBAy32taD9LY\n1dHqPCJLCdWzpLXvK58K5cOzl/YjC6wuSf2ne1HOfGnF3zHRH9YTsde8j7cK\nvVovng5V6Qcm3x3M45qJKxrbw6WK8ZWJAp+ZHuPBMi0IXqQD7Axkh7aeEwb8\nyUn6ZFD0BspTC/aKQVl/9xgZMx5nD7bVQuuzAsTv2PteSLYFVPMQ1s8qa5Xp\nlEi/rM5p1HaN6n2wNebz50cBtcBxiDzaY0mA/7RlwTzEnzlMIVpAknKT/CsS\nmE5q9+9zYFy2YMbSuxPxqXwJ5BDiPlwtYhBGRk2mSTNSVaFOs59JEbAFZPKH\nYhZmw3buouiGI1K5XT3HrHjMlgr8Xnm95qcCeCvxevMF1/ACfSB5IiFs1NhW\nJl5jHQWDLvp032c1UFB2GyOF7NEjsRuivcMPD/d28iqsDyxACspkfmBluUqk\n9Vxyso2ObPLuTuzjNu1pDLEz+zwKNCpGTe0ZfCkPAfyudhJnEy3HRl2r1s42\nIA63wD1MhHC4a8zmP8FqlIBbew1Dk7zimQs3hxWH+/MidFhRpin4GumeEaoB\ni1d+uLyXOatZREUT9e8hI+6NMGULsO2nT9yqjRDmFEZzKp1TkOp/yAQxKPW1\nF9ef\r\n=fEfh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvcAQmB7B0/XWkK74fHHWXWmu+iF7Gy/5Q0C2gTVUFDAIgLfgwhREZ7htdR9Yc4iAaRnCyZeDUpUMuxGKVcjtetSE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.62697e02_1539020791412_0.9884171835415894"},"_hasShrinkwrap":false},"0.9.0-alpha.a0d35708":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a0d35708","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.a0d35708","@crave/farmblocks-theme":"^1.7.0-alpha.a0d35708","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a0d35708","dist":{"shasum":"cfa6686a382f1309ae7f6cdd35ff3b30da49dad5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a0d35708.tgz","integrity":"sha512-2xLyzA0TgE5y4QZHuS0D2GCist+Mg8dul3upxOBPmnlb/hZFaN3kYDuNzAstgPD0t88CDVWAiYgioG6W99aAxQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvOu7CRA9TVsSAnZWagAA//QP/1TNcucDIa5grY/+i33y\nDqTeu29ciBKjAfCwIiRSGzE7y7jrgRJyzbrp3Jff4byUQo7uwp/AfG8bdwlv\nJXjZhMYHHf38Sy44lLceAK3SDU/fWHuu3fKZ/VTY8S3UH+xFPmIlUfcS99PA\nsd+zq3mKU6mWFhpmPM2T7MHEtjt+YDU1BupEPduF2DAAgrwMacsjXuYqWHC8\nTgpxPxrTM4OfzBH301hPEQqw1UpAfue3sqYYkfyhQ14ea+BcTH9t+WildEeu\ngcvEdFbBWAP3fiqh8BPJr5UtpffkFqicinsemW6iK0PXLEVwodEDNI8SmAKL\nrlfuFJB0KJuZok3zg0RjpDQqLdKYe7BetS72XQ4BatcAP8q0ne0a3faZFee0\n5gu4bdhuGCxqMTJcq1AKF7VnMHBbnmSwfF9npZwICn9EfkcPxq+geJqK0p6P\nwjsMIwxJMwFQrGkPVghpKojRaOC2Nl01Z/UCwdIdgenWRluSVnXgZc/Bk40t\n8mSTQXeaTvQQG/NJz0zMqRqRTrG7LBlsRVVGRDN93tnmF6fjN2O63nh+vXiq\nQjPZ0Ywo2wFP7e/3OEpUmVIgbnME2m2FhN1gyOyeszLu1fOXL7vO6ONrOCvN\nJIVOzqYm61xfm777xhhN3ib/j2wK+uqOPRraGUw1XHyMOEQ8/gvmIK+uyYFY\nHzxL\r\n=58zn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRssNyzuI6LOJW7iREN7ADXQEAZV07T7PqudiA5T6w8AiAS2Jk8XCZqKLzAaQE4AFbOL9/X6wbLRtSGEzyqofPGjw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a0d35708_1539107769889_0.22292313560528854"},"_hasShrinkwrap":false},"0.9.0-alpha.76a2b9de":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.76a2b9de","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.76a2b9de","@crave/farmblocks-theme":"^1.7.0-alpha.76a2b9de","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.76a2b9de","dist":{"shasum":"e96d924aad7c6d82aca0f6b9d3f9f5badb915f6f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.76a2b9de.tgz","integrity":"sha512-fZRQ6qBuCwcHrylCDfDhcfieRAoOXTjO5A7MQRDQSfqVlU5cZ9f37vdk1er87nSOg8TaPaZhC+L7uuelxmwUfw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvRn9CRA9TVsSAnZWagAAXj4P/272DE06fCKkJAJ2WPsi\nPjQAwi7aicSeBDZbSte+8qyUfVGxFHX4kJmi542idSQDUTjgrgu0qpJ3mfl0\nX5k105GxrtcRBFTvy6+vuoQoVA8oQFoyZSihjfm+LjIiBG2e77yBsg2Nvist\ns+q4B8YnH0O0mqQ1owoQ1nhdd9vWIOizCGpqgvpCDIbDy+hVJyEty/bU1ecV\nsUEk3QV5vTdGBGDDltQa1A7ybVcSnfddlsivm07lqcx5vUXK6qqkL63puct8\neTXhnKy69BvqxjzLMxlJm662Ojw9dWmb4TesWZG07jicscxVSg57p4qMiNMd\nWpnFM3smGaDXU2N+jYlXsDpXYBG0G731kaVMlaj1h86XK77EAGlTJeNiAwjK\nO0KYMygleSYzlEOQRLi6FuN+R+ZNCBBgaQoiZkmiraQL7Ksh6NTxNz2ljM/7\nL/4Izeye5oN0qTWHoeHyn8QeHDSaJJq8FGLlX2jshzGxQDuWA33LjWbuVdjI\nq40pMPOGySh7GFOCAfEoguo6RGbFYlI1l79p9oBErCykkRq/aafQvfKn2cYp\nYjzf/OKfBuWz1utTAQFOfjJ1zzfqmcafVxkoQBKpxxRnV03C4+5OsmZzcJiH\n3vegV1JBNBeq8j/A2L1WCG53g/mZJdMcTgauqC3iNbjq1cp6dPgzsOdlVkrx\n19OE\r\n=WQSu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm+M0qJy0enUS6123RTAWHZiYwwVsfWPxhBeDjZ+nwPwIgeQkDF5cc7tcqUQxvP3gAif9LBw1Bh2gE3fW0UOc9Rxg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.76a2b9de_1539119612212_0.8405548302486154"},"_hasShrinkwrap":false},"0.9.0-alpha.d54af94d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.d54af94d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.d54af94d","@crave/farmblocks-theme":"^1.7.0-alpha.d54af94d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.d54af94d","dist":{"shasum":"04f0d236b299dd0d612fd5a4745db0491d327bf1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.d54af94d.tgz","integrity":"sha512-966bA5MWjOxXmj9wEkj6sSb14forOy5nRJhqkHO2FuwAFtM6ve4r+SPQiha3E11AKVhhEGA7hZKI1w4QpjeJ6Q==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvk6jCRA9TVsSAnZWagAA7NMP/j7gH9sqFvGXxF5/uifi\nOxKu2YQbtzCUE6W2NzvHIEdPOrIf05XzcMzbUAB0PCHsPXvZaY0LR+Gv1u61\nZbKZNEhRPsdVLc0xzhn1cwBkGckQ27kxTCGB8bmA9iQsiN4xuWR2Ff5/ocmY\nBhJkcXPsA/8FdmG+aQFonxJykVTqxBZY7jUKxThm/CojsK7K4HMyI8Wvs1g6\nk44niFwG456hZfrer6FEzzJBN6nbPVwB/GpZIJaA6rvZ2DmBjgJzHyRm85aQ\n749YzRN5ccFcBaRqsedrApEKIIlFt6NPMSMO/tLHof3df6Efbjr+V8WoBvd/\nqt++FEEmWiaDNjmoCXfqbQyMzrGZAqWuNwaVSvLlcL+HVgKRRVMIukb8qioo\nKSDvuQ2Xj0pPMJAJPsQ6j6I+IgmQ2txR1uDjECgrAf5XoqfppVdT0nA/Zufz\npdWgDcdYyu3ZDv8Nwn5QT2Yg0yNvjmbdDHtYIy/BEozdOa3eQvVDipRzsH8k\nq8NHh10hlWEtISuY3hw9seo6bwPkV3IM1WkKg6JwJkSGSBPwMesAFxjTDlRw\nDXGZOXMGC6aeyIhk27IEuEMghiiFx4QfP7WeN/+uuyV5nv5V+7pXy6zDggV6\nGSGAzNMkVi9Iq0l0JezsOned+Q8Np+BUIE0HStQolTrUZTIN2PRf64fNttee\ntcge\r\n=nVah\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQIkPSmrk5Ta7PPaguvJwAmspJ/rXyiAkMCvd+sw3ITAiBxVcDKGhncozKuiTQc0W5VVPhh+GaM1ttJHt9nM5sQXg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.d54af94d_1539198626377_0.6527966146730506"},"_hasShrinkwrap":false},"0.9.0-alpha.4d72ad40":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4d72ad40","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.4d72ad40","@crave/farmblocks-theme":"^1.7.0-alpha.4d72ad40","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4d72ad40","dist":{"shasum":"c48cc3f0911640532d3b9be214057e334a239757","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4d72ad40.tgz","integrity":"sha512-kPKCsjpfVnDVDc/M0ZoXbrIM3RmavyR5scqD5MJQp2L3SCj3CzehkyAk2NIiR4K0k+v8l9VkKU9sd2CAZ7jB2A==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvyFtCRA9TVsSAnZWagAAyLUP/1s1ZATQNpiNqb3V4x1k\nx3nk5OMc2NvMvf4cWUIrqSkJ6cN57PdWpsWQQ67D4Z+k9IahLo54Qoi78DYc\nrIiNAkBGr7GRxfd9pMHfEggprvHbOoRQRnS/9SX5XVK0ZzDTsWTE8KMSJn2e\nldDlRhxLRZRyiGmyk8G6X/k2477ABxDEW7Bu07pdgRdLrUbI7+WC7CFn6UyI\nUZBiOKTZ4MvW59h8g9EZstzkWmV8ztZNIZozTictEVpAYwVZ54vaaDbaf1dI\nYgw9yQYh7VC4U5yfOabRU++jE4iQGaREY5hOYayJMzSxZ/lW6bXESxCR/ZY3\nd6/XWuF3sxFMkw1hJ826pU59RqTNqyDArJKTA0q1YlpxettK24kqPjxNmkjy\nlsa2xqW6kMrGEeJGhYdofkfECM7vS7LP2OaHLzSbf7vMfrDWwT9wlHDb5inI\nakg/bqonJBQEozuuBJaomXD0W1flyi4Eku4hKe5SOPt/MYsmzk7hZobaEUb/\nHvcxxxO+V5DWkaM4xifH8K9D8aPZM2sXCJ4IQ+6gQ7j1qSnVRq7UZ8If1ETo\n7vLwR/QscaDo/7LD1jnbOR9FnTgUNcncq2TyY+hqxIU885MW6ycvcxo0IsA+\nbJ686RnmgSJDgkj8P63yu/95D6p/H1upvcLAv/GZlqZyEFRfdSs/3zsjLclK\n0Phb\r\n=Tq7e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRTMdXdBIiDWtRn8pUHp9UtSpSP/0bvjeXMwN0EGdh6AiBKvaPupIM3sIRuPJ2tQEQAF8KKXkP8Lh8C1aHKBqeVPA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4d72ad40_1539252589054_0.13918344725325982"},"_hasShrinkwrap":false},"0.9.0-alpha.701dce11":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.701dce11","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.701dce11","@crave/farmblocks-theme":"^1.7.0-alpha.701dce11","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.701dce11","dist":{"shasum":"a93212c47c9c09a5167505d27e845cf168365d07","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.701dce11.tgz","integrity":"sha512-cJmhagPvfasybt9z0AtDjEB3hkrBoMqs9hO+CC0HE/Np/MKDs9aefLx5BUI6qenO+PPT80k1FtogwW6Q1JZ9Xw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv2UFCRA9TVsSAnZWagAA3hMP/iYAccdCdSDYaXXCwjkm\nPDLfizJ2cMYpY2htS2sLgLtZa+jzUikyD6P7I0xRbsi2xvNzjTlimoZgVx5f\nUD0vSwDBjyjzr507dZMG568V7oXSGcynxvfwVqsq5lgBxeGDlWndq1kAgM2Q\nHqz1Z0WqCkRb5jjEMCUDU6K+vY87eg1fPS+3qFx98MTNV5QjpNP2vmZB+8To\nDJldtuAfMAQfY/HZMGAsPfIjb1l7yRo66Slp/4TKWqhdt163/AFit5IHmKuG\na1F7eOC+ut3nWq5lsTZ6LAKxPsZqDen+y8Tb6hfWHCXu/1Yl4RFt0gw+2Hwy\nwlaJvqIDOLP6H8oeKHwXGqHiX6Gr72G7Re48P1vukIcIFE0SBVI5Pd181OHz\nXTeXdBfPEth9yL4zbcaOZSEFq+iN72DlecLqiMCefyv+q6Agj4spP2AOAQWg\nlxPqmyTKSZ4HccI+VMcyVCpuTS0wPuHcroHoiGmGNkiaMZvYWluf7z1pmcJT\nPPfJxrfxmDkz1vreLawmAn7mLMl72a83sNGSMYP3JoQOdxnXZqU9KsxTalR4\nSxaZa8Xr3sCNgAQZSeh++5rDyLwUfWVAXmD51CM5h9TW5Z+evqHDjSq1BCJw\n+FdSzcQqVMmusUJf1WCnAGVezDcpBiM5v+LD/ssFULa0HlfEyeMYNXTUggkv\nJhIe\r\n=ydu0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7gU7WoYV3h9cW4RAw1QlIZ3HZu+LMfpYQv+tomyYK+AiA+yP2pW95WlYc26nYi639bLrq0QUR7oXxXESW7+4q6yg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.701dce11_1539269892141_0.26712204617323265"},"_hasShrinkwrap":false},"0.9.0-alpha.cc2cda3f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.cc2cda3f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.cc2cda3f","@crave/farmblocks-theme":"^1.7.0-alpha.cc2cda3f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.cc2cda3f","dist":{"shasum":"458a5df46fb489148208b850b4b87955da578890","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.cc2cda3f.tgz","integrity":"sha512-K5LThrRYSV+1HJ2C2+KAD5KiFbWSmwEOyu2xXsxTtZEyE8ez1Ue0Gr2E9qP+B/J2TCM3JFZQziGq+h6mmGJy0w==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv3HDCRA9TVsSAnZWagAA3tUP/1M0SA/Vb5fNS/yhibS/\nRBYS4FakpVHuveI2Pu5j6PdlKsG4/8Cppamy6q+reqZxy22Z+JXamLU3E6Ao\nzRpIHTaFHdeBkKS11BPSoBF06+AJudMj4Y7A4ZyM6cRL+astYYaWCZc69ZHy\ngYiToEjXA/b4AAb7va1ZMh+ydP7zAUoFbWhamy8Z8213E1WAy+zmYKNsY7WR\nKA4bVIh70+5bEA3t8pvdxtcJyCWnu2t/evgtafn6OrOHQFweXhk16rY+tCsL\nCh8flHGD6xf/QTqOIa027pQsPiKM0VANxDc3YBPbaziwIe5tPOCnoqffQNK7\nHlMYEViJZRt6tPExqTY4MgWmbKMvsGTltOSqE0W0P76uzulpRBsaRIPVbKhA\n04rNjzqh31DtG39ckWFhdd1ixJKFDCX8pzgbF1dDFLp5FMNUoccJitbn4oEn\nBkfzlmbF2Q8Kkf1QWBDUPLiVgz9oUxHz01r1n1HDVtGxpn8dAo2dPWVYHPGT\nuafm5KAe9ERPWoossdIRAcESFTnZidyJ54zdJ719kMTjw9xLh6IT9ruUxI/Q\nMJCzSt+lOGKo3qgLOTHPuk8+fnbCgeXGVp2asDkLeTX/3PalooScliKS+ip5\nzsw1dMXNPHYvkvKOWJfNLAmbYRLLBVe7xEcGbpEdUJBamDk8ZXc5ZWGVubPL\nu8fw\r\n=nDzX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBfs5170Y4Bu/tMZrefoGrTKcEmb1CfBYCI/NdEZDHxAIhALJleUI+Np/pBEWyypWrTBAMDsT6Ps418CLpk5Z0R7aG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.cc2cda3f_1539273154259_0.3603010967111131"},"_hasShrinkwrap":false},"0.9.0-alpha.2049ff74":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2049ff74","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.2049ff74","@crave/farmblocks-theme":"^1.7.0-alpha.2049ff74","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2049ff74","dist":{"shasum":"c8a3808e400145c2e8adb2f53c4d069523f4777f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2049ff74.tgz","integrity":"sha512-cy7OHx8oZIg8hv8x5BjJVGJCK72j2wj7N23l8hKtYxQOsgYVyH4MUdbmpnUuaMcYLGVXH3ESraU0jVJXnqovUw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv3j8CRA9TVsSAnZWagAAXqMP/2YsnKn0WdhyzWPexZPl\nMSS8TsJ7eVF7o446DhTg6kl4mWySRpyJcAdCBCkwVPmbpjWu37zZYX3UBjbg\nrcAzwVEVscp+xpVmg3Cf2tnMirIskhRV9OAX4UDpFxHbEWPjBjpr73DXQr4V\nc+XmKYq9RxPbTo04bnfnvNIMB6dEMElTCkrM5aDJfS2T/CIEHzey6PhSCszT\n0BvKrJlZr62BZ1ABF4LdSlS2IB1gTqVU6RRkWApXGa9+x5/zzX1WVIfaY8ik\nFVO70TvzcsdOut54+Haz5U7Cr+/elDIheEv3g+F99dkZyhYE48Qqvwx5s0l6\nbiZK+cCn0re0vZFWyAln773BYjG8saM8K5UoUNUyVXHTjhM1bDh/20PtFToU\nEGiqD6cp6mJT8fyUdt8UIu3WxelQJS2mRT46aepPlcVZa59aBev3tuPXa4xC\nn7BSvtffPEOTxI7PT9e24ipIBC0SGzUc56GEcHJhRxtrgT+TbfBz9jRK4FwN\niMUNfiRDLqW6KCd3IlDCGzE0vRObVmZrW1HZ2apujl18Ek3NFwbTk9x7xXpx\nAIGAkJirinT9ot/fvbSJK+1wvBxMmHoED3TnRNAlAg7juduwQo+rjYmJqpcB\naXuFgkbVzxwWAx9AQzfv/TWuu81H/XAihPS0Jm8EyUe9IhdU6QwcasdnVvNq\nrELr\r\n=7Z57\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIGoLrcoYKMAZpYjfL97qwObLXy2aYCXhLfgaV6SWT0wIgDmVSf6zGCsMZ1Qs7Ck+xiQtmwklhi8iR8LjyBo3wS+g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2049ff74_1539275003478_0.942014221161686"},"_hasShrinkwrap":false},"0.9.0-alpha.b7ce398a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b7ce398a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.b7ce398a","@crave/farmblocks-theme":"^1.7.0-alpha.b7ce398a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b7ce398a","dist":{"shasum":"17436a7836af220db1cd65235464805b8ce1ca84","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b7ce398a.tgz","integrity":"sha512-s07/hz7UWSX8PpOwO6qUvB8dqLHUt1hSNoi02VURO24j+TsFb5oN1PzHjbNDBXbpgFuwpaZYW9yov/w5lD4w3w==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv5KUCRA9TVsSAnZWagAAwkoP/RVwZKwu/+oF3/qIbuQu\nTf+DIbjDmbnzaD80NoVzm7Fy/odlq2tmWOvGyNSBYzN/U+d+6SmRVro3EK1u\nU8Qc9W2/oEBGW7fUjpYnVfA5b54pJXwepgvhFW/NP5YjXHV08Tovjjib2AAi\njatUAcONnSdY72TzzE2QX0L28hbMsNV2PaA5sQl13gxGt+tFYHCuzUq6AQvD\nBQ4nfkcxioh11TOUC6lnkWYsbNgASr8ujI93v+kxYzxiEYd73NvVmQo7XR3o\nqyH7c1rRemmAj6bcRsWCNUgYXL5DdweD9CjtJw15LzF25Xl5xktWkezM0PVg\nLSaraCu0ckmJwz1l+4+vQyNiVw2dUuO5rhf/mMv6wRDTzLs8h3ovLRl0ctVW\nOIMAM8qIZ0ZgwVJqSSx1T/H2AULRfUMkpt+36Yk/Rze9nYK+Zk9Qh8QhW6B0\nPmErzsssoQibP/SJBRhlW6gSXwFuPPMy20OmC8LtwzJ+UTS15C/x3CSeuiEq\nBNfzXnuTL/2rYX9vS95PEI714m0G6u4T15EEhFI09EeTQq5FZ7meEDmrne7s\nNYF/obFxpaZNuWru9LlwdpuEewPnOs9up3GvaZAldBnbmwwWwWI+tHW2fla/\nQuTMz3Jx1Uwq5SyPcSIop6CrJ74Vhm3V29gKeN5zwsSyzmKl0+MliXqN4i1Z\n1P2F\r\n=cXFt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9gZVD6IM8vI8VMoGjXZ0QfpIf0SbpZp3Dj3CXGXKlYAiEAx6Ej5bMlDS9JkGkfANZZ68sLfd+YZwu4PTpOOzXK7Ik="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b7ce398a_1539281556039_0.0665987208859955"},"_hasShrinkwrap":false},"0.9.0-alpha.2c14db15":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.2c14db15","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.2c14db15","@crave/farmblocks-theme":"^1.7.0-alpha.2c14db15","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.2c14db15","dist":{"shasum":"20941324d17150198e2899018302d1707a74045e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.2c14db15.tgz","integrity":"sha512-lymXlJliRFaQ5fUtN986LxgeHY6Rvr/WWi/xLZnsBbmtyLQCk5ccK1nX4AAaASx6gjgej7fwC3CndQy10erjeA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv5WCCRA9TVsSAnZWagAABXoQAKGZiovMKSCSqnfDFvS7\n1p1uVvoq/UOfmOWGzRYakMSyn319kKDiaUZqwXqoBweFjsplvJQzi4bHIvcU\nU3a7F57eaqOs73/c9zakoLxuLgYSiyDbIOEneGe5Z6siMg3DR+foJM0DEi8d\nqMqHh4XcTuifKRz132DD4xHOwbJo6YiTsGxpBmaxUxG1cqVHTvf9XCzr+Fkd\nAPrKaMG7VtITzeCzkurg0pHZYV4RHPgKwBej9EPXSpKdLv/ICU7AuviNEKUZ\neE/1hueu/yCxOU1I3zWUaY87j1ujCC7vLy07c+SsR3NE4wkWsYmrCGusZydV\niB+cltkoeTb80HEuq+JdoLPErS35BeFg6ybeQyzsYx/7mVz8YdA7GY71ROyX\nNOC5TMgKT7fF9O3398l32DsiGsf0MoUN2xf9UTmpjX3FfzOBve3OtT3mXqYT\n/JX2LCfGE+RwzrQheufIdv0Yq74cnTBt7lyqtJ1xmsfuFDY2EiRKO18jgNij\npESi1a+R/Wlp+3SHG+LgPUK/2x9r5y5MblwoySSz4rpLktvw8g0z9ABIZaez\nbQyB0Z62oiY1u6Lo46nTvH19Vjj5Ufh/5sTQbkSj3J90zTaBKcPMW35L3KWW\nqxnR1/xRUDZX/4em6vb2rsC4ecILLZgQUxD4ELMPxdw8WGTtiJro/YdBXEHz\n4ZI0\r\n=VZ/q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+3ilvaeLgPFy3pEtQCtAzv9TRIM4adAXFAAEX0S2/6AiEA84FzwrxMgX0YqT+z2oIKRHAb7mstgpYtVzFwPyGPFTs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.2c14db15_1539282305924_0.7117221017985291"},"_hasShrinkwrap":false},"0.9.0-alpha.a7fe141c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.a7fe141c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.a7fe141c","@crave/farmblocks-theme":"^1.7.0-alpha.a7fe141c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.a7fe141c","dist":{"shasum":"f1e105d04c59282418992fb076f0239bf29da4c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.a7fe141c.tgz","integrity":"sha512-EYgc/ybUon/S8OWbxN/99mKbrLQArOc9ebHQB/AAmdU6EQPNo4e3LTNt1M9VBbnqGbKAiaF3O1+EL4odXANcZw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwDdHCRA9TVsSAnZWagAAybQP/id4/eyJ/ZbbaPReY9OB\nqRcNSAkFIkcakwoRbzU/4p2tHeXJRR8xvujNX2MQn/nUcVzzZuvJYJ42gGcq\nYy6nEiOK9/K2GV31NuAg4l65Vmlnh7K/hA0zJShxWmTF5L8onOJyYpqxwFwo\nP8hgUFdcIseF/Ql2BFRuiWHm2RyqRWIz2kotFo0tHq2UNR3vR6kuppMrjQq5\nbJ9rjeEaw1KRz7YPu7rFZpPjSQJZBwH2/gluEA79r+zDNEro1HHN1337B0eV\nDdOsd9hsFcTlAD2QQB+XgyQCnmm3yr+vKlCIUt/wBeDR+F7he4hp280BGxrc\n0KFXP7Apb8LhgWPSLP61hmvHPkNv3oO4hqkicm2fWDD2Hu/urxW7IJnjZvjW\nb53/2GXQcOgNfc9Ub8zlrnv2SuJJl4bsLYLkQjVA0bV8SSgj0Cef/zuKuNd4\ne47jN5ZTqe7OpNatsqb42HYZzUUoVJ7BhIVYTAzXupSMU5LKp81wjV1ezANV\nWySCCRAxFCFeE7LY5tY96dhUSqb5qcf0BprJoD7CJj5vBygSvLDAKrs13wh0\npxH6oAFAb52YBoJj5Ug1+2aMjQVJmVhvDJKjomyh/ktw2eqhZCAwhvfGtrGo\ne+fWiQLPQY3OjeixhhikNWIRx9ih/MM6JOpTT/yhJvdTXD+T9R56wcbfrna6\nQRHs\r\n=2SUZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIkQDV+GOedy21Lku/Ja+uJzJnT26b4Zsy3dqZe68PaAiAfuP7KAugJCgHyEUKa+umeIPWYacd8JGnjqMCTQacscg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.a7fe141c_1539323719010_0.2729380856082786"},"_hasShrinkwrap":false},"0.9.0-alpha.0a17622b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0a17622b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.0a17622b","@crave/farmblocks-theme":"^1.7.0-alpha.0a17622b","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0a17622b","dist":{"shasum":"78147410e51e46770f7d35a6b331e3f19c4b71bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0a17622b.tgz","integrity":"sha512-MyLT2VsJwNN6N1wD5uE6X8+leSJIuj9lr83WjGpV7Ax9AbSnFnkHiD0GRbnKBxiAT7atfMmz7Q4QUB6DCbsogw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwyNFCRA9TVsSAnZWagAAPrMP/jUfVDmxcSstfJ9hm2D7\n6Nt92glbc4GE6m1cJq2zH/Gupyl05y+/FNxvzmskq5Ysf0jiDJiBvbjTZLnM\nF0zNW8N1WLD8h5uLFGtWlQkzUTqgP1GCfJEUQFQ3X0ZHRJ8/vlJbde4eD1jq\n18NjYAJz2LYP1PKKnlvHruX/w1KIuoA0zvyZbg+Vfk02Hzqqka5lw6b2k+sy\n/UFNo610vfYwMuMmV3xUmyK99ufmZDanc9A0LW50AQk7DsId9sY562Ujuo0s\nnZZTNJo8zDRddMTDkm+HWBB1RFLgrUA+2YoxL6dgF9C6GHdFMKeSTdSIq69N\nsTnH7r9xXrH0Dm+0vIszU4K1RJDvPWE04a69sx70ZqJJ+bjgU5RsYTQs5pmR\nkfAsNkOhnFX8iGcwWsG9E8Jk0hgPNH3q3M3iA3WBBYKJLqywq/CWUX1I8Hka\nPS9pd8xCX0AQ4l06eb8rMFr+egOoXcnt2hX9tU39uT8nFRbMV6mgDy//Zxp7\nHC7b85zdqVHPa7QxknBQj8UJBvVVu5Hp8L6DH0EAjO42wFtKCigD97X+crgr\nq6eNBT3oh2Q6t6624bMi8HUn3oDM64jnn+tDyhH6jWHVZFpk6uGl7YRXs8nF\nSdky8aJ6vuTxp09cGwIX97LcbNmI1vDnBgg3aArOtcvIcpYqjLKb93J4B+hO\nk80J\r\n=K24C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDA0mf000kilOsqM0mibUSk8lp7m64oEiCePBwdRBa2KAiBzy/04D1c2rgU0TrD1ANIOdHW80I4qFMa2IzL+LA9gqg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0a17622b_1539515204668_0.7812212765760158"},"_hasShrinkwrap":false},"0.9.0-alpha.3637f56f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3637f56f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.3637f56f","@crave/farmblocks-theme":"^1.7.0-alpha.3637f56f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3637f56f","dist":{"shasum":"9ee37c5d30955c7d760b7e27919276909226d6b4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3637f56f.tgz","integrity":"sha512-8HWF0nsfF6Ku5FtvB7YvcXb07DNH8qZilpVA0Yc49DM7rPghqrBJojOKgmIb94aHD5G0P+DEaBkasrjlkf+BMQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbw4jQCRA9TVsSAnZWagAA42UP/2mYPHZZ/ZYhmVn5uWVI\n0mXEj5iqTeQ8bzk7e/IwgmGusWu/dXhTbZGOcwOirpJnq6Pk93Rs/yD7FATC\nqDFxcBSVKW6YmfX1yKH2z7uR3/9Eo7RLAAztdVWsOOErAgwOelca6++VfLt9\nAuVWpYHQlgsqNYQQcoG/jpMlbFlqQKnGrQ4+XPIy3CVx0XiLz/5dx1BlgwBX\nWw55J3fxvBHmO9iXBVFdtgL+Sy/euKA/L4rizj2qSKeu/9a6fEkcQDgtfLp5\nuB8rKiAcQD9Ys9FKDTxXoCBcT7imLD0NMWdWz80XsdkhV+djei4YDMhmkqft\nqt6aGTzekWveCpDeMQUb/W12erPzcNo8a8OWy1PBmZ9D/BEjeu+/Xs6znmG0\nrM8+4HzrYLf40VTuJ3FC1NgypqWvn7PuJy/Qu2jKPuwQzjBUYXdL3ZVk7jTb\n6LsskVPKKB2icFUKAVhA4V0S18rmNAuSBHt/FzFzps5/XSCTf8DrneKQSlZy\ngrLuR1XDO4ZLJ3MurO2iNaU7yZgX+bGczXIxboUYeOhTHMJ09lP+SpB8X87n\nbxt7wmYGOEdKEQ2PHTxGfTa0Cs31xVP4m5WEGmwBfifCp/MuUqJuTbrKNWmr\nJlIyHfhblO7a3rCp5qATHtYBFIc4w2RhWXGQdSOnIOAwJPfLL75YWkoYwtnN\nl8cG\r\n=NEJU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJZTImAsS+43+c7yzEw0/l3iDhB/7/lKl5YuZmh/aJ2AiEA0qG4Ff91/X4lChW90bkbZLIvg9VPR1ptjtsNk3ILjkc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3637f56f_1539541199903_0.9570504548242804"},"_hasShrinkwrap":false},"0.9.0-alpha.4f6e5666":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4f6e5666","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.4f6e5666","@crave/farmblocks-theme":"^1.7.0-alpha.4f6e5666","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4f6e5666","dist":{"shasum":"42fbc2e602239ac536360b9109a07b8f7518d3d4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4f6e5666.tgz","integrity":"sha512-pFTJvBih0hQQpoGXgUBNcS4eDibMu06fa8fGqIFcD/IRVRsQMXxQlm05AySTn/bZx6E9iuGc+l1shY6OKUknFA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxJKyCRA9TVsSAnZWagAAiNQQAJllkN7A++fWls/aTlRc\nRQSNHinhS/gcLLzu8ceHdQjSeQror5v3zOCRhEejKY6DYbfBi58wlQbcPR2d\na5hxS8umbFD4gPW7k5VLpbx+IPChPQ6AKY9qmciODQ8qwsg20BQ2dwGILRKJ\neJ7BBwyvApKigHA45ujLuvcRsqMZJc9Gk5vvBYknL4ACv0gZc5oOpKNhAiqo\n55DnEXQj5dxTzF1HipAypojTixna8cN5UuGWcZ9MnqRPx9P9RfSsbPJ11aJU\n2V8i43P4uws8utJzIS0FPHciylS78mEnAgqJAKGFWWCi9UObdWbH2mlaqSsU\nIixTfmw5IGHoYU41EpGb0nm8euA6DH+5Reaa1gRTxVsK3MNuhTY2JpsVDpP9\nnJpKptleYiXO0PjKpNkGW5Qu6U8zBW4U1UCiGPExAduyd4ZohnMgLUdQNrYN\nKvh2Tuqo1YyFMy7VDyxgUcVCSVUN1hZiyqCq1SaN+WwSHTSvufPUjMjsk9jl\nhb2ZtwL3R4vgJ0/L8D2ittqdmcmwgwt2vxJo7fPr9JBM6luyAK1KHzYdy0vk\nhWMIDN4XwB81QEgeqASPtHoXK5Bs6uWcZLKWSwE2p7yNWNREfRBV4SH7clRS\nYVYZO60Jytp1qQspo2MkJuZeh1XF97hN6Ne05B02HzTUwcImIKGxCmMmENd1\nr9gl\r\n=TjoD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZdpckGiu9J7lGH5ZKijggA5RGGYeNchcRlsiwbvKi1AiEA5V//DlgQAoqabwb/2eHI6Y4S/4hXqolqtJ/30PCJd7c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4f6e5666_1539609265525_0.9714500338843008"},"_hasShrinkwrap":false},"0.9.0-alpha.bc0bf3f6":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bc0bf3f6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.bc0bf3f6","@crave/farmblocks-theme":"^1.7.0-alpha.bc0bf3f6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bc0bf3f6","dist":{"shasum":"7aa030e36fc6dd0a52f7bcf7925dc51540b00f2f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bc0bf3f6.tgz","integrity":"sha512-FzPWzQfc72R2CqnRSFpfWPOGmeYpy8gOir4MKb7vexeTkY1OSki9knzn3L+ojzklUpps7YErjzToN8G6/SVu6w==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxJoHCRA9TVsSAnZWagAAjaYP/1y+I50qm/+BrLM9o5B2\nMf4n67dTD9g2NsFLWZpHqqi2rxYvYwMAe77uAoMNwV0xsxpEY9JVr8HSGKk/\nplBig1Ns7XkLpBgdzfqlcwnw97sxWMcZpZPUEzN7Yev2SF9wVKQqe1ZBw2bu\n49QkaiuHK7vhBoPz0eS6bE4Ml4oOT6xVQtm/8nDlneiHZBPsI2pmZTArcbmi\nWjcY1NPj8WqECBULjTIIlHGuf5ZK3lKsFlht211i6vVIbMwZl0jb0lKYw/Pu\nkvfi/i94x+ZS+ySXPNCOc7pLcu9c1HjJgxfL5Cw6Rnnl5xC+5Fov1EdiAPSU\ndIHMEDWI9wsvVZn5Zv+yzOeKX6QiyWEj0oGwZ52f17Ff0R06tmt3Oq8eI6Gr\nr8e99c77BnBDgWbFj0J9rnxETdWAisgNBZSl3SSyQujYqaG22vVng+n9Ay8O\nemanXb+PJw4YcGIRIirYDXhaUm9INt0CKDyu6QtqJY1jV+va1K34tCQxP7Rg\n1CcZBkseeYJsTOW7g30n4RJz8UUkAmUA07kuQzjBPpkRsXBwG1WxhGSS/vXC\nPWsdei49pGvd/xyONFpfq00Y8aVg1l5uqhU8ofvLe5m8vDCQYPUEJO2wCp15\njt7FRPEcxWkCbJ0w3UGQ46byuTPfDCXFHkpb9gw9EQGbor8mibMpvTyDA2l1\n2MTB\r\n=23Yx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHKEyv6EEffyhWTurya4pEWmBiHt6OHvgjN4ogHiCvRwIgdJWT70bwxkkFOHL9KAHkhpyMkWN1r39dEHEsjGtujCI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bc0bf3f6_1539611142956_0.9991936823411316"},"_hasShrinkwrap":false},"0.9.0-alpha.629ac030":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.629ac030","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.629ac030","@crave/farmblocks-theme":"^1.7.0-alpha.629ac030","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.629ac030","dist":{"shasum":"d0ef59c08b47a16cc2ccc63a70654050a621281f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.629ac030.tgz","integrity":"sha512-GbuCcZb4u5IBV7UaffHQ53WA9h8+9fbGHkmercadjJAxtDAFwBJTB9Wf2cUXXYdNvLAL/rkVj3k//SBAs6Yq3A==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxNc2CRA9TVsSAnZWagAAIhgP/jTjW+Xxtqs0nMZxMbAM\nu6fLn/yUpHIUCPxvRWO/A1BCX9CmaRpsXVIUxjGQYpIvklXqYdEjaHigGJpx\nZdjnHdcWfFcU/xETOQtAZNX3XaZgnuDY38W2+qXUgGu3pDOJhUyEwjARx53B\nMSfvztUO65rKqs9kg+1Zi/GJxy0hZCDHaG1+I32CWo6E7i7PIb3wpXDwNh2f\n/U+07CO0Fux5zfB3kEu9FhmHZjCk3qtB3W+hmrI6DPqr8Vdh6MW/l+Dd56WM\nJxEf//E3Lz0P85N6EZxsIOv8ZsCpVZZJ9WLhamQ+AmDxY5BgFUXcFER4RYxD\nazhtAS4xyv4NrlKVI/K2eT3rjxtXaUv3SRVZe73xxD2h1UN9em9NV5Rr2fi0\nauU1N2nT15D5tok7jd9tUDPCETFgTtapP+SpZGZfUWJMMksCR6vbRU7ZeGUS\nAXPOW+lEvf5976Bu4Yixss3BJ/IdNXkeMRApriZRFWwWiVeHWzOjsZYY/sHc\nxXvSPs9xXgnuuAJ/ytRSb9nJHzDh+T/GhgrDBC0Cskprj7DkeqEqVmlCvoPp\n9nufsnwWQlhYXjx0kXOm4bkDt4NLdjDX6B8WC9Xp9ZpxY88n7BPXSORstHEQ\nGbKuHnl2nXYLL6MdAYljbQ73S91MKdToUmdkW24xccyupWsd/06nkJdNEl+2\nC7/8\r\n=N/Dn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAspFbSo3aITqo2oHmpHrYHXOsfJIqjV7F8XxN6L/0SQIgKjb7U8DcJF50nQczldRv862aeAn76FA7JgfFucMBmD0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.629ac030_1539626805406_0.6528229416890892"},"_hasShrinkwrap":false},"0.9.0-alpha.92c2d991":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.92c2d991","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.92c2d991","@crave/farmblocks-theme":"^1.7.0-alpha.92c2d991","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.92c2d991","dist":{"shasum":"cb6b4a3cebd1542a59ba22ac9d2560b7460db0bc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.92c2d991.tgz","integrity":"sha512-49q6gDFpGyKyINdvyn105/hgbNfGdiGQPq+rsSqqlfmiSAqvvQUxKTz3USQiau7fwIEOe8kkLaXVGk6lde+V4w==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxZynCRA9TVsSAnZWagAAXTIQAJthHVpW7krrpw3Nfncl\noO6dKtGyacqV04wjKJMkttDQBRHa+ZliywMZrW35HCqLThfuDo/3MTQdX9wH\n1Vag8ynttTtyUxgAXxamiZvY1/iyeCpAhbMltzjV++ascz2xOaUq2tRTmB2Y\nsoeg2L2+SC14dT17cE4bsROM9Bz3cD+lNQkntKdoOWSn/GZiZgMZmKNad+Vp\nBtyzWmn4lRdu6Tnp2+fE/L/NHBCY/KKue+af2yVyWBf8IHHmbk/jnl+THYZS\n6Zhjowf7umMpYTa5P0ailVglIkf8Hd6VyeL1+/EPQGweafCIOEArzbfbgQPW\n7cAmiwY1DmYTdOPMEjr1gr2/dj2Le5gBDhTzoP39HsqH1NTQw5hDorNl2O4d\nAlpOp8pN+NTBigJ0zQ2haAiS1Piy/A6j1nLrXbo+sWpLlHVJmX2bgP1x5xbi\nyuKk67TWSWXEqLzC2scog4P4pxlTzY64AmT+r5kzGe/ueSOkVVGXdKsN6onh\nauHDUycXroOiXcj/SLWggYugAnhbNK9mfs4klqFoViaqPoW8wWRjYX3O2sIm\nMMPYBrR/RG9wjTPrEt6W/3Bwa6ECDQtBVI9faYn1MKF8Zny+VsoiolvMT7sj\neZ0pwZCxAjBk3gYjNWV0WwSXEkuQAyG9rJQ28044NPDZTO/EW/JVdA9TsOmj\n4p1z\r\n=Y/Dh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvWyOKM13XU2b2Uuns15DQ1/QvWOiWsCDHctpmoAdUpQIhAOpAjssgoBkWdPWkGlV91tF1krYSz4mZ2oJIgNfi6hx7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.92c2d991_1539677351083_0.17216564838010862"},"_hasShrinkwrap":false},"0.9.0-alpha.ee69673e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ee69673e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ee69673e","@crave/farmblocks-theme":"^1.7.0-alpha.ee69673e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ee69673e","dist":{"shasum":"e221c93acdedb0825458ad62c52ac9c95653c1ca","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ee69673e.tgz","integrity":"sha512-/S+uUxsnQomZA9gDQpXZY+eff5yPUwyt2zryI1BA1SYszYZavX0AKtICU4RZS5g3BsE6ojOKYOOogePa5hVPJw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxa8PCRA9TVsSAnZWagAAE6gP/jnYlhJga17u493TVarQ\njOCVXUECe8uD9o1rDoQ8iXuhxdNgavjh6zX27nNqjB70skefTV7zDDhvmS3y\ni5jjwaS/JTHy+L8tcEIeZ8p45SYp0G1Ilr1bBDf2ISfYkcfpAIT3Vr9C0JYv\nVY/+bmTL0f6MOE3rpVaSPZDf66emRlJ5qkdH+TvgCeJqK4H/BZyp//3JqYfq\nvJVD9ULKJ6ZYKQrJ3eVbUsrKpmx5KLXpvd6lwNDTAXZ7q5gkN/kYTc+bQ5sh\nJ/AcHld8nEfI6eNqc07ZhBCJ1UQUmzHkQVoBszw6xTHDV2eAytyoFfwK2Y/H\n4SJAd3TbxHjKzNagpSU+UCVk+r3eVJm6xQHic/I/lG3lfYFRnoRtBOd7VzaN\nUd4UbM760jeEh5o2/BxSXvffM+yP9aDZeoqMj7SkSRAC/ozDxy1+dGM2NRuw\npaR9rEdoy5/gUJy7NcU8795fRtEHZekNiVDxFAFaecXb16gxsOiUAqCuLFOE\nBV+0rYMRiO57IYXzdiGIgTj9mBRToGwZib9cWgT/e/hBR9EY5Wx7rPh25Not\n7CNUgi4OeZVbKVwhnpaHD5YejEpWhhX6a7wgcuJulaVNs6Y+6UA7/dRVJTRW\nxh0SzxvNmkwrq7aCDBEcz1eP9FnHABSWRzRaSEcj++a3nLMQqQapQdzElRg2\nyBax\r\n=XMsM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbY6zxIj66lhhV3eq5CBWUvu7pwgpwSPg7v7uUz+C04AiEAoGIwbfR5AfsfFSpDgReIS6IoTPZoEbuk+n0JoJlKlZ0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ee69673e_1539682062894_0.8388403760417682"},"_hasShrinkwrap":false},"0.9.0-alpha.97f5a8ec":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.97f5a8ec","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.97f5a8ec","@crave/farmblocks-theme":"^1.7.0-alpha.97f5a8ec","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.97f5a8ec","dist":{"shasum":"7bea97f48a2cea987d8aa1ad75458a58196fd5d8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.97f5a8ec.tgz","integrity":"sha512-Pey5d/KbY8vtmJ39sYYQ3/Sgyul2xkKV623W1CUcGnnTIsxlgAugNTdWeMNI1bibD5+sEFybmaghYDbyxjcHIg==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxenkCRA9TVsSAnZWagAAZ3AP/0kmlpmrIlvDVArauasc\nqjLBEZAc7gHCezWKL7syx2rZZPJvUqywL5eokCwDTN/sYpGot0HeEL96W8ZR\nj6nctJngxoDXAWxHIdfD+/6HDaFsS7W6yAlzoPYtvif5xpKQWbIkF7xO5g9M\nDCiIcORXYMOjZB3zDD3YTbYqhS2MbGJ4zPru9n0hfMwpkU26tzqVMEZkVK4q\n2IXqQTC7RE28QLp2B1uq2CLqi8qIZ+5S+ySdBgQzaJ/VBZ1/W+9QyVgIv+8k\ndQUeRrG98usji/dU02AKlcWvGf8yTx9T+xbQttNInxD0MLhIPQGhYrny0cQY\n0/o+PuIvNP/p5E4scsC1ugxYxoKlJAfmOhvmnfXYfEjUlwnJUq6ZNFdyt382\nr+pJbNQLb7t/vt4u5EECkQyyD5NIMQRDXqv/4vAuh8HSVCYhkVZuRk+dCNs9\nVKQQAsz2luC/mowHIJU1dJhRbN5fHO0LS4JmxVxiBRcGJ9SKf3U8nzsdCTwD\n90aW0Eig7WGjSIrq9j5giR0EQSORRGdGRYV8+SUqVYPjfc+S8wln2JU8oV70\nAruoNXBGEP7PKbhnJdzaTgUsjOyfLZdhpEmCInWiypkUTG/95nRX0qNQC2A9\nmXXAPOdQvB/a+vwicBWs6wdwh9/HWWLxxps4PBRY4kH/A6zQ2dlPSBSJK03P\nNMUV\r\n=Qk2E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC64OJXlBzBiRjFmvJAYvvO78vXSCN3sdJ2/sD8GPo/CAiEAwxkT+kOKHqTL3o3CpzZjJ0qriRBrygAImD5HNG2KUrA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.97f5a8ec_1539697123949_0.9212529725592287"},"_hasShrinkwrap":false},"0.9.0-alpha.ed75aa2b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ed75aa2b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ed75aa2b","@crave/farmblocks-theme":"^1.7.0-alpha.ed75aa2b","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ed75aa2b","dist":{"shasum":"bc2e0665b11b16f7bc842aa874a207662e61ae08","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ed75aa2b.tgz","integrity":"sha512-3JsdxKVtxb1TCIT6AIFd96DYXbmHtmok4SJxLqSK5wztVW+x9QlmlLaWYg6XlrYAqcgTHxltcwNMIUIAxqXR3g==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxfxPCRA9TVsSAnZWagAAW3EP/1pb8pOj7P5dKkdRNHpi\noQaE/T8ZbxZ07F/jq8PlwXCL+dcN5sg1I+6rAbaAOn/iXJIFIIq6bw4XtY5E\ny9KOarPCJN2JPh1XsqrdybyOjJjvJR3qIPZKxztNniRf9Od36CHkVERVARek\nyrkAAmigT4eIUctlnEecK6+Ow2opb/YaDkOXYRzGfCgD8HZmtyXVg2wPZI9B\nuZmJ2pTHvNFr6aHSmAjEslgIicnfJ/1w4cpdKzVL6HjKn9alwYd8TSh6HARe\n+T3WC8GcF7/FjuVyUIMwHI+gNp8EwYP7/SNxJGB+v+9nBo2aOXXg/xB41MwM\nKJTgcJ2ptdTPCbDsuLZ0n5rGbV7lliMp0G8C6TTle9ZdNIuuprAWgDe55gky\nIUSszXH9nERb/tkYdRetj9vVwH5qvSlL1CZG1Qdxm7wwoFkNJguum44bhVcB\n0/GUqqOtBIbBzmtt0q0rwosy5+R9q2lOV3l30870sAuxpbQz2tIoNZgeBsh4\npBZiYBtyAY33x7QA8ypaXfXlo3DDSwBpn90alytWK0yE+cwVcZyzS6IRGuem\nkEr9hgelv45CY4ZBSNdr0mu4cCCQYkctqI176ZgD2b+7LVXy+h/NgnKY6dn6\nNEgvRjdntrLf231PpKms1Y0xxuhNpFsxWzn8NWyUn7CqHos5qO8S/5Fd1usw\nmtpJ\r\n=oo9X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuRuI1E4B+4UGo4Peee3eB0zYX8fpK4C2kotAg2ZvIMAiEA8X5qGXWIDBmWJ2J+klT7zWHtbMLE4mA7cQwdt98dmno="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ed75aa2b_1539701838850_0.44318306944906705"},"_hasShrinkwrap":false},"0.9.0-alpha.947af9de":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.947af9de","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.947af9de","@crave/farmblocks-theme":"^1.7.0-alpha.947af9de","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.947af9de","dist":{"shasum":"1e6896f77d2437a328cde7ca5bde121005ede9ed","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.947af9de.tgz","integrity":"sha512-8qa8TlVNd9e1QphQ8Zi4LyLAOl5xwh2p+iw0V6bNp/NYC3KDg/a/XW6RStp91NjL1b1X5ewBnA8Uo/DMgwWMww==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxiOtCRA9TVsSAnZWagAAo6UQAI5Gql5N9oPU3WUoi4fC\nQQ1Hxs2E6s9XWluO59nxM6jmQgO/8ydt9/x5QyZklnwFd9eiHtjixqT6b1Gb\n7lAOrrJjTsUiFl28fvNv72pCtkpKDHKjsmCzYOpucBi2IwY2HvjWeYmvMu3m\ncUfRqO6VsvIZAf63b6MejZLPIViNVZhfYCcmmf/uxAaPOExE9NNn0VZWm7o+\n9lr00gzDdw90nU8f4PIHtYP1/eWmcwdq+idqsz6EX5hb8aUb0Zwzf0rxrmzz\nUC6WY2p7DlSfXFqr5rr2IGyplZ5ms+r5WgB9TPHmg76W0+dySomsfcGSPtDs\nH2K8xSZkBYngX+wWJbjEeIQxuuJHkXg59/fG2KTWm2mHR3o9VMbKpeQ0JfcI\nO1EwT+jL7dAQaOf7Tf9RvxVh0QmBIhKRqbfLrCpxGSjW2zuR6qT97gp/p3/U\nEc4AtvZyOFUkEeBDcEyb+vRC52VnsPH2DQ+KlSzJZfNK1+Q6Uy86r04pmMHK\nBup0h6Ah06WdgbqAp9k4djM5BTxyo927dqGbIAHpm7nIrZOy/alt5EddCJYG\nac7sS2DlCvs56cERjONSs0Iv5CUCz0+QQj0xC9ksTVDpN+8Eg43h1tN+v/q6\nIXccsrYqlg8tB1KjY7v+WbiVIxhG4Mje035u/I4bmUmo8xcTJZtE71hYkFkq\nD71w\r\n=s+rc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHnj7mhVOHHMhXnQTdLxZZ6TIA9nFZwfysfHL4WN00Z8AiA0SF5TpKT1dA9Vv63SCfTz9/SagUfQomcSjnhpB7cOTw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.947af9de_1539711916506_0.44578393827805796"},"_hasShrinkwrap":false},"0.9.0-alpha.9477c937":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9477c937","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9477c937","@crave/farmblocks-theme":"^1.7.0-alpha.9477c937","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9477c937","dist":{"shasum":"be700740d27c3c6566793db5edd91519169a25ec","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9477c937.tgz","integrity":"sha512-5267lfzufVX9BmCQyBwpYKKy17k3cxY1BwBqG1z0V346TbYn/aMu1yPrVDuFGpzzkkuARfu95ZkJFcomHU9I5Q==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxjsTCRA9TVsSAnZWagAANBUQAIMR99azTc0mLLetMp9y\nXvM0AW1QYbigClfDW7R9XDR1q93io8MwrwuPeXbABmU/pVB5LIGVvJei/sAl\n6ZMwfWiQ+D7SnAWgaUxN07G8GI5v2CTiLubmu+tCl70ihMn8BLeasCwDHJxL\n4W3ROOCTB4PZNc7rPQNKq8YZEq6orDpLbpL/1OI5DWZPD+1mwIobKD0JGVBO\nB9lOcr8lEZQmP8Fu/n9k8u9UqZVeJ0OTJpMBLpBPtYbudFGvFAMyInDAnfhs\n8rOvuJcfsFNiwwFxmZfU67qYpdUinttd8GQQdaiAkS5evDnnSzNscOAlcBSe\n7rCxFKHKKMtOs0TFHTFCXzmPRAbPpbxQ3mhHZzjo99w+gQgFC5J4OK+toCf3\nl9V6VcTt7UdegTQ28zNesRKmd8uaeGhXNHV0AZqGrrZL1ZFEnBih3qzq6sF1\n2i4MLG3f1bY2toBlYxykueavulY6qfEuXG47cv4LdVpNTs2umRI6dGznMoz1\nUEhfQGDkcOyWCG17uRwsYbubymcqxf2WIslFQJ2XpItpl0fKJ6XSeh0exrJM\nWe1TWcLLsLrdSixHkboak9ReQ4V6LhxSUEbZ7U4uafLLqroFwqP0hZVPrxT5\nSgksXjgvmu/TP0KFw/fGSB1a6Yr6Oz2do89fPvFxwAXUNJdBu22VsRiMDySq\n4Glh\r\n=Qq1a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTHTY33QaLe1yTj3h60PwioOzIyQtmQuNkP92v2DbUPAiEA89aBRcWbafIkgNbBCA0zsb/rhRJipLjJA0Ix5H6e2ac="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9477c937_1539717906424_0.6090638240356694"},"_hasShrinkwrap":false},"0.9.0-alpha.f419a6b4":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f419a6b4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.f419a6b4","@crave/farmblocks-theme":"^1.7.0-alpha.f419a6b4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f419a6b4","dist":{"shasum":"196f1d1faf06490030793d48cf7ddfee459c4312","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f419a6b4.tgz","integrity":"sha512-vQuIgeKAqkqmxKTfh0dMiI1G0GLm4NK8oau23/8FChBuILI6CHcmcZVofAeNKCU4sG1H2OXl9MBLOhT8XsVeAw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxkQ+CRA9TVsSAnZWagAAHZAP/1VSUOhhXgcP6jlJwLA9\n8jIUsiNT2la/UHb0Lmd8Vg2kIkEzDQSDJjs/mzXNKkL05UphQbitWw3HCOn5\nqIf3xuKfa0e46fDwT6e+VaFMCAOP9lxvbCWGc7/DheCD9UrDIZPK57e3sKvm\n73xZUqhpIA6cJurCbFXbDdO16oUE92hxhWcOBgWj1qfRcot5z++JJfIoeH9Y\nMwVdSE50dkseULX9caaVc2jfxNeUvQ4ta/RFXfvRoGE1z3NWk1tPoVpdZsPt\nmS2c9/iAOH3mfoAYDPuF/fXaja+0eCe8zT9/M8ISirax7r16U2rr79yf4Vv5\npIaK2lwmJLuLb2MuuNTSkQtm5BBgzQAA0WvPSj/BgB/o7DNwCTyB8226l74h\nP9ZFNrchAiOxgqA8ozkyEp2tNYdNdngHXw6yjM06RpAqe6oun1yglI5cDVH2\n7VWIPtrFLR++bv+zYC9vwQWV/HeM3Wbq6pWHWRH4KCWm3gCRi15Vm8nrcwvF\noAkOFVe5fnD70dJE5Ym1MlhRkXqexTcgbas0NhT7nZzN8jjF2BWaI117WmZL\nog9TsDlQg0UzSe3PURZtScoEFfd2NjTJ1kn9jzLBZahiDBLw6WPm4+ZzbrSQ\nlZYtxIZwPs336WKo9vi/Utyih0kEIAbGMYEHPX+0l0/r0ocURnuf6aqs09D7\nAhNI\r\n=ECK8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVfF0grS8ssvjARolKSZ/qmqtSJd4GE2Th9VvhSLdeSAiA3uvNy/r4VfLztDFze6p3VDmt1W8yumFVdZL7Dv1xZxg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f419a6b4_1539720254004_0.48850708338157234"},"_hasShrinkwrap":false},"0.9.0-alpha.0f4df0a5":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0f4df0a5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.0f4df0a5","@crave/farmblocks-theme":"^1.7.0-alpha.0f4df0a5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0f4df0a5","dist":{"shasum":"f7dc5e556c12dcc1ee7a156e487ce4ed02262774","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0f4df0a5.tgz","integrity":"sha512-s+fw/ts0/OSXjqPxLgSqf5Q3wszgELWNnhEplaNzirk3QMQDcYoL/ye23jeJeLUHHkrpA/Tv+2wHsucwJTw1LA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxknnCRA9TVsSAnZWagAAdkYP/2z0UMOUqHkA4nf5hmAQ\nALkYsLxlAX2ytum2PrHx+xUfDKs3zfcmjxrQVvEFc3cguxCl2DcLF2TI0ODH\nNGWOgpGMjFLj39Xp3Pm3u3VWgsB1OTbBIpRX9uax5LwHvZaZGCmmeDrsenQq\nvXAYojh7MgpG3A3iTy6NjE7V1VpHoeNU9NNuHeQOsTEdEvE8l2ESKHWqRtUE\nquFp65EqZcMdYVsaVRRFvh8zt/bqVougA/hNF7c7BnfCGncYEGiyfbIN3Fak\n2/Nr3hqAaH57PCwCDv3Nm3bAlvf1lPLzR3x3hb+HKk/0IQCy3CbjETZBC439\n0XFu+z+aveKdZu20xoTMEPO9XMTSiS7H6FYPRtvfq9qDNeJcBjsQsL5b3QMc\nxV6RtoKnGC8rsJwdztJyWd9Y6QZe6q3vYSqGsqecdHabGl0edEYP8rKEv8BE\ndK42ACa2wO/qKRSweQdckDGzpbUFELGWSmBYgThgcvbZuu783dVFJURG2667\nMW+m17K9qIm4qMdajE2G2jH6GVvuLvpcncC033bJ2rtivePs7QMAqlGLx45W\nVZU4l62FVZMWnCE6dsO/0hDbU0rrGwNXXvU0ClIeUPN02GKvuKnRmH3+eQXu\npglMmnyvwiQrekIwKvSQVzZoowEW6JXFDyswTay3JJg9tVPbOBZcDtySpsa0\nVowS\r\n=Xil1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCccD01+OcLHbRMLTzIdKwjHCvm5gRQn4zG0xuhUpu/XAIgUR4BnHWHxSj/aRJkBBA5pVHXniMAzbA12uJjePBzu24="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0f4df0a5_1539721703042_0.6529936941368608"},"_hasShrinkwrap":false},"0.9.0-alpha.b812d0a7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b812d0a7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.b812d0a7","@crave/farmblocks-theme":"^1.7.0-alpha.b812d0a7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b812d0a7","dist":{"shasum":"c3d68ff28c595a7cb783271ac39d2d253894ee8d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b812d0a7.tgz","integrity":"sha512-Mppo6hJUpwv392urHYfSb+RVp1luFgX8pYj0Vu9qL925r505tmsxK/jTEvNsge3W9YgGn9MlR0fji6MESj07/g==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxyaXCRA9TVsSAnZWagAAVQ0QAIldp7/+yzmPHWHTUSG3\nstZx3ND3ynHLemrMyhElVegstQbrKNGjHsAUxLidPFuTD0TaFgnxk2OzyDDs\nCr+Y78Az5f/E7JK/aZ6iw5ryKApdFf3wCZcpAVQ5QKEFfLm/3qcQMviKqNzg\nqG1sA4hOpk+5lOxlpkNLA+CTK8xA1lbnTMBHqFhynxyo09C8GD3jvchcEnP6\nVhc6UZPiaKR1EvvIQz/QRlUvakFRTCinp38S7/AavE8P7IgqeO5BFZxyhdHc\ncjL94u7rZDxigBY+L6dh9ILb6ZTqVBr65cTliX9w3eUKXItsczWOx+oGPcil\nAWp30sb26vYHWcwPOneKHpSJQOsY325tCAbLD+JAAnxzSImOXzV8QN+GbnQu\nyfbzdlPuuOPs5Ix5GR1XcIOAj5a6ZyKyYnr9bXf0L1C6EhCAtF2YniToC0ri\ndSYON/4oWSY9yaBeFD9zEpTVqx5/23yblVFcS+G9+djgu5dx/m8fRisrKELq\nU+Zf6YWhjQxdCDjLdXw0QXFeAfb93oRJU4InNiC60BYzf865cPRj9iTAmmaz\nB6m9odG8gvYf5iCHPkAOAjxM6mT5R5WkycwU5mx/VUzdDCG5vylkk1oXFjHb\nxOwh+1b2s8ZV8/snLtlhXn8lMBy397iLce6yUjPgOLEcrC8xXAdBKFGOYt4p\nbht6\r\n=op37\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELEf80IAG3r9uv/CAoI3cofu0HHG8CnNqil0UoEdoABAiEA3boSQXdsI5a7OAcKmlyzF82wwAJKVlVHKkBDoF84UPc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b812d0a7_1539778198560_0.44784957698886707"},"_hasShrinkwrap":false},"0.8.11":{"name":"@crave/farmblocks-dropdown","version":"0.8.11","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.4","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.11","dist":{"shasum":"769ad2ef154e4f65f0e946f1508e2a6cc4f255ab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.11.tgz","integrity":"sha512-yURxTLem+4WUImJVP07OsAhdWnjqLiQukUmspBHqGklfLsCe8UtglbN7X/qVnntJnrKAbeExae27Cn+U1wnK6Q==","fileCount":15,"unpackedSize":28014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxys3CRA9TVsSAnZWagAAc6sP/jMuF7eZIlo1QcOAxrSo\nFSRg5PMKLfG7tPLgtKBDtODXbNchZSGHOYlQj1eUl/OBnzKFE0C/Wo26qYV/\n6G6tFUecVm10O8hRGHNFOUQzx124gmuHN6ZGnjJInXLHi2Zkyanbi7A5qS0D\n1xa1B2M/k1+WrOEJfpLE/QU8vq3PQOH8OYfPeEMezeK3/kqlksVWIOR1hH1l\nnFTmDgLcKV72h9pJgBTyLdCdHDjiuSMOZyiaNYsDrxxIA116opj4t+s5NstR\n94e70AF2Cn7hDN0kkTHxNJnvSo40apscj2SAjBDy5Z2DpEjXMwH4kJhbDxms\nEIaX/C5/5pC6NCFxZNMf8hfsrgWXH4D2lqPcXdtoaQq+ABRPZ43C0apP8TUL\n6tnwdMAm3sAgoYgFvxc1CfRaK9sfSkE3+q08ybenV51quFLxwCH4u9TQ30FP\nUhCrL2ewIPwu4dJUsmSN1+H2kgNmf1GrsPEj7h2X2I1iUZNdrP837q5nzDMF\nYii/oWpIVPxf+X4O1WRSoyTGVxdIPuPjAon17Ccpmn5lj8TOEhjECRgsLAGi\nq78dqgQqK6jckagZnfOF7Y6/Y8A7X1VqN5rZSBIk27JTCGXdX6GS+u+F07ia\nvjHtKsbj2GHvZPo77fbq+a3qzJy6PfbrrNhn8HVAKpWMoZBEHiuYP0SFlrJQ\nY9aX\r\n=WHfo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQbXeOsH1ldkhxltzO+3WEtkWytXHngnKwSAmFq/vO8AiEAg+hjsxzn5THvv21Eop8amJ8KJzq9kBGxP9h1bTAZfLg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.11_1539779382916_0.29778531782673845"},"_hasShrinkwrap":false},"0.9.0-alpha.640632ef":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.640632ef","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.640632ef","@crave/farmblocks-theme":"^1.7.0-alpha.640632ef","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.640632ef","dist":{"shasum":"d29d0197c35bab3dee4f34f88a64c8310dddec91","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.640632ef.tgz","integrity":"sha512-eZWmqUH4/FoQTW51/rySS5n/rIfUbzg5TxtzIUS3xXz9V5cAeIwYox0IBQdOWWG1WUg/8ESgbQqQx6tkCVesSA==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxzZWCRA9TVsSAnZWagAAL9kQAIcqMkwYiIGxnBRFu1gz\n9KJ2gy65XdL4VULPqPG4mL+cRRwO/5HeYHBL5rVD1J8bKrxyr1tBzVgsdccg\nS8bdaD+zZE1RUAYaHbwrjcVjQVoRp0/Uwu+oK6FkopibNeCV6f1K9od7SthL\n4fZ8mitHaae+GsoTtDe4lKRrOV6UsocfAUBtTYzTL3ZUaY4VLBtP+9ssDDrr\nwSrqRlSAQbqgO9vJ69s6ViGONRgnrO/kfthmNwIC/8FmPwRjppw1WUmnp+Vb\nZ9Kd2Wty7HDeXDRElv5w9jizuwllJ//xWc8zW2Qv2wLE43jn0DHN9nxfoFwH\nu8APRXJ+ByE3KMUMQwDHthnXyofVQ7K/kFw/o9ZCMPhlg1OcjOpcuDJn2RDM\nLBcLpcy5GeFUI3iK0zn+0KLmgJ3oD+Frbc4fRxpaguBqGnkCIlq9ZjvnLsab\n5TfySa+rrdYmE3VYeXcI9WbsJG6TOZSwgBxGme+YOHyPr8obhsv8bVhjOzHv\nH9Bk99eodNB4dfKdaxoL71O4KPTFsEOPgJ5mOQbCzUhfYheNnhl1rnWv7iAh\nvvUXTm7HWsVERS/opZqDeITGIWOP40HyTcAVGinBGilwyVLpqZrRH/r1RACZ\nvAegFzU4Vk9BY6xcLn5JCp+mrJCH0guVIoZ2t/JXqadRj4ZQAFXGR4zEuJ4v\nNPK8\r\n=1Iyq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeFRR0ZikNCbyQoh7BrrADByO6KkvtYnkrPSaN8z8t+AIhAJ/5FNI1q2bwMjyitOy5dQY71F1FFyuN3ta0XoxC0VlF"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.640632ef_1539782229347_0.5199727819831814"},"_hasShrinkwrap":false},"0.9.0-alpha.bc4d036e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bc4d036e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.bc4d036e","@crave/farmblocks-theme":"^1.7.0-alpha.bc4d036e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bc4d036e","dist":{"shasum":"762a3e6a8d3c3870d79c8c5620f6bf960f9443b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bc4d036e.tgz","integrity":"sha512-0YNuQKcmDjPS3OJnaV+Z00eclPJvEggGglR32jEEeHZX1KPR49LgzoTGwRNbfDn8NtGCn0bn8+1eO2ECAjzlOQ==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxzZ0CRA9TVsSAnZWagAAKaoP+QHckjiI8QHlz9N4m9WN\nzMi3l20mRrrT/VuZjfuEtM3KAbY3roE8rCAIsTcG47lIG2f3UNmbmlU44cgt\nOeulx4tkFKY8abEF2O8/x6i3yhAVdK6Zc+BpDSs+V+rIGHty4AU2DimZUBvk\nVj6mfvVLCQYqr2W2/3q+FGtPW3wi6O8hv3wYN9sDU246IB+J5IDAjXNVDdlL\nUJ7bfBhn7VFx8FvKSBLxELd7FCm3QNAUTYu1r97T8jMAx/9oMtd9NgfI5N5k\nbVTh2nN0cPfcee4JUqUTKi9EA7PBTyhrWXKC8b3xaT9m77OkWVhB8qQv20Dv\nbsbuz6PTiz1QoiS7TK27Pj8I/BFnoJx0Uh6qroxMr16tfoesZTEd/REalt6Y\nra44Aqqg+A7Q56Vb7LFEfWdODV/ZHxOA4hgV7GbAvoUAiR6MDnDoYe2vc3fO\nbNLh0xhPw2d8o9sEzgsuFnKV3A5f2bHg4geNMhBytE8DJgcJxgnnKRpllw3d\no2XIzcxxMV6dSiO46Q4CNrJU/X/b9pVTIDer7//2y7Beb5jzPoJcdoQvgCWD\nWC3y7R7cwUzcUfbeIR5Xx+kS6EjT40cyxQY5h2E3pNCjRB6DDvULXrXZBBLr\n/h0eXdmO/TBOVREx4CyeowT1dNl70dKDFWRM4iSnhNZ0vcRCiRSx+ioo//HU\njHId\r\n=yMJp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+VmCxvtKLVcv34/pSOPmk0Ejgi9VwcWVvc5hMQGFIiAiEA52P4f5nzh6c2Z4uY5EDfrvh+pEOHNjmKbtHVAw9nAG8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bc4d036e_1539782259710_0.2893592828610303"},"_hasShrinkwrap":false},"0.9.0-alpha.dbf7a74c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.dbf7a74c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.dbf7a74c","@crave/farmblocks-theme":"^1.7.0-alpha.dbf7a74c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.dbf7a74c","dist":{"shasum":"d36e45ee01e23b3c742bf46684f53ced588cdd92","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.dbf7a74c.tgz","integrity":"sha512-gkoY5aouHmSReZ5MgwsAHHGWxU3m/KUyx1YJVjLwOWHuJCF3Zuoeol/qEGmjhTCFRbN8cu/5Owe2i843gE0pKQ==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx0BkCRA9TVsSAnZWagAAsXAP/140RAWRQGBHDbBMxHQq\nVyXJdoj0dhLQeIaW6PQ3s/V3fKx2BK6p9pYVZ0MmDs/z+/2DHg9MvYHe7Lku\nBor7niyitHIEJbUK1GSlhFKcTG6hSSbKEUzsVsgNXxXdVWElUanzX7tztHj4\nFYnplIo3JXe5DJyeYdR/r/XB12yhNSKucyDFC1IufzEfbcUZc+fWZSn+J9cy\nsflpMqbndh2FjGsyE6M+CWoodLfEtODHzn+7ize7wcLQXWnzn8VbZYC62kZl\nW40uN5whyFNDqP+Uus+GOmohEwx7V8c1qHEsS9diUBa3mZJXXutXDqKVPafB\ncsggtYIBNP+arkM2IEeILuvXfzWizMRzSzdY8HAuK4qo+bNJOzC0IhhmHdna\nddSKUmXkGOPLMr8CjT7RLjJny3C0XAlkYZ0FzS3SkqIXioXwAk53zyF2SNFK\n8rxgESCa6MXohQm7fdMPumW6iyEiq1iA4VpNTSXitbiSP6kkMG0nfbzO3UWL\nY2J+coAL7mFBNrzJc3bPiYPvR6SBT2Wb18k/WaMO5s2KQZ8Irw2VuUAtfL3h\nhEUyf8Hz4T02PjMbSO/HH1UYi14uDK8LYkqPcbY1128wkbmheBTwup2ZjXNa\ndDgfgPX6FJ4HQ5Izkewz3i5VHTOz1yg39YZ2aIMtYqsV7ADArnXJd6SAe573\n5+en\r\n=tSDt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9Xp86mHT93p8NOL9evAweUqgUcoSfSKXLmSYGkfv90AiA3+1fe/RqVeqcr5+hmys7uutwOhy0xUVs/0ta+zclCmA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.dbf7a74c_1539784803658_0.2846087352009201"},"_hasShrinkwrap":false},"0.9.0-alpha.57e147b8":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.57e147b8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.57e147b8","@crave/farmblocks-theme":"^1.7.0-alpha.57e147b8","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.57e147b8","dist":{"shasum":"b8406f06c2f1004504d7702cea109495df9f1eb3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.57e147b8.tgz","integrity":"sha512-EFTchDo9ljNclrBjoKV5qXgX+gs+QwGLVOmQV7zkKW49s9BjTSNv108D/WapxUbEh4hVeypHtn81XMpzGTFp/g==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx0mNCRA9TVsSAnZWagAAO1AP/iMnIN8RMgWx3W7896n+\nu8qprvWkal++UOEHTn8WGeG59dzbCzItBVJ9qU6vNkKrWqWlhrfaXvli6b0r\nMe3Sr/fADcLFpddR27Msd4Yr7Jkhnefq+l66QXEy1sdsLye/ij6QcAQzeXF2\nUV1CMqSc4WW0zCu+8yElzm4biZqz+FnpPA4qw9jSjzpjeWZwbB6oTy1M5vxS\nBeJez8trG4sRFoYj9sHBFIEUx5krf4lIO6EiqsGEG5VLs7PLkoG1tD1sJpJc\nLlmfoyX4cstR0AG6AqyJ3SUXLVXL+0AxZZ3NxxNXsKBw0okBWc7BhjPYVNWK\n6jFAQsg5PTM/aOsLGWexync/vA+iQg+OaKlGGGbsBV3uoH+ENfHhlhKEA5+Y\no1sNuiqaUttHhACiZzGVgxKIRjrWcHzCxGPSkaZAbkpZDHgqx+KvGa5g0Md9\nWFG0gNLhl8zcouzP0n0THwZ3UNfb+0a0NXLioOU3/pR9D95pJ2F3K8EhB1Yc\nIFN0V6WZC4/IkH+Tb75IUPf56I1M11Ev3Sys4k1TAGpkG/MCOD8J9TCNJIyr\nNj9XoyWDICLHa+klLfvnhoZq+Zwfa/AM9M+yd36JQqgU5dCT7W6s1px/a+p4\nqpuJRDNDFkmDBXc3LAuF9dxjCaoFLetbBVeF/lrWAVmOWBrY1Qh67PxINwTm\ntqoc\r\n=33j/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgVP5Eg3cmJXxki81VoQCcSIjpyMq/xcD361CbJfycNAiEAqWEVPuaKOsxcPZeTWdEFUwKhXpJEYjZWHJE0on6siBY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.57e147b8_1539787148930_0.6134314441404176"},"_hasShrinkwrap":false},"0.9.0-alpha.0cdfb5a7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0cdfb5a7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.0cdfb5a7","@crave/farmblocks-theme":"^1.7.0-alpha.0cdfb5a7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0cdfb5a7","dist":{"shasum":"d4950d19e4e12a33a7c226d3a73c5e15f3853aa1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0cdfb5a7.tgz","integrity":"sha512-Pq8ZHqDeCXfHheHtbShFYh4tyHLS4CkvOmNq3yVLVmjPIqv3AR/2LguSBXq4ylUo05I5kI45v/3IdkhGf28Qaw==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx2UwCRA9TVsSAnZWagAASZ0P/i9IbBtsJcN0V+h5f5me\nKME6givyP3l3Z0L11ydyAsQzcyfCjGkPCz72wQjV5sbsjco5YBM6XTn97neg\nS3P36d2WfOAmyzN7K7X7WEclemAGN5eU4xxZsjiKcRlpvPBe/XETSlcL6Oxn\n2bv0sQrLHiR93CxvTRyb3peXPHtzZiOG1ZjT/5ibooXJ++6NG0Z/xpu5k/YG\nDryP35XQzQRUnPwPSRMmTGCOm8qcjSrI1DCNIO5BdpYYj/UzWtDzgRAL+nIO\nfxnJSrAwYqEPvWkIB31KpRMceVBZbkIytgFg9IAbd486XLryqc/d5g2WsSvz\nu1rtYn0w+4Iw0pDltuVV98uu8Um7YjQ1fNp8W6EzFn8Czhy8gQDRS7h2HMLS\nvOCEsGmrsbfp7uUTH+z9QFBwXJFWW9lxYW3Xpm2RXjqxfvhvh8jOhVlXIxh4\nhqMJOoIyc7ln+nXfWVif9StUVv19aBXTXdakCIBBQW9BP5UTyGlYKREjexDv\n1wFrF3LWAvsFWRK597YHZPbVokdQQAr3Lv20RO3GGOMFVmPUIqoXB06McTMp\nLVRrrvvrC9pRWhRhndPWfGgA3wJ8Y3TkdDomrPTo8Wtp76CGUHY3tRIXw6Va\nvQCTYIznReewaYxwb3HHaRQu32Ri2BXjFyIMGxKePl1jLIRWV5OKLogMllvG\nh8b9\r\n=R9jB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRpfXX5KEbYb4vzs6EHTtUaTwEvC/Z2cEu/KpJIrYLagIgO69nBl3WfhfryeR08dlz6Q/rNZZarxBn7cF0U0CapkY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0cdfb5a7_1539794222742_0.3112930192757972"},"_hasShrinkwrap":false},"0.9.0-alpha.72feb5f0":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.72feb5f0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.72feb5f0","@crave/farmblocks-theme":"^1.7.0-alpha.72feb5f0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.72feb5f0","dist":{"shasum":"c6b27b5ca33a17cad54440cddea339ec21adbdc9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.72feb5f0.tgz","integrity":"sha512-Clu5DCvVb34HaJygU+xjAsg5di7MJkhHtSG8DdHogF1RZEvhoDJUZVyTCwXkZdGgoTHvy09jc2RARa+JUCnt7A==","fileCount":15,"unpackedSize":28099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx3tkCRA9TVsSAnZWagAADkgP/3bdhiIE0qCYWzMIpz/m\noHrRoopy2g/RAH4ZzZcsCnSOXYxGibAYhk6H64jPpTZMlfi/tb6VrfRxMl3P\noZrOZ/biOo4nPkWlZnH4s39C4bqz+zn4zyXi8Bqt1XjKuKW//oZKHhhzQcCi\nBcSNJoishBa8fGlgoa5RSGh71cRy9oHLxnRqxMqJHhwHqCSpEdPFJ4azWKfl\nUsD6z6kkkpYUrlVfEuPhsjqsbNsEbNLgLih9LSwQ4UjacGsTDIXwA/lVDSYk\nnav+40W9i+7Mh3YRUvyyBjfKkeamIa3kq0KBteNAy9xTD4fnwFQXETF3HDCk\nHr+mnHRZwekGqA1Yobi1xe5z3NlbdLJeLOaq5oeqwi8VdtpNCQ8lTRhc1fif\nOAnAfTuUOfW8DECD5/t8CS0819h5cg2xEfZKvJ5ufBXF97XXSJyfnVYtHBHl\nvGrxsuPNsOBaTGEJtSmFnYUiTFlTxDbWEPudSHm54KVex/dMwuoA78TtjvPb\nbLHnGJz2Weq+9QMyhr7oJGeKGmTNfGqtJBIy9uaWadtEYs3EBd/lrYP3ynt7\n83ALakFcSOBOI9ADnpAMfrwcNMrvxqcQUPSl+V2IKEGRUy0fkuyn84LuqIYS\nJJO1dQg9KLfCB5p7ZLhKAlh6JHxeYVgLrFcBKPTywxY44xom5w4mKZEi5k0/\nIzLt\r\n=Yn5w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjOHJ6nj7zzheYWrBv4y9zML48Z8afxAjaBZ23Zt0NsAiEAmLYmTFKVhgAnvLQmyBlcnxsnjzYdIvgv8xgBX7mAsMY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.72feb5f0_1539799907874_0.2332666036668325"},"_hasShrinkwrap":false},"0.9.0-alpha.711f421a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.711f421a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.711f421a","@crave/farmblocks-theme":"^1.7.0-alpha.711f421a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.711f421a","dist":{"shasum":"b8c8b28658165ea34b6ca82cf7fc858c1b7b52db","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.711f421a.tgz","integrity":"sha512-f7SYWBnr4+h3J8EPrj3COshlbhVwftzsiOeLu4Uzq1ogENRUhbY6OUC6JtJi2oNoC/hzTvqtCDSZ2rmCmh92xQ==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx340CRA9TVsSAnZWagAAJHoQAI9otC75RRudGJvG07pg\nplYPMVUiUONyBPGv1gFnGe1IFe8bjfMbxASnc2xl2hDb/NREl3ep7QmaGwZd\nHjXGDlWuODrEJaINI5Vn7WO5qpJOu2zMJTBoQkBWhvCVt69vGdV73lAqKYdD\nDgfXobXIHGa4xCEyxS4K5h1B5ontLB5liu6SKSLRY+EXVctBnMkhrTMT8fxy\nd8aQIPpgCFN4SI+GG/fUvaeJ+KznHw3GCQQKV4ehFCibM+VsJ5F7NocTN2fQ\nOdbN4MjXTlADq2iFR8CwMXMA7amyswwN/QZAgFmEM2rGBwYB72X26g6hzsEd\nzZgWWD0eTGyRJTSBMPjxPJfP4BKwmT6ThV3GCKEmL63ntXXZ1JMiflh94Q+F\naYXnw70JHyfMFX38RCeY1Qhjc3O21W7SUdySWJ6MpkoKSZaj8xoz39huuDvY\nhXcI0iTMn6n4QCo1/K0fJ2H7nkDnp0bBWfTgHAm4Sn+s9yEub8n/kjiaeZOY\npL+dSX2JnAGBH4BB4KvEocSa2/S6IM3J3PSq7JS5BgQ2w7sICrh2eC8FVCBr\n8prn2IJcIcqgccYKmkjLSiREmd/WLz6DBOcHU2cmGteLwY8fjwThmRkfr7Gi\nesYMnqj52flySLCsmrUWLSMfDZXrH84hvVWvnCEARwW+udfH3Q1o1/UbY5mQ\noM1f\r\n=Iuo9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8mpxHFg5oHR9vjmGVWF0Wj3brNzRLArKuIDK5/HosLAiBQkM7IdBb5gtkxytaPTW0/lZWd9zovFWqCIQBSn5kHXQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.711f421a_1539800627483_0.028806675250110603"},"_hasShrinkwrap":false},"0.9.0-alpha.034ee1e1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.034ee1e1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.034ee1e1","@crave/farmblocks-theme":"^1.7.0-alpha.034ee1e1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.034ee1e1","dist":{"shasum":"ee3048270e3da02dd7b384a715edb280587391b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.034ee1e1.tgz","integrity":"sha512-BikqHkDRgmNDTmHg2JvZ+HxwaLES7Hqslt7l8kLu1TfCNd0QKkl7YSZBwDUGsEw5KpXdDQVXEhkKCx09PIQbMQ==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyLfPCRA9TVsSAnZWagAAT2IP/RmO/0eHWx0ZkLStvle/\nROWxazIYO0kdoe4TkOSoUhJr0YYuVyZOVN8KY7YTNIFjo3AhbzBKHBZqL7aI\nNFOYkn12KdnFZdjQPltsO8Yb97ppTPEbgbegDY6VHMz7/B5/wH7Zpoqyp6vc\nIVY4BnoSp+M1PcbuA9JPUbY4SQIiP1mzFmJvjJwB6geCNn/UwPqorjG4e2tH\nzNabTI2YWp+hhBemaRtrFfv6raJpYOVFC0yOdC2vDDMxa+iUHxW2xapmIhah\nA4Smk+2eOTEgUh/sWhjrr4rq1dNCy0uefHbRE56J2DiD96RHRzsjc1SINfJo\nTO5RQ64Vh3pFRffxNWmwDlBG/xSI4uOTCptzX9oJthEOQdcLXdKfYjIpH9di\n40OYgNP1zFRTNVp465UIaeeSsTTup/f6UEolTc9yK9Nq1MA82yaT+oBeFaDb\nPtLf+1maWWJyTbWbkALrZ3Gtjj6Zqs4QUYJq9kTTjqrgP3V0SSvAbqijPD7Z\nCW14Srz1iczn3x6ZncwxBIw4PJKgBkcvzPJfrBl3F3GHdl5qP7HUENcueCFw\niKM2wuatga4WwpyfBQvehNsXFpI9yoP7zQT187/oYx1UuODlE/MRZ9kWDwD+\n5yf3khhhWu182oxT+F25FCH3BT1kqgvkLrYDlcbs7KmOZg+S6jr3ip84cabD\nExsJ\r\n=ea88\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGN6c20jAqOgBlUSia2dX6K36o3hzsf4RZc2FfF3vfWJAiAaWIEcu+BBKWMxbwvGXnnJ9LBLTr5kJ2d+sesNi33JNg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.034ee1e1_1539880910457_0.6272863252933332"},"_hasShrinkwrap":false},"0.9.0-alpha.ac6e0707":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ac6e0707","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ac6e0707","@crave/farmblocks-theme":"^1.7.0-alpha.ac6e0707","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ac6e0707","dist":{"shasum":"805eb4de4fc5837cdcb676ae2bfe8d8079db5213","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ac6e0707.tgz","integrity":"sha512-n+VBFjLng9ZNVkq1M2xtN2BDfk8VOixv1qOsM1G2WERKS2z0JaDlIENPYMcUHsszD6G0iCHbGGauVKr4lH0T3w==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyRV4CRA9TVsSAnZWagAAEC8P/3oQ8LxvP7qU8GL9f3uT\nA+bQGEJzPxF2AKfIc9TbxngfQGWPPA0caoSu5oG/7Dlaf1xAumx8JugkYlMP\nDsZuV7zVsMTUBYvwWwOomSPhtE+bxrIPMZvxgi+Bp4CJDrTt14vrk9ys2aTo\n1sTedfV0AjkreGoriByz0IErAU5z+x5S7g+ga7yxqoVxDo9XCiTf1mt9XHmx\nyLTTsiQ6iNkAaJbcjb6C6wGMV+CYksh2Lg4HZj5CTbN7U0F2sx4p8mX5Q8kg\nYvmotfxHThqHkw2qVMfEuKohc2wvUk9u/Z9ZxMFEiU/cFaA3GvoMzzeAYdDV\n8Y+XU0OsuPesMQphH3o09vdUzvglJjxUE923GpttyhSxmbcl3gtb+vj+dqC8\nIV6Bgb8F+iM96J0uSDuyvJLTS4WCgW/0374FFPU7H36tbEYAJAf+ascin/P0\n9/H4cYh74DWy0KQ50CgpIB3l/ifzf0f7ET3hq05jP1im3ZeXwAEg4LjSB3p3\njBiZl6K2NX0wHf9+OytW5nS0Cvry8q/fEIGgU3qIynoF9/D2eZyTfW8M8EYJ\npWGvB19zNr4S/0w+IpGEUHWBu5SUhzhhvGhRsjj7n+SRdYe9UYpyHi2i4yw3\nWvt28pQyXY9FZS0OKjmwpKl9EgH5BpfeDo44ToQXPT+BWZtmZKtx6p6WQvah\nhsmo\r\n=OfAX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCndZNCz8VOoo13EtGi92PFwwYZjrQ0TBhFaeDKqDde9gIhAJGW0NJrNzOOVD03ys3ZKUP6FJxQFfPwtqkzNwmoQyvL"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ac6e0707_1539904887779_0.35074799677840174"},"_hasShrinkwrap":false},"0.9.0-alpha.4bdb7036":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4bdb7036","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.4bdb7036","@crave/farmblocks-theme":"^1.7.0-alpha.4bdb7036","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4bdb7036","dist":{"shasum":"774e03b3a9bacf0803b1ac1f94d8432f303a4dca","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4bdb7036.tgz","integrity":"sha512-Zvl24TDBwSKIeMg0OzSQ/sVLQUvVf/p3nQ3tSmPy+UkrBd6pvBPcVvNi7FdHzaiHPtE0aAxLeWLHgM7Pb/LIYQ==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbybhqCRA9TVsSAnZWagAAiy8P/2oK+h8C8fB1jxPcHOWT\n5VDxyg09zSVu6WwQ0tGgaJYPUFH62FnpMEdrU7TOIa3f4X4/Y4X3L43/uPED\nKixHJHmXpCHvNrPDutfSedV7CJUuw81Jvi2ZYmcocdksKWT3/yUonS2wRLVK\nUSZldhRjdn23vuRvmOcQC8F+DxuosMK9NaYaJ/EQGAX65Y97OxHibl1g7n1O\nIX8mCgiLEnbK32SO+zEiSMGnxiIgpNkgq8ZZAzozpgXHx/Codt16IozHJOs4\n9pz9+i3zceJDU8GABFKnkM6EfqRFsaoeKjyRbnd14Vbl2UutztUD07ImeDiB\nVtVUiR+7eYImdrIHSEYumrnUmBUv/xnKZjwJbSryxQG/BtO0z3h8pmZMqd9O\nFUsBTh5tprzlV/xoXuHttgkFhjL4oBSWopMBQ2G14XFqgMBxmyFZX/GCzRyH\nrb3eOGyRQsNfz8fYeS8iLjZpJU+Cm12d9OhEuWuUZL7If7qrqTTzn3SejVXz\n0XNkEFSMN4eRgZKkpzGiUEMn8X/hrhDK6Blq5PIIo5nTk9NAtToCdX2LV9/X\nil77T5CERD4SCj1MtRg2IZN9gKID7+v8wI+OTbxaQ7gie6rZCYX06TwQtz7Y\nJgDPDit2ZUTuIsoT1iZWutu0tX64CHhi2eQLZAeAQSmtE71v8ER3tLVvic92\njX5X\r\n=lMEX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKOCvJKhOSuiI/Ex7o1cTh/FRSFk/ujA70pybtdUxVSAiAUPHOFcb4qt2P3SoJYkY7xox9UuVcgO7iRYUtWt5uJ+Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4bdb7036_1539946602147_0.8247807724935987"},"_hasShrinkwrap":false},"0.9.0-alpha.e2555a09":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e2555a09","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.e2555a09","@crave/farmblocks-theme":"^1.7.0-alpha.e2555a09","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e2555a09","dist":{"shasum":"220bd4e3fa94ccc6998960c0b5ac6f4f7311ba78","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e2555a09.tgz","integrity":"sha512-UOz1n9MNigRVFezL29KA7z9+QeD4qwYrLwepSm8Kc6cRiqUsKsxGTMgGFA9otP8Iz3UQinsHGodjgzzGAx1uWA==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbydpJCRA9TVsSAnZWagAAcHkQAKBEkrRTsBeXweUvZfqN\n8BSC0lx4cOgZ/NJ/iPZIvbRAvuF5vgEqCnjISjofzuaOUZnzT4a+SZG1xfnw\n5TtdoXua0UFIhqEFkwEPz7hebrzCWjMspebaHU9fscX4r3nLRKb3up0A/xeD\nUoIgSY6X41siPBoVJV63s9Hce1HHisIWRaK/NCRuAZOqRAbKfNU1mU3lTElC\n+khbSXIkDao/2KNXnBM9P2XQMB4E642YlMm03rBMyfpZSp60LjKF25SCcyaz\nES4MTyDFznnLaZrUWShc+Ghg5KoNPWj5BcdJVXPUSqTQ8FMKEs+yT1nqi9vX\njN7PG+0q+Pkv3j8bwF3kQsIqM9FQPnjD6IHIWo0POcr0t4zt4CZt4/TxzLHz\ngltRy5vqfQZ7nX9Wh/eqWKYioPTp/g3lTEN+LoKDVOgoZRS7CEENlh5eA2q7\nZ/b7+rabCDbZcF55AtGF4sxSge42/EDDAp30s164NsHa/HiVgyV6qA4W8dlL\n1pyt7gs9bYcXYbxnq8BUikGCw2oKyDxUzFCUJ6zf35iLst/eZlXzxkz+1kK2\nIT3I1oTNgor3AvuZr0glMh630TEeWBllPIWp1lVHWCPbhrEPByeMGv3/d/bl\nNZGyn0d9aEP6wc5NwV5E4PN3h0aIfv4Xz7AVizSXB/OHvMMJjePSY+bINi4+\nTXQd\r\n=ayb8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKyYV9anhbpW0QIh+KtEwEOxD8PLSYU0Lun02ryUk9VAiEAz0iF54eqJs1SXFcYbSb+AgYttlYxkP9Uwg9LZcZlJh0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e2555a09_1539955272398_0.24962325914118821"},"_hasShrinkwrap":false},"0.9.0-alpha.c2f8c5bb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c2f8c5bb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.c2f8c5bb","@crave/farmblocks-theme":"^1.7.0-alpha.c2f8c5bb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c2f8c5bb","dist":{"shasum":"b31cdb0a8378811c58b159352b82bd83b6610399","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c2f8c5bb.tgz","integrity":"sha512-gN63ll1GZ07rb9nJZH042a6Zk2d1z+gl8j+ovT+BJ5nWd5PtBy53yUAzRK3Bxum0pvIBNsaAgjX4FL2c7eogQw==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyd5TCRA9TVsSAnZWagAATOYP/R5wz69+n1V4AU58IOaC\nU/RDAbIaVR7JcgMKIeAgJSuM4LiI6fH/ZwoupwPO/IA8oq9ige7RZeFIRDia\nrR1UmhpMx0X11vyZ+Lx71EwKqJ3uP+06+gRaO5CobfzQwpPqw40YXyLnsSZY\nZZ4Zea4W7lk08QDi9nGEeWhSsUshIOiC9U8d0zG7OSeqx2llWO7Erunm2SNj\nhn/9E8d4smS5RAqPwZ9MtU78edqNzDbRrvkEmJPfZ7NcX0HaGxMFomlwFVxP\nBlL8Jdc2CabnQF8fFQ40SlX7R0gw8665D+esv5CwDr1d7ihRgtyLDDXiKNip\nOuOj6C9VSbjoGMoi2ITQx+uiV9emWewUo26nxStYgMLhTqRE+jrJgQ2EuERI\nvVq3kDxMmXKsEOtT+tndfI+brTb0jPqQJm8e5O16Fnc9gCl4HC9pFalkfl6H\n+iMJXB9v7I2ekesIfCR3nL3S4YHvXbuDbgmRDtcdMwBNYst28caC2rZzni/Y\n75TsTCmMWefzGdTkyRbMhGMwgK6B6ekj5Zxiu9DkAPZ8dsZgmlCpF6knrzDE\n+2v4wmkbn1cK73+5D2tZ+gZe+2bsDmXWj6nqRNd/tZJriR68Q1CeoQwnE3sX\no25nkTE+Ew9YQqMpH2Wy5g4WTomgS3xqlxXGAMrl2pNwSXFur1wHuNYOBX+g\n9Nix\r\n=pb2r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGF/e6LFuaGA5qdkDK7o70LrDfnvrBiCS2b18bsojJqAIhANo0qHJonkmS8rQ+uzHqD7M+DsylPvJLu17sV1+Ob4M4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c2f8c5bb_1539956306811_0.7036614259136353"},"_hasShrinkwrap":false},"0.9.0-alpha.bb47cd4b":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bb47cd4b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.bb47cd4b","@crave/farmblocks-theme":"^1.7.0-alpha.bb47cd4b","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bb47cd4b","dist":{"shasum":"b24fb54ed073f360799631b68b4da73c8bbb931b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bb47cd4b.tgz","integrity":"sha512-48inQ6K1Z3luhfjRrmBQoqI7HRiNOvD+ER/uih9JBS6Txo7a8UfHRtB9KonzJV+LsFAs4gDz+GUzgkgaUIQVJg==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyeHoCRA9TVsSAnZWagAAsrMQAJaKa+8l/uFZU/6aWwrl\n8Rdo6Oc9D/H+e+JN59OmlIfJTFQV8NdxB2AbmvLKk30p4rVnrvsCOqSCajVi\nnr6ikFKbcYC16lwfhxZqAOCM9GQ+DfotYaPwjYT4GDTviM2Sjp5Urs72V8x7\nJbXyhZCzUj/M9Tyhr2LiphJc89wqqoP7Mof9r0jxFecmLmCUnoLNNTZtGEvg\nQVSA/bNp1Q2LGAcHU90bWjrV/bofZCXnumn9/cR16IRZtYlaUsLCrRDaHUDq\nc5QE9jRVb8uI/s/Rz+aGqjkhnh4wbwOidno3+sIl0sfhUdIY+AGbU+XYbYqa\nA0pbSuX4QjBwjrJ5kGAOBn97uNx9f8gUcSsnYZygh6y5ABD7th6tUZHUojEw\nQNFloWQZ+imm5wsrFRFtgKMqSBAv7FNvyVLd8B3AWfYRE4avZOWgyx45TGbP\nRMeN01cF/kkPgA3oBaE2Unie0pElFHRQXKgFj7c9cHqNLNwKtwIs2ntbOXsj\n/ehJBqQJp1IO5yVUDGUmYFvTpk38qWlMziiARr3/bDtuyMjpEzGrgw20xX9O\nN1/YPmnElncSABuIOp9VVUzqyq/7VYNYhHRg7ZEPxH0YIoEUGhW3t+8wCr7A\nWd1nrKtwE92jfzMFgYh6Ppfw5xsDBNsZYCVVbZYFQvR0ygSGj0UmUeRYKXZl\nMrFe\r\n=IHYL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnGqrHy4AW4QzObC2c8i1BdAEiF/Ah44voCIO0xdD0jAiAn4XclVNhsXRJFBRSUtqZrDeY4GOFqpY3bmTWB2+jksA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bb47cd4b_1539957223235_0.6992997687724114"},"_hasShrinkwrap":false},"0.9.0-alpha.c609372e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c609372e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.c609372e","@crave/farmblocks-theme":"^1.7.0-alpha.c609372e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c609372e","dist":{"shasum":"7755c20705b799305c1bd3e00eb5891a04088959","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c609372e.tgz","integrity":"sha512-jiWEznWl4qQAxPo4TmvL+yQqPmJawo/ehedTTKNyeKz4X6eye8igshqnRdalVoyx4qTUmekQ3tI9oBazdWSXCQ==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbygzcCRA9TVsSAnZWagAAGhEP/1r4W3ATkbs05lH5G1Kh\nrGIbSeiMvnGqAN7DRijnCtBvMPJlYjMw/UWROnz0H9T5dFjrcBwmWv6gJPdU\nRsEG2557BNcUUwvbmbq0LhrPdgPfvurvgueG+9UodRieB9sVx5o/DQa0wc1v\n73eJxGAcl2Qw1l+nx9zwF97YJ8Y2hd5v4VROmdmpFWFQZDv7aa9p5JoEkaJA\nQwnONfVpkd2XheG4C1EXmxoef4aGcOwZyKsQu29TA3DgmjKDRdzfq47aVUjQ\n7ER5L0o4gMXae59WEOHOahvLbIzq/21CaJp0KRjzdY4hurL4HdvhfiuypIPS\nYtoDUA1WbyT5DdFxV148Hlmygrv75cAM30Ogi6qtsKGIF+z2Kmr6JFBEeSgH\nws1G8y4+FAAPJakgEPn7p/1mnVmNDboA0idD7j/fOI3u7gpocaQ6Z/eckbs2\nUZZuBrvXAvp4Dbh9ddNBP4Ut7ApPi6VGWR1+qLPsquR3ufmWhcQTnmr9K+8N\nh0f5hLsDZBSznFOlxfGZrfEV7C88x2KYEF0URQPC45TIjq78wtqbnORC6QXr\nlA2IW05iB91KrDDALihZ9BnAoJy+zsEcyN/7YLBzaYxwOM+QAkXQAcMYRawk\nJJVASk/0EGErLye7g70Nc8Nfmj37kEohEHdNmX+92TeFGSWRjLzDkkvu8lux\nCfdc\r\n=1sWN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHnl+UlD745qTjWHLCIuVY+yEQmWfcXjAjCNQTGsCCqzAiBQjCKh9vG8HCAUxwKdWHGZ9500+GBlxdMBFQ2wMmVaWA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c609372e_1539968219847_0.8074962121122893"},"_hasShrinkwrap":false},"0.9.0-alpha.25fbfdbe":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.25fbfdbe","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.25fbfdbe","@crave/farmblocks-theme":"^1.7.0-alpha.25fbfdbe","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.25fbfdbe","dist":{"shasum":"c5565b04e6f4ad59cc5ad3b195988fa22581eebf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.25fbfdbe.tgz","integrity":"sha512-11/dl/3kD6dsDiCE9C5Hts1os5d4JU2vu2ejcLhR1M9/VcYKrQLsjCKWp5QhJeKomXh1WCXw5Coy7hVpRguOmw==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyllYCRA9TVsSAnZWagAAR18QAJP0zKszylPPmHcBWodH\nXDybwig7lt3MEJDEe1WOpqKwsHrLntBFnoDKeq3eeoxSSQ2IoZasp4NrfqOs\n8QltWpSGM7KfizD5q7KVHWPUUahXh46/LjWtSDR+932s5N+Hd56g2kOBFR+D\nbNfr38cEcLw7WHIgchRAHnRX2Zif69QYrsKoy7fefYD6Xki0hFVRkt8ce0Uz\nc96UzAi0IMAEFyR0RwIzqsU2gfBn4+/Z7LrBDaQSnM1DlAVfK0tnQTDHRIAE\ndJXpDA6ElctLFH9xcwNmFHz4I/0R1dhwZOOuUJl8hXaJSk5MLiLUQYi2KzuP\nRspBXYljxB0EdW6TK5x7hb25rgAmxxfapRUp42wxsBOGm7jS5AvLCA9L3Ri2\nsOnRIW5Fj3f+xdsNd1eRKcJG+S9/VRkkWMUvJTRHuMZwjm8BsyE0AUSD2TUl\nj2HjJBuPt+VJ+n5ouo77XIaMp/DcK3cWedispQHB+vPEQeut7ngLBA6qoPK8\nvDdSC0R7y/J203rGrQxZMCkp8sgaRyQew16UYg/PEGdd9NR53jMhzzHdtSDj\njiDb9G5hsdbXuGkdY8qqrAZzS0YA3J60f3NJfRixQJyKLho2bsB1zQB5ycHb\nMM7x/4WEu2/GZ2Fno0mLXlMKHKbUXYgMJ88YmR401aRDdzkFCOiqEkx3/2m4\n9pWP\r\n=HQOb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGijeILU8XJD3VsuFllsb5G3CnNcrV+VEnZ6wdxwOurAiEAvE7xG9qa3QesE0gbay6AIXFwOuXRQhRSwIL4UHynrAU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.25fbfdbe_1539987800094_0.9304541093780094"},"_hasShrinkwrap":false},"0.9.0-alpha.4685fddc":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.4685fddc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.4685fddc","@crave/farmblocks-theme":"^1.7.0-alpha.4685fddc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.4685fddc","dist":{"shasum":"3ca7696bea0ce39b71f53d00c5187aebaaa98507","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.4685fddc.tgz","integrity":"sha512-MWylHpzEFC/AjMSrn7dEtRMFWQSJue5SD7E0EH5P1iPD9zvblIQwGUgqYjwHx6Y3+CV+1L7ufOfoSs3zTO3Dpw==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyro6CRA9TVsSAnZWagAAMBkQAJhF7X1TtFl8U/N6a8GN\ng8Nv7HIrVhjavDmW6XvROlJqWpa/WIk8Mv+KvU7LIRXB3rU6rLuxJ9tUPuFg\ntRfMvIStfSsH4zpSH/BjvyKbu+w6aImoU5OJEhKAUUymyre2Ys5XejLd+mZz\nro5NObRP/nqg59eVok6oChPCTjn2EyoPz8obpsSha+fAlBxm7xEEfOfEOQJ5\nwGmNSmm8d7Udy/5MLmon27jqQ/U1Naz6lnSdMO5IxZr+rcaQ4RFfAnly6m4p\n/z57ShhpOOhAC92rrVQAKtjWGkghxYlYG81vGUafuc3gyczjCSfdJiXJAs7v\ndia8POZm93GsmZoojCM3ILkZR7V2rFssOcDlYXw4oeTO+GBgeQKlTywpW2qq\nW+VSRF3Ezs5+3Cy6AhY2TigcmKJUIyz6cA5gaQ71hgKlERBsKuu8zE5j43Ho\nGfagyTAkZRJnnjCtnzHg9eNVdfz/WCQtZdo15n3fZNVjPhF3jRr5nMBgsbb6\neuBpCdi2Q3Ta6E3nnXLVV73/TljnFrCjhC4qVVASUCnrdhPAJsQFtUq3K1HV\n6t8jROuFMflFupFWY3gXPcIQGerQJPQbOprOip+Rv7AnfzMV42M1N/75UQql\nWikXuQuQiwpFerW2MzIAhi/oLcGny3s1h0hCQjYOHvTT/aYJaKNo2QkjMTL/\nBRLw\r\n=jA0r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVqRJ2Utg6TgrzzR49ZscKQP5rdZGMSLf6Sthx6VEX4gIgXbf/Wkkczfo3AUCevdkT7Z2e4uN0FkJWQf7lYbDQ8dc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.4685fddc_1540012601587_0.4271251209082718"},"_hasShrinkwrap":false},"0.9.0-alpha.328cb768":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.328cb768","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.328cb768","@crave/farmblocks-theme":"^1.7.0-alpha.328cb768","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.328cb768","dist":{"shasum":"857f62376eb5c24d42f53438ed498912b5ae12df","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.328cb768.tgz","integrity":"sha512-nsXP1xMB/uF7A+x2bedkc0RXZRwx9zIWtNuk0jV5QE6V+32plRUneJEBmrRpUVFjTheFpQ9qUs0F+FCzwbqZ/Q==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzHseCRA9TVsSAnZWagAAfC8P/0jGJbYMvEwOgP3BGJ3Y\ngrkX+G+wuetaVE8PVdMehYLQWeIBYLZ3dYSs4DEBQ5SOgUngDVSALSWpetNd\nbA3L7Ga1/lGMNcluLpbiTjNmXszDIsmN85SUEUBJPQgfgd3nc0cph/UdwY8Q\nvIhAfLvIVRsH0a2GBSbmEqkExMeYHd4ky2jVgXPOjYgzYqNhzXZGRddf4pNd\nLi+ONd+2Eq60aVL/nwP/YSLJdK5UlBJlZzQyyVqELDd3t721PRqOAIFn/Vdm\nEbt9vRPtchFaGHEGJZGjsl7D5NkTZ9IaxE6fQpTurZzByPFvOOMexVtpfYsY\nqcFdrShXRJUokjnizAzfDcgCA/jGKycIg/b3SsKF26t7wfMrKLjmxAzlr9pS\n7LUYuk84Jpo8nkCAxBXxFCUuso8eLaAIQmnQDIU+rr0ya58ofZXttwv/cFwm\nCEWv0LaXH4it8c2F7+cAtSOIDW+vqU0TNuLlwkvEcpXgbvCGJoQlsZJ0s5ZU\nN1QTWygzwoesotTZe+ybn1DHhF/HXHqICAPrF6G1TSxfIRJz8aHpekX/adzc\ng71XS8P1VkYQUrJZR3L0ojeqSVXBMGXLjp2/R+6R21bBQ7L8HO06OVj8lWle\nS4NnGNfjgLg1VB+z2hwiRt/GRqESIIlYtFkq6hui4h0x/9z8CPWiPpDsF3FO\nEp2f\r\n=Cb+A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI70D+vm/XrCX57PQKt73NWaMp0E8P+3JS4T1LCDkTTQIgbuty3DqUYdy7oxKTHzOageUK+/ZmYVek/eS4kGWldyI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.328cb768_1540127517422_0.5072795581567586"},"_hasShrinkwrap":false},"0.9.0-alpha.1fc84f82":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1fc84f82","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.1fc84f82","@crave/farmblocks-theme":"^1.7.0-alpha.1fc84f82","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1fc84f82","dist":{"shasum":"2731287de7b4e09a996fa75eeaa69aa3cf72dde2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1fc84f82.tgz","integrity":"sha512-2wtLED5326pJ7tesydmYW2l0K/9ChM6Vmjt/CZ18R1V+ThXWON3hhBlv1dMlhROgWDASyfxBRfLkyRyPJqU6Vg==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzjKsCRA9TVsSAnZWagAA+LIQAIJB4zp5OEAgft+rrRUB\n7gravCZ1zKUoqFMpLHjC9hprPTnB9YyXoWtewlKS7bQM5M/MGAie84jBtjiv\nloN1HVEqHTeqONJN0Ge0uTuA+7qbBTibUkK1azUHLRM1vXaYIiNxru68MoNh\nbaZ0DShgep/GUkuGlf06zovihbI98qYgxFpLJaTu/AaV6rEvVIJmKoRaQqjH\nJJdRqmEYJSB1cFn7DgIcCEy30Q6XcMUdNj3GZZnyFUjuyJwDW9J2axn1+FCK\n+MuX6yjbghQfd08accjwHyFk8rqzubs5lJJuDXQmn4djpQLHwmfwAdKKwnS2\nudfOvFOuJbgyeomj2FDL1M7hYZt3bX0Ua4RzBhEEE33/1Uu3YPQsh0NpgyNB\n7e8G8zVL93x95XwvH01iY4mb9IFWVs6hv8vneL9PGA8xX0rIxnnRt5TNICPV\n3xzXPj4GnFzlXvX1N/SdtVMX26AejMaRX5EMutpY/KLT6nqm7YtOXKe7yZX3\nfMzrCHpK4Ttdflbq+Xs6iY7Spw4rklrEYY0cERGA9+hex8Js6HUVrj4LCWuw\n2iaVFr5FfIXn0IQDmiphhpBFsv/eH4tG8KLEhyyCarngpPPDPGPx6114RFGh\nT9HvxYn61PgR57keZEglGoVUcIjzgb4OhpzZk+wffLNeYHGHVBUdbvKNbuBN\nP7Cs\r\n=Ouf5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCQyFUzJ+6mzkPKrUOyd+MGqW9skJ0neYNLeUPsJFg9wIhAMa2VuTbqeCaynrCYxRWlXMKBck9Qbv+Qz1Ny21gZ0qB"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1fc84f82_1540240040879_0.5976482511072287"},"_hasShrinkwrap":false},"0.9.0-alpha.54e7fc6f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.54e7fc6f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.54e7fc6f","@crave/farmblocks-theme":"^1.7.0-alpha.54e7fc6f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.54e7fc6f","dist":{"shasum":"ca9aa49a45a510ec8e5ef87129005dc88767f9bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.54e7fc6f.tgz","integrity":"sha512-q9Eyj4JcCer977hoRrjAe+ztM6ERyG4hgCRI2FrpwzhTtsm5CNmHlLcBvOAxDdsekoYZ8Sj0t9FaT3yvtkdspQ==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzl4DCRA9TVsSAnZWagAAHDkP/i+jSeNhr+IfgBhvh+7/\nZqBXfuvuqrwPLw5f4UiqBFmAgmN0uH0NoFAYAy1tHZBhqrxW2FTh8qubc0+Z\npJyhgb7k7eIHsg/UJuAIaMFE0auchCLmKs97INDpbZ4KseFzOdRdd5dtIKMm\noHOYNHiSWE0qXiI6baRJ/6ta0+oEEcjnzK6sXmJVJk1xrpr68YTG+WWwXH2M\nHwdog5RU3NL/qH3I2AqJaGgDn461rCboD8WYPtX2USMKKEj4DLiAibp9imS3\nPTVSgL4lqC4ViZJKGfLy965/fXKaamDog4YEgzAJYBf5RJKbfWGmsrrnCHy2\nV9GtrLYFtlrMF7xg9fxOzFBM5WCrWrypjHlGJ25WCWh4IxXjwsQK8/RDsK8Y\ng2btsaA3D8ZMc+sX1hsgLaAohnINEzWzrvc1KvVPNOM4AkuejZ8oMBXX+F6p\nJ5j2xpctOyzyaIFLtG9mCCSD2SvD9rb+O2CtxPV0OgZOURnhtlfARP/B8Wjo\nn+nOhkto4X03+xoRYvr+hq56Eb2jLIF76FbYhvUqVS8X9CXOPLoXvbHbM+8P\nwo3JEvvAR9GraTIwXTvl7VCO/9oRWZI0m6vpdq3EGRSqCx7BlKSRbxPSRly6\nUv6Ruv2QGv9h9WyY/op1B7WuRBiEEzcVpWMdjvrY5p3xbDpM26SbPMx0hT7y\nBucu\r\n=wX+X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPNtuiSwhKStiQTnTRnr/JfU+5NYo+pbq1jq/uen9FPAIhAKzKNykc5HUMvrWCb+cBxCb5enWkOdaP1BxJBB24K/20"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.54e7fc6f_1540251138880_0.5970359327703112"},"_hasShrinkwrap":false},"0.9.0-alpha.fbdc2ca3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.fbdc2ca3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.fbdc2ca3","@crave/farmblocks-theme":"^1.7.0-alpha.fbdc2ca3","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.fbdc2ca3","dist":{"shasum":"226d67d1bad4baf841cd3224fe944a5675ba3572","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.fbdc2ca3.tgz","integrity":"sha512-Spfk94CAz69QojCkhrUvydLOo75L6q7/EE/ji4v/2hUw/HCUXDLe9wCN/XBhjA/Yj9N2i9CHlRhq6FtiaiyrOg==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzvTtCRA9TVsSAnZWagAA46IQAJqDa0I1HgYUa9sqPWBt\nhTT2aFQeWvnlyfd3ND0MkluuWFipICcBGkmaT2JP3EOHkia3/LoXsuh7epZO\nAWWOWzmBcXfrlV51tmeSFi7c4xGkqXfnh1QhnXB91aFhmB7qcrXNv/ezJZou\n9iZzrn17xWt3jWaYCLZphpjRaZdiJqQwPJEV8qivKa7D15gr6CzHxrdyuSkv\ngwyJegStqByZwiHaZTHQ8kYlxxtupsRQ/7214dflq8OYMZFDdPkHo6+Hm6yD\nlTqGEvC0misOmVYN6adLdhFUuOQd7vvfNZvbZDF0k3xN/xTtOmc3NR2+aT4M\nn3gnj55pu1/jvIChNpL7g7H3HAPmtivM6nHvWctLrzFfwyTpSjx9QhUE0r/z\nNfUmy3foAyfxYUpcsqN/wFwXYEkYRiSZoXE0pU2x28+M0NUPtJ9VN8TcDE9d\n50kvqjT8/JAQVcetnAEAmEcSYhy4cLRTRS4nv83SbeHxJdBhRi2AMHUXRzP5\npewcusL/MaWPrLfo9QGZgSlffki2561A1803NGsm61psF48aiCyBr1tkOzHw\nu/ko7Y9HpPmxe30SSG4P1u9hQUkJsutHU+gBsbrV9wgDAIRUOuKFEOcipoZd\nUKAXKQ3B8NBur+T4a+iNfeUQwxSMIegyIurHh2Cj9qmKiafHhlEBl/tEfIfa\nB1Gv\r\n=mzr3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDG+AnPGkMGwpQPKHP9HtKFIwsUUuKKL2Qq0So6QEzh7AiEArf+PFl4X+1PdUuo9G/1iKNtowH1dygbDxW0/JU5cT/Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.fbdc2ca3_1540289772045_0.09272980089943039"},"_hasShrinkwrap":false},"0.9.0-alpha.08f4e1e1":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.08f4e1e1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.08f4e1e1","@crave/farmblocks-theme":"^1.7.0-alpha.08f4e1e1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.08f4e1e1","dist":{"shasum":"7ea498c0a8319b25f050f256f8c40ff3bb1a99ad","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.08f4e1e1.tgz","integrity":"sha512-gn/yu8CdPZyVj2Ohy3UDUgF4qeDMqh9B0tGLLFfE/s4FGuUxhY32mm42ypT5WZWfbdkkBc65g1XmuMYozIfNEg==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzxmmCRA9TVsSAnZWagAAn4AQAIFpPxsl4jC1WBmyiOG/\n3O3O5SIgkIumMh89Wv9V/CIyhqA16BMAuS8uRg9nlg5jZI38I3RXkXf2i8JN\nr00cTsX9ea/WwaUg7bol2kBhj/Rw/rcuKs72cyhilTLl2mxjXmRreUCdtzOC\nRsln8dlZZ+eh/Pgd7tbizR51/AWRMpk8qstqqYPc9Q9VtiF2Qzzr1g+ETmsl\n87a3I5pYaBTxG662ez6ujeJ9Sr+/DR8Yx4X+N/AHy+0sBUHlBmVK+vKSbjtZ\n11xB4/g/3eY4YX4bvIi1vHS82Bo7zpUd7N0GhDG0rb5wFV9Fr7KAfIIx7oGe\nOCdbPWo4V9SGnhc2Z6bSre02TrYHAKOqqiNoFplDO5ISw2T1kDB0jAiS/cZZ\nrC9gmlwBvhYmkVnl7gR/stEguwnpcHjLlT6F+889SwzQ9MQiFJwjJuHR+FKh\nP21vmx7FJckhWYsjdLdQCblf5sL86k5r8+A4HhJjXZZkAbzZFqBftMq9/EQd\naps4na4A/4lkfwMHFZyNUATB0xH8t/Uab4DzlKuMC/URnNOFTZ+oYi15S2/6\nHxdowpD6zf2Z3MnJam85iT4CYwFbMDLDhDds2IkmMuNgAIf1Qv4BwrpCu8bU\nisv6GxZTuwa72i3zQz7756EukswDB8/FMU3VXusoM/GqwVktfpurN0r7S3g+\nVtBD\r\n=j1O6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfprMr3ZHX1JI0q4O5gYFq/W8pH/n4sva4crWjbTdUaAiBzebofYXSvFw9z1x1x2KvIwPhQLudjDKGkV3eanY4Y1A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.08f4e1e1_1540299173335_0.6318683846121664"},"_hasShrinkwrap":false},"0.8.12":{"name":"@crave/farmblocks-dropdown","version":"0.8.12","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.5","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.12","dist":{"shasum":"1e5084cb8470bdb5643d4fd6205691966aa8e2ad","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.12.tgz","integrity":"sha512-7TdGKjktcsUkaIeeepxuyu9L/UxSt1D45hgzIk1m0TFd35QyarCqXDeOh9wvudIh8bEeeSsmewR1yX3ajLY5YQ==","fileCount":15,"unpackedSize":28252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzx5aCRA9TVsSAnZWagAAXNMP/idbt6bVMvDqL/DBKEcZ\nEBWJCdiabXiVFeivr3RBjGSClN+ZPJWxl92lBw0kvZ44XsAyvTmX2Vu21JOl\nbHf6EsZIvuGXXNkWWkorL7qX9lxRcNgQyUir7wED7abFCM7BUOaoyR4kGZfn\nuNciqk6e2UIaKfldzFsOPnpKrByaW+/SDQUC7rLpArrOU0j2RZE9LmBluF5E\nQGzABoGwbB8t0QmEVIWWI6p8EllOXMPdi7qxHYSN4uw8UtpX+M+i99WbWNSi\npUqA4ApJyzc3bOsfZmnaqddrVykfLDrN+8PRqp05VDf94Cc61WI928+pyi6Q\n6YhZdiCQn9TjOXulSYQFr9qkACFlIXwXtC5fN4TfqktjAkGLiEBPFWY2Vd/Y\nRrdgm/4Snh9LG6Ll1um/VlC4YvXop/enbztyOrvKjO9/gLzYqlENl4zP87ye\n62vFZnRaWfZ9F9zf3mzJOGSSYaNt3ontIyHwjYM4uXvakYhIVsh0nVpYc/YI\nwfwWh1icw4Pcb15VyUGxm9GVLOQ/WLGPlcBG9s0rV6AEKmR8lU+9bFUGMdTg\nxzq70yTc+Bk1+YvhDQPFNWkGveADxDvoY+LlmZMUbLdbEZ+iiRV2qMA4q98J\nviPwA+0Z0FeH7eI16N1jd2oVwqRF+HxETrFNLnEfPVKvhG36lTwq3BrKpOqG\n/25r\r\n=ZkmO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRp9XyZiZhJC8fPvvhqgmo3R+MXNegz09e8KBUX514OAIhAKpPvSQHPtlEEL7jL6wYQjtpi8VZd83eRDeYktp5Di1O"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.12_1540300376948_0.005657201640420828"},"_hasShrinkwrap":false},"0.9.0-alpha.9297da9f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9297da9f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9297da9f","@crave/farmblocks-theme":"^1.7.0-alpha.9297da9f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9297da9f","dist":{"shasum":"738dbf9980261a7f2f07ad38ee4904b795b8927e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9297da9f.tgz","integrity":"sha512-9DKhWbuwLTMr/dB3ZwfIKKkDgjoNp44yDfte90nTFucgZbu4w6YB5rF8vlb+/q60lj0X+idN2yvz/mbwcJ4KKg==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyLPCRA9TVsSAnZWagAACnYP/iAI9WyCM66T5Vi/Ckc8\njEe/9JdiBYJKQT1x6eAEZsg4miF3a2eHYr4bTx43Wj6CvuXA5tX1vi9Exc3V\nf15MYp4DCZsjR5Lg7wkHYSs1cO3paA2KsZC0uV0u12Ej3TZsyTqTOvogDFuf\nng9qCCpDbNQsXYxeAdTpXRShznZYOXubJMWPaGFj2bZ9rtlT+mTGTqF/9K+5\nk2jGT5wZLY6MF+HICw3jdVDuf2HyTR+1XrdbnbO5r85SiaYXx23C45U5jngg\n6OCnLwpGv9LX26L+2Et0P1jz6aDssNMt9QxdnGIX0Uk7fjRu2MPoB4/R6/ey\nJmNQ8otTfhkopPtxbo+9R0yl5LvXHNW2/k8DKK5s49VmGzSSnMLIfmxtU/WP\n/rVKFmtlc4KF6E3DRbGUdHoDng2rLuEfgucdWxHHdU2VCLHtfmDZo+IRXBFb\nP4Yoij/xIh0Y49GG7z5LNvNWqUI4Ma0MITZGbxHNzwG2nmsEkSuInrH68wTB\nPlvvqfErrJfOj3pX/ITQBdlB2v+gGbn2m+kHm0TRYGZT72GuBtbd3N1ekRaI\nwxzVpfeTDneVc4aVPFSe0W8FiqRn/oVOQXyo06EbIUj6UgynzOWcn5mmrzA3\n/KivnTopR3NLC+2WmtMEWvxcugd4AAdVtmMMzTiKZxZwTkWvbreJx/otJWCn\nvTED\r\n=oFmM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEp1hOqq0JrDptBmJdyyLDvW5aJ5yUjWfmHrYMZh5sxEAiEAo0x9tolVHZRToFwUfSYdrsRho6jADWQObFVTVMceGxw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9297da9f_1540301518684_0.3061045394843209"},"_hasShrinkwrap":false},"0.9.0-alpha.c0ecea5d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c0ecea5d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.c0ecea5d","@crave/farmblocks-theme":"^1.7.0-alpha.c0ecea5d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c0ecea5d","dist":{"shasum":"3303f35a656b9cd7dbf596832b602269c215e3b8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c0ecea5d.tgz","integrity":"sha512-i8cqwP6iJiGw2SiOoJJNS1OA9hcHTNbukPy4TwBXxs6NdW36AhaQnRQjty1c0Nh6fPCSRT/fpQKLwiVXkRO9LA==","fileCount":15,"unpackedSize":28575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyUfCRA9TVsSAnZWagAAMLoP/2HaFByDDotXIPMhM5C6\noQi8Rkn9nj2jO8x0u5mkV1xBMqaDK5WkZj+0KAlSmQ2p7M2rfnjLsWGFCodr\ngoKHTxwU1gZ+Iyn+m56BN08pQloDeZlbreTtMXDU8xRfOIwUAGxgjxnoam2g\nGjc//MbdwatWQgNz3Cg6W6cQE6th15mIpbaQl3a4WT/tezRoQ2Y79+zP18GW\ndBNq7TpENbcfr9O/CBBoXwfRovsqfsK5V7+TSuKSru9fnaK6BBjeX+F1Zukr\nEC5HOHhayfYqrqvvTJShpCB9c7KKtXHCSn7Y0y7EfOJvkS63qogRs7aOypg/\nGTujSG+JPrTK/7JHQBv1qMtnY6CTcOyw6I1YDy4KwMW0BoR9qJUI/RuB3EIU\nJNTGopzdZYyJzfmTaoXzzhkNYopEhrlsO99NnoaY9T+7MDwMgfJm9mP3BgaZ\nT9L8kKEynHyWbybAXcyj8sBwPSg9A1hfqCdG6DY7sYTFr5+fzoSjR3PN0Ttx\nwkPFE0W8qSFrHzRY23f+FSICAtc81DfrFpsklm0Ge0Vv8/gT1fu63s99dQFJ\nEKb1mkWk/kIdNsStXUzduRGuMpnVSZsWcEA3Ea5tAfAtXDC8DOoe905XyQzj\nA3oauoeRcHfegK5AnKp+nxq7o5U35VQ/MilXjvrfPjfh2i4LxGtNoaIAqiJj\nBnnT\r\n=8YKh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbwA5r1cLQwIujzHx2ZRZyzKSy12CePTsH2LgV/eF93AiBq3Lm9lZULvfIdTeP1EM8/3PmM/s1ElUzO1SJwS549uA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c0ecea5d_1540302110843_0.6232304493106211"},"_hasShrinkwrap":false},"0.8.13":{"name":"@crave/farmblocks-dropdown","version":"0.8.13","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.6","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.13","dist":{"shasum":"9e56272d7e4f10a1d306eadb89b72c27ff238216","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.13.tgz","integrity":"sha512-La4K8JHkCJHIfmVSYlbqyUz+5z7gmie+osV8bYaMyp/7Qjk47RKSRlM0xYfQ/fkh9AzYJIzRInmUPyRsJYg5ug==","fileCount":15,"unpackedSize":28490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzygWCRA9TVsSAnZWagAAfdIQAJjDcy+Z6Vb5xi+cqAfD\nHZV3QW9AzQ1VlATfhIKVHfaemirJh9Tj5kCqD1GMf7b9Ex0laijG1OzUjBti\nTKprDbqd0cScyjS4k+gF0li1UJoS4+qGmFqzk7jCvid17ZBaCaKbDxvY/qVx\ndjJoz2e0AK+2YCsjKPKo3JucsJ9jk3tMkIi1I2waB5BSXynAh3H9a2fUppa9\nEkgubD3UHeJt99fmo6UOHNCbzHq/a2BBfEd+ugX8tt19ZQU9ZpVQPac+4v9D\nXdSYKMrTsFTOlGiUtK4k1Wr5YRX0LMwX8wXvk7wC4zk1IJ3HJXJoySirqJTT\n3Qq8A381pVco0oinhFasRftXmCC97LUtCnXbVHzv1U3PwOl/IpF/3WHjhOpU\nfEPdyiBRvTbjRgdlxeJlxFDJHaZlx3nxYoz42O3b+STTDCU5DS5hzi0F7ZLR\nglZPyLrkvKLfOFL3y6kaj66OMVu3GnZ4ARUos4s+wm3mxtXmOLjx9SjD5IJX\nA+hwSY+Rm/5n8B08QRVMCvieArFuwibPLeJICuKM6MUd9XO2LwNnjk879fHt\nB8THdBpriKTw1bloMaHCW4BzPjvLZfpa6S8dhgjNRVDT67l8LVz7u4tDF8/3\nh+YSq4nwltUhZAwl5zYG4IPiYP/QLD14VzyZiL/wqMvcrEcWpKoefuJ5QXXo\npPLz\r\n=Fdnc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3zo30sraFRdtc229vTujfpFKOxMsUKY9GBmDXfo9/1AiEAzTBmyo2rRA6Kd+6F/cXnNi/szMTArK3JVn7fYPt5iCg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.13_1540302869769_0.28654685538425273"},"_hasShrinkwrap":false},"0.9.0-alpha.75fb7265":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.75fb7265","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.75fb7265","@crave/farmblocks-theme":"^1.7.0-alpha.75fb7265","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.75fb7265","dist":{"shasum":"6765d8828212e42728011f5a0ccf1810644862f2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.75fb7265.tgz","integrity":"sha512-5EfvDAMetXmxorf17rDiCU4RW75AeMW/FNV2WTGZwH5IVfSdJKBXsHXfkW/GwNxP9585r4nhAl/PlAVr+cWF9A==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz76QCRA9TVsSAnZWagAAN14P+gKd6aOjZ5bGJE93mgNf\npDKIwgF81QNmvy4ZSnWcKArX5Z/734PbWNngF2R/Jb/KytsiWEapBbOSPQKm\n9ejOKSZfvjtNpiQnpnIIlyL+nWSfEmxh0enqcwcTWsIv3JmpbGKd7OexvzuY\npKBI2vMV9qWCaheL385bUnrJCuirmi7BLlqNLHJi7DEirvvsPYi+8lWkg5xW\npVS5xta9j/taeIDIYNNOdJ7Y1/IV7gEBDraF+UtqUTBxHP/vamFmL4WLdWTn\nfzJaBD4wsHzHrBQC7B9a/1ApMPf0aDRHNbEiKBRiyMsjauJJVlKNcbPwRoc6\nnDhroBcCoEctx61+NkYvbYqxLRbEBoRKZZqUw3mMOwy7vzbdHg1CSHe2uiD8\nj87L8ZLC111BXRYqCPoNizOBYOM0nUjWQtxwfewUlmEDngp3VofNFYl9CxQX\nyqkz63mFQjJNgRnLeON4ezWhVZDt2zhDZTp5lLNhCqqF2xNFPj+xxNnTKSL9\nW3hyg4pOcM516hYWQEO2iU4tvJ2Wy8E6SJs1cHpD8Q24Uj5RGRqn/CEAG2xN\n30faxHvOpCrVq8Tj0CHQTRx9jVfpUAGuHFrQN+wsLE5OI3QAz9w2wZUb7NSk\ntE9ER33ZXapRdxG9l/zfDqRgDAsQRnqf/DY86Z1VA5YsdNm+8tQLseMBNjFJ\nEmSn\r\n=S2Qn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQoRWn9ZCYrBrk5aiSW1Xrl7KM3he5Ca2nV1HYK1okcAiAre8FzrRph3jOqqDlcMTv7/eqj84bmV+j1O7GXSLIQSA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.75fb7265_1540341391590_0.3965019725461678"},"_hasShrinkwrap":false},"0.9.0-alpha.413ab974":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.413ab974","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.413ab974","@crave/farmblocks-theme":"^1.7.0-alpha.413ab974","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.413ab974","dist":{"shasum":"526042bccfb0e8a1bbf10076be914a31a51e0460","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.413ab974.tgz","integrity":"sha512-MuQkEba8yzIzJsyOxV2JYlDUgA4aT4StBkPDanxAq4/udp0NoZjh7zZUMygD0FPKSIVPJSJSSIDxtNTQHyrNkA==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0HUaCRA9TVsSAnZWagAASOwP/RSxSGImd1Nr+pbGz/oI\nqe0GLuyn8hcEcPFNcs9CxfY/Gd2SxpaeBgRb87D5CfcgyJzuZzi6M8vSz8y5\nuUayMnmsv4//GKBJU+o7kKcBxK8rhvGPjKMWWHxv1QecEVaOL+qLER49QEZr\npp8hLJXOTiXT+HXWtkCPf1sfgErvgzN8pA06q0n8eBhaY4d9Wh4h5UAjQhTs\nmHrS8EkEz28n/Jfpm1yt/hlseGQQtDJWl0ZqWZLloYiMJ7ZwLWBxLZtVSgHI\n/zNavC47FLiojuYo9wL86JuXyE2N9+LqIDmhcodflfyvEnyve5tyN/Ty2iRE\nfi1o4BXC2gc7EJtnumZCrWwNN2wBh+LsMknrVAKwy8Tkk8hit8R9iCvQJuZt\ndNO1rvEU23uCHyC3cPQAgGrQmM+z4wCDONHdPk/1RsJ8Utv4H3SLNlc7zxG3\nMDWWiZcl0qz8oz179bAZpfdwLz62fm4+yjWeFXNrKzQMYXy9/h0SCGGmxbRV\nel9NVHXNciPTBfYWYK/QTiDWClsGxcUoU5wdJ2AlollOXVK+fuSmK0mgk9FR\nc89xj2OKBdlYsk5XDnp1RirSfSU4RxZQURt9u//2dsF5ULdM1R+VV/xFaSGa\nVMQP7Qz86/qp1EG3ruqOrJ91XQMwilRXAoP99y9llYABJkPa/n/M9FJ0dUpv\nROS8\r\n=VOZC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHARLy+k7KMgZSX3wrwJvkmby9PaSt9OcY3YQT/W8DxfAiBcuhz0agN9SbiSJSkeVFeEGw4aamLvESqr4qyMYL7Xlw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.413ab974_1540388122025_0.5621428547500444"},"_hasShrinkwrap":false},"0.9.0-alpha.bb03e5a8":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.bb03e5a8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.bb03e5a8","@crave/farmblocks-theme":"^1.7.0-alpha.bb03e5a8","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.bb03e5a8","dist":{"shasum":"4c662b4a57fb18cbc63ff7caae0cbb5f76a818b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.bb03e5a8.tgz","integrity":"sha512-lZKrjBTIXEy3LT2AYZjgftoELDtQ15L2v1Mwsml1a8piMd575IEcL/x828VV9joMQlq5Pft0/WBMkVtrD4lpUg==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0JPnCRA9TVsSAnZWagAAA/IP/0jYukxzkQruRuyQmzk8\nFuAqhRua0FAcZFGrGmwszBIM9yyJQdEWwELLXCnBHSzrm1b7jGA6A1LHjMJz\nhs6jpdja217dDD1qxlLvqsLR726gpm6iHnDFmkz0JyDixJoLcNMaaerESZGv\nA/bNiWkv/mlR07REaVQwBNWta11ilI4c0lwkSuYzqICT8TkgP2+p+LDDG7Jh\nKGrfH7FlC6s/FMOcwoxhFmBxgVyAVaOiX/QZMmhfKA2bHz2SURQfwqqvjDWq\ne7EbixXxcOoTvP4zgQdubcRYmGGbbz3bxYpdc7CSQlI9GM3RbLJsrcwToGwn\n4fPlCJ1kf/Ha94ZpnKCLcC9ZStzPS1/A2LCXEhd3MtTkp34HN4KaePY9nSqk\nk0myQv11wVy8+N4q+0oWkqy37gKlztDEprfDkc0ZR3HjfeQ5cnCGHa4fXWoz\nWaP+Y6q0nOpQZgjE/UukpXKaskNNy7nqOsAFPDcYobqGg0ixagj89FBC1yAv\nZSeCTFxzJ3I5MgbCu+2lUj50E2++bQYBXU+l9yd4z1Fb59qQ3HNe1z/chf5k\nJgxXuOgzjobvNiGJrlNukcxcUgT5/Zkfe0wUyLmcThN2TA3yyMpC+h5DnJZI\nwHiAyUlhdCnhqHsRcv3TJZzf/ZZRRXblUHTKG3SKXxzPRS/Ajp1iA1wVEhiC\nitTG\r\n=zSj4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFOepVKN9vSq0QQ/ZnUDT0OLYHOqx3LEhQkHQkK73xpYAiEAl5PjBq6QK0WlMAsk/Irv6MOqnkQgIoTeLzelZq3gKS4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.bb03e5a8_1540395998845_0.16595951184033852"},"_hasShrinkwrap":false},"0.9.0-alpha.1ccb021e":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.1ccb021e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.1ccb021e","@crave/farmblocks-theme":"^1.7.0-alpha.1ccb021e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.1ccb021e","dist":{"shasum":"76b3de7bc71d19f39f2d3728a986f42c6561af3e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.1ccb021e.tgz","integrity":"sha512-Yyvh22SO3jXoe1+F4MKE5iDbsMNDIrxyBpdzasihSN6LTkTu2xJSXTlsk3U0I5JD1paJkrrbtIw49HDWdmQYBQ==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0JxCCRA9TVsSAnZWagAAx28QAI0JTOGADkyh3FT9rZP7\nu9TlpalLW4hvT/l4/seCrd4IwSiM5rb1P/16ecM3zGyWmYjGBcTa1oK11lV8\n7a+wRHfMc/d/Oyn1P/nsK1g8hvEhu7TBkqR6qt0Idv/YHzwZjiq9iU1V4rCS\nwptapST0zrRkmRbk+tsvHkcWZYXhyCcwfQiKtYJ0wPtbjFLc0UtaBsGGcb+Y\nA9Yqh8eL0FjYCygQr+RK8G4ivywcAaEvBmCeFiFa1eNJiWRHM89C9e8wUZn0\njpiXp8Ojew5kPY4oSv4BxmWuM0P9MUUqqvS144Ik8JRO2Eu0m6fKLYM4sq7F\nQUe5Mx+M7hE8RC/gsymfLdsXJw+FiogM1oJ/it4/oN4AAsJ/4KfM7EtIX1Ws\nGxU3LhnZGSmF+JNc52FXAtdxAWZibjW+Ahpxhqqo4EVcaai0nVog1S9i0PEQ\nCYiS56UMaHUfqjvr3NFiK5D0UncWNHcw581SVIJQNr9AzN7bVLbJzlg79Jlh\nY1brj/DelHL8K00R4hhPekVUy4pfLvlxIV/pJ+lW02rt+WYXi0GZ4MjPde+z\n3Il9mt6k7eh14FiWqBKRVdjeO00cf7AqxR6P9Dph6hMd2krMScEymSJEbMnB\naWzDBKvEXhY+lnDKqx+O1S0l49DM9lEryl2Agg25Txf52Vuf7wBCBZuShc4h\n3Plo\r\n=SwQi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAhJ8eyKQB72+dxuGDUcQ0j0SYhSjUEFlDdRSm4dC8RQIhANilcX40kWK8xuYg0/Ip4HfAfDyPSUb/81oSPLaZbW1T"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.1ccb021e_1540398137217_0.8892137936001572"},"_hasShrinkwrap":false},"0.9.0-alpha.9678cb5d":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9678cb5d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9678cb5d","@crave/farmblocks-theme":"^1.7.0-alpha.9678cb5d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9678cb5d","dist":{"shasum":"9a7692ca3107b4796363c02d3d11528ffb1adac1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9678cb5d.tgz","integrity":"sha512-3EzLLTocY0VDVXb7DufZ7i8pU6D8nN1vBPTIp7zmZfdd3a7EKS4nyR0VX/OLYVHp1ocwy2f0n4JclYwmVJH+Mg==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0MJYCRA9TVsSAnZWagAApxkP+QH1hWQdItsk1CVq+Fku\nKUe4D/h/sFH6MhrGclbj39+zRWZHHoFEB4xO8hgamNCH8PAeUKNfjpnjos8y\nSnvpLQL44QEcBmGEcR4TFQuqdICOy28DZ1HjeF5HGaWxRUk0yn8o1AqYqzs+\ntXby2SmEEAPCPD0o1ywr6zJbKqFBSYDy5IHF4HqgHbn7xlWhTC8KHI8aWvO5\nIJZtVaPwPl8VKuHPofv68nqKzOPeMubAcSbFeXJdkZ0TSOH/qCG/wvSRCdw4\nAfJH60iG9hxgIpcRAeCeIlcuITSZEBQIt2D/DG1RuCSf2Hgro4XUYOnRxlN3\nprARYI8QCB/501rb4DtPYsZRpFcNMvXc7m1dG29TG0nDhE3K/ynD4LwdMUDU\nLr9FpWlmXkMY5a1G7uLzIQpY4+cY8NHYU9cTMvUxbiomhIvTXtnlYaGU0aIH\nYTO0K9I0cibxcVKCY/z++hBP0YRWoWjooe9oilKUAUZI2UybEm3WFEbEWnEB\nNJk6h8ViEDRSN1ji6MneKYGGxz44YSZ5g14/jiBFSdxOXIaXogruM6ClRA/l\nMZsgCTXzgzKrRS5AW8om7pGOgjpXhey1z42oV54eQ4JNN7Xf1UQeuMg48DWE\nZ4Mc4PwUN6+2ZYB8qKvVn5saw+4Mfd/9RyVjNPohvFliilEU86EyQMV4YWY3\nKjht\r\n=h99K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXUCEoT/xadD+uZJt3fqhDN5tbqqFtn9tOfOR7h7/pdAIgbl5lvyfCXqxCTd/nmPsUNYud8KuAUy5R3KqL5rds+E8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9678cb5d_1540407895006_0.09276632204995261"},"_hasShrinkwrap":false},"0.9.0-alpha.7036f1a7":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.7036f1a7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.7036f1a7","@crave/farmblocks-theme":"^1.7.0-alpha.7036f1a7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.7036f1a7","dist":{"shasum":"ea74850b00fa343e4f2d666d84c6b8644781b8aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.7036f1a7.tgz","integrity":"sha512-QB4OZybdfii6ahfos/Wu3UdD7Um6NJ5gHXdI7+9fdIeyJMdZTmkqH9FXPGy3cOe6Z1ISaL17nKHGTkZ9fc/jYA==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0MNbCRA9TVsSAnZWagAA/akP/2Q2QW2qtCvQI8MsabHc\nTfiWEg5NRAEKOVVo6pML3rtFbk3Vy6/Ak2QLa+tRUbO87H26cGnRcvqkt6m1\n9xkE///XDQ4jt+CAUD3kSghDYQNgHRYcFPT0+pF991RcwWE0dbnNMbZ7ypZD\nyeFmYdQWBtsg5rChonEpJqYki90d4IRx15JJkT5sxd7Zane7PQfD8TjUl673\nz6BeJfb5tYXSqBc8/4yTmxtA0xU+/v8Ek/h+dBD2uqJVnEETrrKzwwQCXiyH\nQoVuzfzke7OYh6/76j208lSxdaEMkjOE4rn81U27i2NFXFV3qzLPe3KaoZ09\nh9XD4yzl5TMTouKZQDTA6tv5Yg/n6YPKyaOwR9hM0nt8ItoCWMY0i8aUI1nI\ndDzA/tMt3C22MDDWL118lSa2QzL5MV8S2V4rd79wyAHj/0HR+t0zZWNJ5tz/\nAcuLMVxVT7X+ddkmXux7WB4unmXMZuRcVj1K2nnZjIVDQnxiAcB03B2XdWja\n4tEeVmuijm+uylqugPuldnOM7bc6OCU32xOwBeAxOePt3Uzvgfg0zRu7tqIA\nLL10IYhC7BKNq3LWWbM6FVnEUyK4DdlaMMB6w6I3VrG2lnSUiExknzWKhaIL\nJDzjUAmzHI00j3OW4lkn6tLmlKFGEHYDZYakiWZkCa2s+sB8gWNGYOWuTIxO\nWbbl\r\n=lSZk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0bwE5WcdHAJ/g5R4NWjKH9IfaO17mwX5hVU067axWeAiAmXORt2xioDk4nuW4cpX23BPeYmqGW/31h+dN5pGbUbg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.7036f1a7_1540408154996_0.04455332907355847"},"_hasShrinkwrap":false},"0.9.0-alpha.8be62263":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.8be62263","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.3.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.8be62263","@crave/farmblocks-theme":"^1.7.0-alpha.8be62263","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.8be62263","dist":{"shasum":"5ab54155aad8aea903a04673768ecd62ca28b7f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.8be62263.tgz","integrity":"sha512-1vLs5AEOg+qB+B5KjmPOR5MKUTaR8AiKDZHLPgK73/4+pZhrlwq9nKngGOqpbm0gga9BogQV0GI8lIYbbIP+Ug==","fileCount":15,"unpackedSize":28745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0hN2CRA9TVsSAnZWagAAKN0QAIQYCYM2gAgsXKLvOWGa\nU+E39vxZ/IYqwSuODXfTouH4QJ42/6V3aCUW6+jXi8DMEbYmo3NwNtMlGqZY\nM9fxvJ18w7vhDyfxgePSsVzKp6l0QFZv06EoZtEYIjsaknbLQnyU5tjUKEwP\nS+eJSrOIVxlcwrJSRaKPKn1Ty/At0P737apajSMrbcR+6Hk6/+dDe5Z4EIYb\nNN1S1tH5ygSZJg3K9T/XvrpPUFXYTtmv1ChA8GGMRo1VxcCUqcGew09fc0zA\nlA0CjJ8wx1R3yclux9M4tLlQD/Pwzrsugoe2pZetIHW7sWBQN+nrZEqa4lPQ\nsRxyxRtmOIHQJKfvQ+IjK0k/cxUccv0Kv8Ey0NpKeTMqfn40DTL2DcajQaMr\n4e+ncY4s0SW4f7GpX/bfUkJ241GDOSv5cKrwrcKDOC0csn7gqeKAyPnYwggE\njxmNbIp3swnIUREcuu8U6CsbKZ+Bhyh10+7sPBBJiC9D/oP46cYpvdYi5jVl\nDJW3LQkxB2+xAeQmbDln1sk0de08zgsULKP/rEGfL14rkRPTttO+79RWvvjH\n35aKsHyzPGL3aab7Z6DsrWe3frDHSPd2TpxYV1Xy1CX9r72Tq4RzYirWnUMB\n97ABqbdk3rQmsxJe3kW/QNesXDxAhBbvr+Ts4CIJZGkm15uEHJQz4HgDxXob\njZEr\r\n=UFCo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVGd8+RXpHPuZ6frR2kaZFOuNIY7RacfsYsm3VnIa2uAIhALjMdIRS1EyW3wpRq1aAaT5MDLcKTm5dCjCKLdvlidKy"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.8be62263_1540494197742_0.26700969301134325"},"_hasShrinkwrap":false},"0.9.0-alpha.9f9ad290":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.9f9ad290","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.3.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.9f9ad290","@crave/farmblocks-theme":"^1.7.0-alpha.9f9ad290","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.9f9ad290","dist":{"shasum":"1d508f6cc044b129277d2dbf084b8cbcc7655699","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.9f9ad290.tgz","integrity":"sha512-Znj4MQPCa1y50BYrwzkv6XK9BaSkdMOuCC3iinKiJmuZlTO9h5YqsPcDz4jTO4BCVl78KO3TzktuyvNpOaaCPA==","fileCount":15,"unpackedSize":29221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0hVlCRA9TVsSAnZWagAA3IwP/29p/m3T8CtDv73Voa9x\n+cPpRA41dFNng27mRq7onLO4x0lMOX6OrGHQ5JLLE8mmU8gGxIyPBGkIvpMV\ndeDW/mWhigVLTsurNSbN9pU47S/r6lxAppYxior1ODBfvb9MMWxjRJuMFuaD\nw9BBxtj5d9yFT4+N6cD1ydmDYdFJ3iuumNCT2+dLU3GfRwYK1vUJ9VfrnXYd\nY8sN3ivSe3L4f60XHKL0M+2vUFLIET/jcXwr5u6cOAbyBtH0EpJ+vTji8BMZ\nOYpSN1Yl04iBvTNwESkxlSWpjsAnKHnTK6kG4bSfsipoujViXUv6vLeiUAhc\nUJ+D3nfnLGIy4R2qPaazdTHB+56WBHYKmRO73N+aFjURqvULscGjqkW1ncfV\nFNWZY6zrwQqo8vOVODJoxNmeYWo8bERPoUZnjOGUM5y1Syz+hxRmgNke2tH9\nzG/Mq2xgRBcQhgHXVk4maUPo59c7/WM6j0Yo+w+eCys0AQAKe3ATgsRlWkR9\nfjfDN1BlPcQNkx/DDCL+kg9mWMhzi/ZSst605jWmEG0IzKfC+XJwT3zTvtFD\nRMCeAm2QelmnXxiSYHX9kRfGkn7E63vg+glK0jYN0OJc07z96ae+TUg8CvnQ\nFhwBgMJ433RfzoFZvZDb7g7LGAAAYhQ7W4oCufZdVPCQIdKQ26j8OHyPVwy9\nhEeh\r\n=rt4r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnaMKntrSVEsvIxYY/p1qayJq4/oQmL6HYOYaHaN++OAiEArb1m8p+tPFaC9Pb7qYIdETYsr0GcgoW5UFbu52pqL5s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.9f9ad290_1540494692693_0.1874229497201505"},"_hasShrinkwrap":false},"0.9.0-alpha.b060fd51":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.b060fd51","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.3.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.b060fd51","@crave/farmblocks-theme":"^1.7.0-alpha.b060fd51","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.b060fd51","dist":{"shasum":"df36822a8ef85d40e48bcd10ba3381e727d09d19","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.b060fd51.tgz","integrity":"sha512-ebtD01t4k0VAUDHfP7FpVr09evyxgMEKxfsMO6wgYhRxl5l7yJq7vjQy4oDvVyVA7CpcLcv3fJSxxptpSJy/0w==","fileCount":15,"unpackedSize":29221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0ilOCRA9TVsSAnZWagAADq0P/RlLscCSzFKv0rtUk0Sx\nbfm6hMefarru7exA+MRuJ1Ty8rk3t5llQlR54U3I+1z+cKCFL/xHZD3JatNV\nOVDt9Hsg40vHh03OPhJv5Ij8io0K5NsY0zlwFFLfDghmz5tgK1NPvI+xd+OU\niiOJN9T+azch+Dl4aBMCALeu9Nanmh+ftDZGU2eKGz0pNfHVSFqvDZ1KZksk\nwK/J44xn3FJH9otHJ7hedXGf0WSIkGUZx4GjiIo52ZKNZS3VazMAnyAawVEv\nz8LeLhGzNgLz14fLOxIhQwN4LVl3Bnw+yVsdNOm2cYC5Ni92AWLKCSfEap4I\nT16FzjLEa8p2wY5MtK8wqXyFrGtY9qGoRVvmNZXUGhsqtmEkihaKwlExLpp6\nj/LhhUQn0aKaZRt0My7HL2rfWmK4IxdIjgOaxz61MTF4q45dUyGDbhdQykn6\nWez60bWy72AoYzRQM5QxNqRubYgHb80bHj1KEFsJu3w7pDPyCvaHOm52ubRw\nWC1/bHqSnVyABdJE5CuC7na5m9gTXbaLw8qAxcihwFBGMxUS64pQtAwkHUx7\n/2ZmNdXDfIt3qtGNrgJ00x1YvpQ3o2CDyFjiWwwfTANkjPdQLXi2DaAixvUb\nigbeL44eqht11PLIwrE7E/Ab7PYNXPwlHzb0kbETLadBamcRBHqqd82e+tcJ\nosy9\r\n=Bx4t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARu24ZrR4wgKC8bgvTNGmK5/ZoR5waLLMADuX5pD4oyAiBUzPnmpDp1j8v7TPJWoqczLUfefiSyQZ1q+47ovnrScA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.b060fd51_1540499790123_0.31477844107812736"},"_hasShrinkwrap":false},"0.9.0-alpha.e9d1e49a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.e9d1e49a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.e9d1e49a","@crave/farmblocks-theme":"^1.7.0-alpha.e9d1e49a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.e9d1e49a","dist":{"shasum":"8e490c5561eec8b0b867326996e4a499453f5bf1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.e9d1e49a.tgz","integrity":"sha512-hB9Ze+8mZGARIrT5i1uQbNQe+NzSihw7sH51JVuSG7TnB8ssZVtiIx13tBTwPKIvJDJwA77ahBydoRmGSiS5Jg==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0xqoCRA9TVsSAnZWagAAid4QAKD3PZ89HxNzlcJBKcxf\nxy4BF4dqA0X7jKpSblKTO8hSxPKbdmeJfe/iKEds19Tk3/VAdmHR29LzEBST\n8YiyWlrAtc6DNxZWGsvhzMozXNEPTP+53dtBzphuu97HBFMS9wCtDxdy7Nno\nS0gCMdW0XxAPRUF5uoL7kwAd35ImFkpOK15FUuHQ2EmTyH6RJXJsrL1y5lj+\niKKuYpxh3rCXH+n/KyzNF4BEsMiKMjULfGPJFbl2R4YhD32hdSX+XiJQGaGq\nUici1a7ZpqZbuANKH2w/pbWzW76KQd1QtHE5BbjC5MS1Rm3VYIVD5gtqTB0s\nUGT+ZdR+SVic0w7sM/DVbEsmMRnb4Dalfr4uhERY4yp72nWGVDVrBSkVIH32\n+os9//s1s3wrKvxguqzxA6tCNZ3C2JX8v/qdS+XgQ2rEjrx9yC0mECwgd9s/\n9cXnpN3R6SiJFmfBXya3tcN664pWUN9RU3crbuzhbEFW7lehJb1oAOXF3aBh\nah+l7jO5ltd1lMJ/STyPOurrmisVojVZYzwYQWRQ3h9TA9kfP0T08CviUuRm\nGDFJG7J3O9Q1ecYm+oXwAr7FCYyOzU/sjEkoTZS11Z8ZNWobnu4JKPm8opvy\n4c9oHeFZii/jX1XMWScUBYp3k0OqMuF8i3dZ42yowaJhQsqtiRZ/AMMn6Zjl\nIooC\r\n=n4UT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyWact9IECKFCe0as4UN4A4/7UQHfdt+AWyuf1v9GYwAiAivUKRoRieVRPEp61ftYpuo/+4MJmrr/AeNZNT/WZ8OQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.e9d1e49a_1540561575780_0.2716976297085172"},"_hasShrinkwrap":false},"0.9.0-alpha.70ff7bd3":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.70ff7bd3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.70ff7bd3","@crave/farmblocks-theme":"^1.7.0-alpha.70ff7bd3","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.70ff7bd3","dist":{"shasum":"d41076dc225907dfa7918269848748823bad694a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.70ff7bd3.tgz","integrity":"sha512-wIC1GB14HkuKfOJndLPcabhb7uWG8sa7AZuPqxYymTtGlI5CDrqVa9LgIEJsY7ZTLd/f7gawE+mZjpJ26hE2ow==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0yImCRA9TVsSAnZWagAABC8P/3XUnomd/TyFFEv2DjV/\nZRQPBw7YiWp6NRSsEo+HH3xZjDmmCM5ZbMcUAe+tLFFfQ1DC6oAJ+UKOugzT\nx3Xd59BfogSVW2GCxS1cD670kdzDG+HiPcjXgnVRLxds8fPFwcqGlvfGBOsf\n5K+eTM9vCHEZS9AqjKn6UsHorRrtxx+3IDzhf1Kg4VTv6tk5L8d2gIgCEprV\nZmMQOMGz1w5fbgzwkRcJWu+L6aazeJRPod9+/7wYpHkkYSqhwZ2LwMJJ/x5X\nZeM6841noejPC30Q65yvajMTelAKTVQHiA4v7+VxdR/qM5OUZJMM4tVOS0F6\nvUx0NNYffhnErr6kQKtvvI15JnNlg4EBDEI9W3f70LBC+mTbxfImYQQYvnyt\ngW+5pyBlT/WeArdOZcF9xLcYxufbxsMeJ9jwodawj6nJ6jgPopF+Y7Ugl4UZ\nx3LQJHaTyld+g5P9T2Ovsh8aTlZZmuUwqI6x2fgY40HZPgdmvA5tvBEyBmal\nu+x56Ivr7W3P9zFa+QTVqas5mmcRdtf4UX5ZhQg8tc0QSKtebiq0y5xU15Lh\nu3HVLMeDQZG5hUYFCqxh70Fert1GBd2e4RfUPKHDPGpnYFKAoWmGRWCJBkWQ\nfKMpCPyI22+ZpdlKwzie+RSbCIp/s2ysiGM0JPEUW57aVp2boLAnNEesy2N1\nkuL7\r\n=6Evi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEVobFePbwxoBR1J6JaVnYm3OIlHFC46JaiVi+gK35HQAiBCl6JtedhGsbp+uorBmmGarCJqRGJzN3xpfBTG90U5MQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.70ff7bd3_1540563493616_0.7792338128675655"},"_hasShrinkwrap":false},"0.9.0-alpha.ac36fe7c":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.ac36fe7c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.ac36fe7c","@crave/farmblocks-theme":"^1.7.0-alpha.ac36fe7c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.ac36fe7c","dist":{"shasum":"0de3ca525a4c6b25903968f63007a866bfc67e3d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.ac36fe7c.tgz","integrity":"sha512-ZDPpKyGgpDG0x0fOB0lDCARORlt5KdZgDcP/516lObT515SzAGMOvbMtocfl5Oudrbwc/almufi1ryUyMb1r9w==","fileCount":15,"unpackedSize":29221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00kuCRA9TVsSAnZWagAAs1wP/0lB1VSBxmPux2ZZ4/cS\nBOPOwiShQa653JnwXp//VISDGZpIxzKJdKcr3sne13saqOar9ZH9CU7tYk/c\nPgmm4gTpCaykig18CyOYUgwicIuJ62dg8N0LuFdsofdbYi0+4M37KTb6OPrY\nPdlg/D+LPnVolTStk/V5GHQGWj3VGxb6BVAj7qauSBLcWvT7mfiYxXecfjjq\nwfLPhw9z9QzONKgI8i1ttKhKHyrxyen3m2RzJISsbJVjXz20hg2HTkf/4GK6\nrj3/mdAK0kiYvTCgBSPcU9NCBpLwI81mGyvb/k61C9yYP1oPfvClASFUzdNb\ngO0fTGCBA8XHab7+ayKGWrfcJh99qugKrrLUM+TNJFqsP66Gevj3Sq+tMPlX\nv+PVQ30AFIQhyFxu+I2txtis6xxZxFhe89Qf+kEmkxL56mp89ZnKCmY9dBbe\n1Cw92AscrHAkhHs5Yarz372NtiRSYqiGqk+Vqi3if4pWkpbbWvFFIzK7CBIF\nRi7GNvNegdqAzme2THsW+AYnoXxudNaQ5jOwo3o4roJMaDe2WNoiqvnjn0eB\n0XepoF+0jzvozKGhVp8NCsFSGYEAJpKAPqTo5xyUX42bzSi2u+v34kRb0iD1\n/g/YgC/tZwa4r32n7zaiD0iiGcPjphHsPsTzcgOAwqK+bcJFJU7ii+ixEyh7\n2DkR\r\n=UVSV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdX4yM4ESAWIZ9z+HjjhiIiQaCqs/gH6y4T7DamsTWwAiEA5DrziuPxn4EEMrdTVRm4u+xKhMlJruxX4l6oXLZOWys="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.ac36fe7c_1540573485294_0.5586525336971502"},"_hasShrinkwrap":false},"0.9.0-alpha.64b91c22":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.64b91c22","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.64b91c22","@crave/farmblocks-theme":"^1.7.0-alpha.64b91c22","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.64b91c22","dist":{"shasum":"e85abc4650578d2c5b7ba164c7da53bd888b0ddc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.64b91c22.tgz","integrity":"sha512-1L3bakYen+Tz8u8NkF2Ykb650hOBwPkDYN2ktqIbQ+iU1eMW4ne6m/fl56ad+W0I8a6vNzt6FYcaykAJ0DRmzw==","fileCount":15,"unpackedSize":28813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00+jCRA9TVsSAnZWagAAgcYP/j9T+egq4vL0EU1VFpBK\nt1dXrClYW+fsw0leYGgZP2wCPGPzt7c4lgQYxQfkaevZ5hDp0MzqOGKokNt3\nhCEAwqHLYCUtD8HTp4dxCLPIOLeNPfU+cLODR2EkaT1fA2nS1X01VzAVDn7v\nCpiKxrJZAOOeEQEbBJYjNmAmBwVFt4NszEs7RFA+tTTc4L1Vc84nEFclFt7R\nP+K2HPY/nUgFyk0D+8Ii6R9ieEV+QfMto8h8o7w8LG4IqdUmvAU2EqeLlG5W\nxWu1o6qKQHWxiucKZUW3VssV4A2sOdmAIvfn0p903Q7OlgOwg53LyWHMhJJN\np7pYpmhWEcEmvnoUCRacVjtuLw/a/7I7DgSYWA8YPmbtVHdL0kQiNXg/gpSa\nXeYdLuSZfisjKno9EvEv42LL4V1EQ4RE6tUJ6d/h1e7aRLDp3cqkoaBang1P\nxP8C7FsUDMSs5TVpcQUiY+5zjTXSzaRsT3u1pbDPteX62gdevXzS92BfF9d+\nJxSU6Y0px1YaO032GjE+amv6BCukamoJSibh0tm0AUDzeZZ8bDY58DG4DdGi\nZBSGhduoycZsakX1N+HiOtPfQB+Ik5bS9GqNpybbCpif4bRCRQkOF125EYHc\nahrowO0xsG1nW1DGfOiRX+l1WGDZ/o647NcMbLIQNPl8ULVm3wgzZFxdytuG\nMzkz\r\n=zFye\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3OQnWcqYfVoYuLMcMATvI5JEMNyDxPSdVbQO9LF9ZzQIhAIJjGse6E5BBpump0VOkaolQBT680q/tdfjzprR6n1pA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.64b91c22_1540575139276_0.9593742656147821"},"_hasShrinkwrap":false},"0.8.14":{"name":"@crave/farmblocks-dropdown","version":"0.8.14","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.3.7","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.8.14","dist":{"shasum":"c4f019e293c62a2dcd026e54dc4992275b5a4282","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.8.14.tgz","integrity":"sha512-DY+sx9KH2GOkglxUQuLp94yv/RwZ6IJT0GeO5ZIg83wfpy+B+38z9KEnNwHIW6Bjxh4CEVpvJwf368L/RDCVuw==","fileCount":15,"unpackedSize":28728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb016DCRA9TVsSAnZWagAA3ggQAIz9ubomUHiyhRKky2yG\nXRIlMZTAWglYPo3Ja5PDMtzgNDM9y5iLjbejc2lp40HomWpYEp6hvLRRNfxR\nZZdHv2Ji1EbDWbHFlBrXs8zb0N+feE+rIUhtWxAW+amzIkSW3n6tHGuC8TJO\nPgBgHhjwHveW8Q6iGbTVXf9+tYBF7VBZb8LcTtImeCK4eYYZFbwuk/StQq9X\nkHsRC30+FYmkleXMrQYTPFSMt0pMfOCtus/Ckv2xqd6y4O5sMSPGZyZZXFBu\n2mt0i188uMe2EjTlOzIq9ngAWjLak7Nepq77eVCB8KWlk6IAUiMbU8n8ha1+\npoeSNUrFs8+XZnSlPdgiXYDkFNO9ybDp3xuKAxjNdv3FqU8XZU5pAi6b5X9Y\nMDQARQ7NgLYOUwh/x1jt0HGBbF6t6Ss1QI4sLjjrvjofqp/UIUg0Qzvgz4PL\n4LVuKAX2RY+1n8ePezaMmDjym5FDzj7eXN/4NQJRJnQcpi+J5WFgt+bpPtad\n0I8d3Danj4V8porjXNy8ro4iQndU2rNIdIHFhwYmrk28dUT+FIvFeQ0RTmvg\nb0hBagVAxUwAeWz6zToFA6eOHuno0dis6PYOGS37pr9oya8dJNx02gdgTAJd\nJGm5GDyjYGUwE1nSFyJ4tUsfiVqWSYdb5bRooTXMbcI8lFpMpk2IpEVPjecp\nq1W2\r\n=sw7c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBy6P+/QY0jhbl0ZJBVC6jpHjRaR9Vd+wJhxyWrxxCUAiEA8IjXA8i22qfXAjjrhIr2ukDhe5VYrJaofGiKhcUoZ18="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.8.14_1540578946940_0.08930724086488673"},"_hasShrinkwrap":false},"0.9.0-alpha.884cbfbf":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.884cbfbf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.884cbfbf","@crave/farmblocks-theme":"^1.7.0-alpha.884cbfbf","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.884cbfbf","dist":{"shasum":"c02854ee3c00fda7745c599a1319c44ceb565354","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.884cbfbf.tgz","integrity":"sha512-6TpUZ4B0ef+k8yXJbrmUWpmIKSS8Salyf2jFy9mbbgRBO3Q1v2/+VJQ/uUQp7gP6/OocAEeptQgMbqHyz7qRxQ==","fileCount":15,"unpackedSize":29221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb02O9CRA9TVsSAnZWagAANNsQAJA5ySByzwPmXTWczbfl\nmkPaK4WMpazmxtb2lKb5Ua/IIhbecTEatE6gAKV8xFcZ2cQqo9V9M7aNQEE8\nba61gZ396dRGNta7JdkNXVDpjMeDQy+ZHol4GYBdUEBBh4kOkPmOjTUTFWvL\nM0I9cPOC1c+N8fVhU+SGtObfzaNz4TKDR09NOIf3tDH//ALanL2csMj14ysf\n1w/g8iW6IdZ0dw7n53dohsu37HZmaWrGbsWu3oOE4fCskuurX6o1+3o8d2JO\nl6OVgjDGMUXJVuR2cMbT7gZPQSy9Zqs5Qka5uxL+KIASkm71C4W3X153bLWP\nEK3B7apcdo6H8x6BN4q3+xPRKlXARQ/337g8sCr6sGNDaFW20ve20IPMvQ5F\n1csoK/bKXUyhAIiBk5oUBtXw0NQVol6cnuA9/1sg8vM3y6UCXXqvz0RDJUU3\nEocyy6L8I3lM9hHM8KODBnh+5Xrbuencc/U6sjRB9PM1LJQEFfvIM3CtXGqS\n6t82Sz5D/Ph6nsCnS6FCChdphAQh+llpRu5bnU7a+3penR5VJMGE3L5WIBwU\nDqGwE6C12J1q5lRZVJppu1Let1fHlR3xojxWaXn75pnQEikKOrRA7Gh5kJWx\nIo07eXkk29DvgHS2L6mryKID9JzcEossvGd3397PtcSpewVyBp/BFefXvQov\n+oY2\r\n=kYSj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBZ+oqWSAtkGFdVhphbj17Pl9OnLDaCVbbqFQ4JMgcVwIhAKsouFl70bK2yNXXtVEYeP+tJjCUqRdM7fWd/hxG9xWA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.884cbfbf_1540580284826_0.3412727979779111"},"_hasShrinkwrap":false},"0.9.0-alpha.0af71f65":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.0af71f65","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.0af71f65","@crave/farmblocks-theme":"^1.7.0-alpha.0af71f65","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.0af71f65","dist":{"shasum":"452021be350d156f90a7dfd2caf170e6aceaaa94","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.0af71f65.tgz","integrity":"sha512-oWbSMBjt0ns5NEvVrCOtPb2ZtdxxysgPb9r40Z5lfuB9pVQes8grySudaXT33GBJ018F1Kl6dnbNO2HisQWokA==","fileCount":15,"unpackedSize":29539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb03dzCRA9TVsSAnZWagAAz0QQAJlTzoeuVP+5KZil/TjA\nrFV1IbCw9eKoo4sAzkdbNVa3cMXTlwmjn/b6bdM4t58zHts5/wQHULk4yiAc\nU7K3B6JGaxJF5wM6nIR9l0e9ZO/n1cFBu43kaKNiW9KBF+DeKhmKAhxRT1Vd\n68Bjf5Z63EXh9xn1DvdP1+HDaGTDssyPnK/D26i0za7balpEvbFafJEH4Sw6\ndoDlGg1BuTxnl2mn8C2x8XcKOeO6k0gzd1ZOS+hyZmjgLkCcc2CPCutQ4B7F\nMhSVEloyx3Dd5Ii+nAP72UuGEtWXmepZFXfm8jDvztc40VePDdMUCIIyGh0P\nSx8x7oVCPwMi4v4d8HNytB1Kk/E/bNURCCs59xFv/wLEzQ3eUe0/G/hWVsg5\nPB1vrGiTXv3d9fhm7Lcn5f9TDLAV72RpeSzDC7kosFg1C6VdtWDU8v9QI6Uu\nwfcBegMj5sIEHqodtYOH731/j9iJjqg97XDA/L0X7hIG1vUenwp7dKuOQWNz\nxUD8iJW6O6cTr8jQgayecXxk9iXQPmZ9B+Co8zTJcUjjJDtorjiyNCyTBaA/\nLVBuX2kTTFobVz9uakq7J5o2IWsDrjsp1abL8fGY0QpcGw58JU+mv4m7nJ/v\nqTpWwycWnd22y/wbTzVVoEdKAumgWKlfaLcIgeQrTfhuZPqVB1kwbK6UDJrQ\nH1tY\r\n=II/o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICL/4vXlq3RoL1qJTerxMYFWTPB/e4vD9RHLwdAS+Z/UAiAO6l+yVrw2JG9lbMw7jP7HeQEb0au1nrPgfcYw5PUp3w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.0af71f65_1540585331142_0.3515247612543022"},"_hasShrinkwrap":false},"0.9.0-alpha.85335020":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.85335020","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.85335020","@crave/farmblocks-theme":"^1.7.0-alpha.85335020","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.85335020","dist":{"shasum":"84ac1460191f8091b16b6bd4685be345fad793cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.85335020.tgz","integrity":"sha512-uAZwIBcu5DzLBOfUV0VHv/DaBsBrJKugZsR8ls9aAHQAO+ajKf5fQwkMNPPkm/KsZV2EbHG+R2iOgczxNyUvTw==","fileCount":15,"unpackedSize":29539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb04CUCRA9TVsSAnZWagAAaC4P/0oC5ZKTIdRxDCLfnv5n\nj2Yxc//CDzDj4n1/acBKk9TGR0h/1CtF+k1T5eBwH3QcBG4mvsIqPBhP/ccj\nWKjwKOGipQ4VFHIYCbvnHDCmZfsCe7XgzyyaBDRZeANSUNL6OewPKM6CkjfD\nZaFG5RRrdldM66SPWWm8Ed2DONKtJ4DtOArLKvA9ewlJd6Oa0eZkfaeRve0Y\nsY/GqJRdzUh8SMv+k7OTtSpNAM9ct03D0UVMpVe29qG7AvnxLPsvNnPN2yeV\nted56sIx5kFiMrOXUZiURC5wwRZDBDTH69ryabBlwxXZEn7h5Ab+3qXtlAhX\nW6sXquNUqliKx3pqc0Sw7D0I4pnkqxKvM3x2J2wFNf4OgFDOs0U197NRRSPy\nSykPjvlY3O54O/qJcrPSzRz8ZHoKDt6ec64PbZbsQTGms71ekC9X/yRy5Rhh\nwrHLSNUAYAfIlm5prvtYJ0fHN9fByGYeD8t8Zs4GSqLYJbuRFkj/Qa28emTT\nGybCUmdkDF34WARtO/o6K3e65xumg0iCpsfU8lD81+l53YjHFzi/pQWGjBuS\nUrtNjz7nwoDlmzzhkiiHEQ18PPN7mjR/c+pkt4H1ChD3JN6ibw6xZwgqjcrO\nwwD6pvJszNN2qHQKl9Xy7EeeE8o+SiYlMazzmRas+mXajO2eIDvzcSJNgAvs\nrdKm\r\n=cg1P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ3QhQZSnckyVsMYpknJu7C1hnBe2QDc5L1l1qINC3sgIgCb3yxEZukRokoewLLhtWgbf4TREbfWzHy3qJ6YSzSTQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.85335020_1540587667510_0.7717547174280661"},"_hasShrinkwrap":false},"0.9.0-alpha.c4ed1a5a":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.c4ed1a5a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.c4ed1a5a","@crave/farmblocks-theme":"^1.7.0-alpha.c4ed1a5a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.c4ed1a5a","dist":{"shasum":"207ef7ea1f7df280110687ac13c0d502a4ece804","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.c4ed1a5a.tgz","integrity":"sha512-IRcKJoOiAwggwQmfDqt/vaI9Bgz3LVmc03rbndYZlqoLXxqHynfw6iyC4hCCx95kD1aBY9kCQMmFH/EhQDdJqw==","fileCount":15,"unpackedSize":29051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1OuTCRA9TVsSAnZWagAAawwP/1aZQThDXS26s6P4qwFQ\n9hFXclKQWBtL0yBXULxcAEPRmN4wkXQc3s+Adp+ulc8f4f/F4XzasjtmlV3T\n8u5gZltqCR2cqduwcXqT9H0SaEb1BOrLs26riixY9fUgnY6boW7COLBFa2hj\nUAJr4hSsYJpYIJViUlI/OuM7R/7An0I7U2E5JXzNmkSw8A5zeTgAg3RR+Zu6\nIrcbLex1da3ECvvmc0h9AM5Mzcbw7mxr1XchvC9x+Com2Lw1CNEiHgwSzJqH\ncwmfEWTi3vUqoyac4i9Y+Jg+0lRpVmr3IAZK0ZNp0n0U0aZaERsxlWWqsUbb\nvqUJsXNTZgdxI5TAj41kAhNHr4ot8SUTshAut9oVfmKFDI02soi2nwbENxMH\nhi76t3zULGe1O+CHP5QCgW83vAN42RRNjQq3VmoBOqhATVRwZxAHL5+waKc0\nyvetUyYB2abaoJBT1WF6Z0ZBq6L9Y2KzFAQP/Cxn96NVIk0q5vSS7bG2jMME\nAoNaT/fiq/JnwU6zPoQthj3Ri6rCeDxd7HERa3uou1Ni04Dh4ZNpZwnM8uU1\ncSF05Ej9wcNLP3ftdCiTjAxUftskMOUVba16xWnaZGWrdMAO7S5GfT2QHUu7\n7Uhfkz/kp2J/LjNnbhKtNs4KdyDX/86jYMkDWhawe3BmHk8fy4rhWSjoGzBa\nMQlY\r\n=8HZp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEc/9KJPV0QScJuCDGNE+hynj8xaTqpFoZBIkfI8ynQnAiEA3vQ8r6+Dh/azlLyDWpF7IGZ0JOnpVOsv8xHsC8r9e48="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.c4ed1a5a_1540680595095_0.6844500417731809"},"_hasShrinkwrap":false},"0.9.0-alpha.f94d6eeb":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.f94d6eeb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.f94d6eeb","@crave/farmblocks-theme":"^1.7.0-alpha.f94d6eeb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.f94d6eeb","dist":{"shasum":"968921a572bf48feadc4b548525a001a9d6d981d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.f94d6eeb.tgz","integrity":"sha512-Kc0p4MVfg5ICNlLBoLWmZGbunVmtuyd5Hfyu0k7YjeGNCoriu7W8lAl83l2yWfGSmkBSMREAnV2bY6GKlYUoqg==","fileCount":15,"unpackedSize":29539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1wBVCRA9TVsSAnZWagAAfxAP/1CJE57XuJbp4sUPKjHv\nX9oBAHJG7wc52R6oZkldBPjcbZwyUiLuMbWyyCbzTDKlNsckCgV9TGqKDZRC\nKQywT7luT891+WsM6N82yPMXkrqWzn3DEqj9dOyOSS5HJtWRm/O/Vk2f0ePd\nE7iGGBhkBy9HJ/VEbB/I9b9U7SkGMxqF6I0sirC5x5fDWjSnEnhLlGg+FBdt\nmZqphyQ87W+4Ypa6zfd8b3FHy0uijZ0pFErqU6BFIEJHV1ZajuuCzyHQXeOA\nPNOgsgTXFY4niFNvEMu8ZMBIlSmbdVeUMdshWrh48i9+1ys88Ua7owflAUHk\nVs9P5UCcLehWJWh4LOxCBfA+7yxgCHIE6L2ZlUBXXrbL0vtm9oM0AexsAj3a\nv6TzCP+ngvQoNNq+3mtWl+4m3IY5eUpfPu1SaGYbMSxa/DfNlgZ2Sfw2/gnU\nkunXzBaCXcoeG5/nL/qP01dXxCO5dZfdnoY2zZDSAA3tIO7gQnSqA/eGkIQL\nlLZL+ZVPYkwZfax9O/H2ye52UpBBRot1ty9fEL/gCMrMVBtn52/HfDFOwPcd\n/NV7lLiGLydtW2GlT8x7wjMn4GbkryU7NlidVlQeRMt9WiHoABHdLJRon7wf\nmHW6PfMtXxj5Ss2FBsFPWVKk1Jlh7zK1IQKBlGI1NuEZ3S9+U6tXet4dJxtS\n6LHq\r\n=Zuun\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTRDXhqKEoV9f9OAWxsLi55frQ7R4F0xN9CaWjWFs4FQIgRGelvENJCD14eyR/ihQlu2KQ0R5ZkxoxR+IZGx+AxN4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.f94d6eeb_1540816980556_0.22145319806720365"},"_hasShrinkwrap":false},"1.0.0":{"name":"@crave/farmblocks-dropdown","version":"1.0.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.0.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.0","dist":{"shasum":"6fbb54050b4aaf702000429ea04598c826fc163c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.0.tgz","integrity":"sha512-/3lQ1SmrMQX2PjO7L5meVTfjkO/QbWXSM0c6eYIXugTR3Q0ixdm6Y/KHLx6vZ1+4r3ohGLwPzU4OSrYn5yQNFA==","fileCount":15,"unpackedSize":29449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1wRUCRA9TVsSAnZWagAA180P/37P8cLKYuJ6pI4vYa3g\nQPRUQG9VjI8to8IArZrNLq63YYy7+jHZeUCSNur5lKpz87c0XRrDOLeW/J4g\nF5VrMd8w+HeLO8WmdqSScYpJn03raR08ZY8nuDz3vTMG+YZCDBFwSZlLkUIG\n2xGJepIazYfwMdRYHi+ekExWxQdsSnvwAmY3vkyof67UX1W5PE1zfpNc5UbW\n6whHMk1yQKkieh3vrvtpli61NODcBXG4f43hsQXRTQ5qpqgs/dGxtUwD/3eb\nKqVMy7mNrhu3P2Nj/6ektIVVPcDrUb20dCJxkIUhQd3tLFgqsnaMdTG+U/cw\n6Wx2jugX4VchRzLBtZVFcBIBwiw2UIjkIipOzmVrDFYEw+hBik2nb0XBXkx3\nlbfrcMqIW1v8fNyUeQhOh7PU+3tFSYQDP9SSSmJMTjhPnPadgt3tCSWFvMwi\n04Snmsyuw3rBD6waUnQiXKdK0WyE+gvYgv4Cu/KQVZj+CNWO9JosY7NPmVeQ\nHzkZjk+y7YMmIo+TXtTmNlhA9s1axHDuBpXdYWsOdpt5/eM0RXtW4PkBBaPQ\nNLcTo6r9NtqXMHJYAE99f4H10go4hKTvzh8Ccd4f3IZ5EoDdpU04srjRytYe\nF0oaWy2hPV9kwZkiIRnGR8j0cguAwsdpAcc/r3hP4Xx2q+CJdApjv0kdNDAS\nWL9O\r\n=yiyJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7LJaf5CTkA/ktNsGTkiPdNvrrxplPOYOCigiXFx3meAiBSzZJ5ABZsK6tD9bOgKLJIj5arIe4FzoVrA59XDsGhhQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.0_1540818004331_0.9453299483434392"},"_hasShrinkwrap":false},"1.1.0-alpha.ca72ed4a":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.ca72ed4a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.ca72ed4a","@crave/farmblocks-theme":"^1.7.0-alpha.ca72ed4a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.ca72ed4a","dist":{"shasum":"93eec28605ae270c5310e81345c2733fc0494ff3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.ca72ed4a.tgz","integrity":"sha512-x+6JQKop2yTLIArn2Iz/PUSgoPr12mMYboSw32XPUpcP6IMnA3/QEqVF1p3+ED1AttrnchOGYGcwdor5K+RSNg==","fileCount":15,"unpackedSize":29772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1wZaCRA9TVsSAnZWagAApJUP/2Ko/fLT3h3wJ5r7FIbs\n/PGD/Bm6TmkkYzvxO+yN5tBDJ60p8e6zGqkjkJJKuVaddClttEM7pkrnfegk\nne2kYqNTRzN0tSe8Zqax8IX6uJkMONDnuQ7hxX39hkXQP3adqM4OsFiPbyiL\nfSlnTmP9k0a/gZaG6WBn5uvrYM/VbcnpEP4IY5AZcIOZtmr5uPZtwC8QCYIx\n9VpQD4YlMD7j/Ly3QwQ9LjIDZosCbFtCFNxMHouLSKQKKb6lmIqQlQfjRscr\nfW/5q9ywePiXaYr2Imc8dfGYak1gsTyniW49R/gccrJNz/KBVXGXH7PT1y8L\nt4EHUmty7XxgmscfHYpvJL83vXOHRRZ0yXYFL5uBA3Qv5/aMdnf/O3/AXW1T\nlu00TzvCas+N+vNm1VyuMRy4xifeT14uTY97GjZX2hsho+tm1Al3uJus5zJv\n46zlKwwg4eqeFcGNme6qIbWJpDZsXy+1xDqfACkWDzCwH+v28sVTJboIatt/\nK3DoNHCLHLsB765riK75wjDjVgcqaNCTU91aD1trBe5/h60tCutgU3n/EKOk\nU+Qe1NsJKkU/X4XJFn6S25ANL6p5/s4CngoU+chIHINJGYZmbwWUii5bdOIJ\n+cV8yJqcsyotwvTMTd4/siHO8dlJwAVqN7ld4N8UOGh1qVvJ3V6YVlfkJSu1\n4E6B\r\n=BYxM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJwzsWzupGHyRKX9DXAVcFoPFYuWrxO1n+ZLprp6RhVAiEA8q/vMlK4KTj/EZytb6iDq9J9y/qIezzREuHqDHWhk5E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.ca72ed4a_1540818522175_0.8944862735523231"},"_hasShrinkwrap":false},"1.1.0-alpha.cb49a83a":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.cb49a83a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.cb49a83a","@crave/farmblocks-theme":"^1.7.0-alpha.cb49a83a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.cb49a83a","dist":{"shasum":"f5ccceb99552e23ad85973c8dccc76e7d677cf3b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.cb49a83a.tgz","integrity":"sha512-9Kcqz8XzO6n8Tt58Fr+Grt/3rthHO/pDCIE/Ug7CEkF7y6z6JkhjwOhM3ZbklLQqWWLYUSHnjHDRAXW+YAXpvQ==","fileCount":15,"unpackedSize":29772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb10FJCRA9TVsSAnZWagAALsoQAKDKum01e3tcRJ0EF2nu\niMTm8M/iZN7B6PKHixgoYE+A2UqsZ3iYa9l2j5nTu3qWded1w5ASkzn3vkcg\nGsN6KrnBSPLGsh5X4J9VPXAzQPTsdMBsrhHt1RtSO1FDJ+9N8Z71hoNCy3wK\ngISS0EQh2WT6BuD7XvGdVHh7xQV47EHzAyZUFRnVhqf/gQ8c7KnkBSWm0dYb\nJKxCDWPUhC0TKDyKdMJY9UbMciUWH828WvzZSw9SOQkiGi0fCje9FmzpRUz/\n+Y7biA2HcsniSAH00BspgOlwRDvbK7s7fD+/d5aj52Vty8mIzPLX81MM0wBz\n+czurBXXmSZv7O58zS3BrUN1Ny0fEtIrOGN1/YnL4DSHtqko99R0Z+AVfqDk\nc3UWAIOpdpwYQl66GKSXw2t0jcbhK/ptDTo/PgoWuyaAvJlxJfvzhGzcR92D\noP4KTGA4lwstwWkUphDbsOYfE0f3npxXB+RxhRX+zOou8yJoxYooZIUDvGcU\nrpYeZhhyRGaU0Pu2Ei8W6/eSNhuw61zpz6KsbOedyJqDrFGmEg1V7tYOASaw\nBTXVbeH1gapYvWC9XT0NlfifbM0xocIw+D1sI/CUMnxtCe+E1vhfatXPmHyd\nq8WxO4mcFT5Nph4XXi2uR37g5p6tr4tZ00fCoCRlnYbPN5258v37SLsNv+yy\nX4+9\r\n=z6cZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4Xy62sE3fkZbtKhasjZ8zSnaB0xnMgr9X03G17wPStQIhALJ3bLep2ekqj80YTHDG6ofqAvNGWkFpAKyWJd6AEAh3"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.cb49a83a_1540833608369_0.10433371411295145"},"_hasShrinkwrap":false},"1.1.0-alpha.cbfce4cd":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.cbfce4cd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.cbfce4cd","@crave/farmblocks-theme":"^1.7.0-alpha.cbfce4cd","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.cbfce4cd","dist":{"shasum":"fe556ded2fec1c06b740b39cf0b41a68da129a84","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.cbfce4cd.tgz","integrity":"sha512-vglIueI/GH9i/tIlipafgJsKAVxeauv5MnOzmVbzW40/Ri//bJcGhif3+9XNfCERBFJlsOiEQBf9mQN2/tjRUw==","fileCount":15,"unpackedSize":29772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb12VpCRA9TVsSAnZWagAAFAcP/3/U2alUNGasRJIw/5cy\n9zD4+62ItiG/NaltDxaLbxMjhcrBLI2aUDiAP6pwRWQNb58ve473ZwB3XpDc\naAQccuQlLghKyni6lg+VHWmOezk/6vJD8dFqv4YTEWDm0HXv2BHfbny7VdL+\n9/T4Kykgkte5P7PRuM4XT1z3rp0B5TX6hHVZs41m4Twld0KRUnOQqJrgVTK5\nhzlg6lF6gPRQ0KRSBxWoHyagzO891FflzbJpgQpK88F6j8HhPCuu/H8rN6No\nQAVpzNjIfQqe5Hkfmx8mkvWHscaZ00bMInJo4tinOzFJBWFI719/xj1fo9Z9\nj2oVRdtV3R4YmdjzZNFH3rX3WAYS+ctLkpYyC5Yi+/G4qlKdTU72rcqMnmBp\nIQ7bbHbuMb7rDWQb1sDbMwt6PAJTUo4WlNA+mMXqPVH0sVFD2rBEUY7bOiW3\nCqeYFrEgtV5CPLDnqOcl7QlQksiU0TsMStnDzwkZ5kYbzGYEIWfohO9k0bIB\nkLRC83uSQcyDpGMjuh1pOW3/mvO4YCueyTudB2pjexZS1g3L+y+cfhYh281u\n8BtIuNnOPHWoBj5dlPhJgRyV1NAqMUVmphJWNzlIFtw/LMs/eAQfST5u3Xhi\nBI22mvQJbfFrEEvrJGh2AMr4otrsJwRO6sQ7pJ3oZd1cdM4x0AAPEKjEP0FL\nyiWW\r\n=jM+t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuAI4W1eXlZUwP0Xu1VHcAMzEHQ24wHApQyv4SiSwQeAIgaITamDpKL76YIHqZXPpD+bBBoyqiU0J4OljvybXSbDU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.cbfce4cd_1540842856875_0.17340863192231826"},"_hasShrinkwrap":false},"1.1.0-alpha.52cafd22":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.52cafd22","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.52cafd22","@crave/farmblocks-theme":"^1.7.0-alpha.52cafd22","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.52cafd22","dist":{"shasum":"36686d81449c045b790ed0c58f4fec0933e1176d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.52cafd22.tgz","integrity":"sha512-gjX4FbmxA/TyJBMcuEKJSJBxwGlG+NpTvgnMlw9Ki9opx9umSoSXc9L35dxKcW80gyZSGoVsDsw/YqIulyzVYg==","fileCount":15,"unpackedSize":29772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2Es9CRA9TVsSAnZWagAAJhcP/RL5+0Vp7Yyp9bRE5GDl\nro3A3xCQk0UrbGhjJpnj/14ZLRfoGFG92JVq5fa2rPW9PlXiXqVOrJ5uFiqF\n+9N6Ek5skvxcViQr41MP8FSl6JYoV9xmCOuG9TY+0+smJDW/UuZN9SDbwd+e\nV5c0O3LVyRLiFS01qbcMPNhp0UpyOFHCdxglth85tc3gbXSlE26rH78zcI6s\nlQQ6SUiK6BJiDfqRCeZ6B/bD2FJk0CG60LkXvIa/tU7h+8ZPrRzIsSSoIDuU\n5K+i8ojaQDGSh3BkAp6XTSA5hX5FeGDV7nqTjysTOvVL7T8Zhb6CoEztvHYz\nEKdJmAJtFT6tqK3Ut28C1P3RoHwtjrIg11xigsTlQIS+E+zUpypKa8GqSNwO\nnbAGqcM2Gr8bxr0DBqWSwnu5V/GBigA5441wMgD1cQR/P+QOXr9kfB4HSiCc\nsYN7QLYZ5GDyUi5eCdr/mc3twyYGoc5EIQ5Lh1DlRk0JkLb9WwnDWMyyLrCq\nW07IKQdYwQGgFU2eE4bxlkZl7Wy+vKVwmMPs2Pst5VZ+TGFCxzgnRHDWg80K\n4Ll7W48GX+WM0eTWn+UJZD0YSgiqJDp912/P5RZztymlcg18+Dr95WdonJA8\nA7DH2cpWCtsWXB3x23s0v1ucO2VHS62uONkCNOHgd0uA5eiFamFBT9lrlOvf\nhxnG\r\n=XmDY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF6qLcQQtUiw92Ie9g5e8BcJDBDtdCkC0lwkY3fT2g9VAiEAvkjBW7fQv8nfmd9PcbcO2CC9w+dZDvGksIg5jrvdUMA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.52cafd22_1540901692950_0.7209137178838987"},"_hasShrinkwrap":false},"1.1.0-alpha.9053ee92":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.9053ee92","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.9053ee92","@crave/farmblocks-theme":"^1.7.0-alpha.9053ee92","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.9053ee92","dist":{"shasum":"c01045918df22820c9cb949b3b707a2c0f2a95e4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.9053ee92.tgz","integrity":"sha512-a8trCnh30/0LnnicCyvDDlkPq7NhQlmlJjeFZ5uMtYSMQCoQB21Q1AieK7vNJ1TWN6kfxVl98b1wIzCr72OEKg==","fileCount":15,"unpackedSize":29772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2FWcCRA9TVsSAnZWagAA8xwQAJjJGIG5D/pwbYd1fY6Z\nQHOfUD5QhIilf/TzTkAlIbBZ0Q0wlbUbl3adM4huKHmt0VWamLbQx4sTwbxK\nvceEBXv7eGW8rVT0mrfUL9RJ6xilJywmXYnwqY6XqQB/RRzzcH/j+QXcq/f4\nNsrixD4Cbsycipx0r9inxSjI2+cV66S9GytihTJXPepXBhuj1VxJccpx+MBi\n3Ypv7R3CauiGU6CUoZGPlhtjEXgRx4FwGjrUfKPh7w2TuYGi8++kEUWvS07f\nnNgyUbUW/oEOIkBmR6cna1dZFBudwzq2CJdWH+SRQOwatrvF8MmzgNv6Mc7q\nMGtN4llg84KTk9vRQs0/BTPAaaklgnXYRKmxBx10BFXY8L0baD7cdKPamK9i\n38ekN9r8GOac0hC5j4LgKjrvN0iOrocc8UGBWrgqeMB830vhv2BJo6sLIGZ3\nwFTJ2TR+Sl/nWDXNgnJ6xiDTLLUaUXzYmDTR7gJmZRGWYdEtb8rxH3T09fNR\nfAjlU79C7rM7FnKLdZ3KYSi0R1iU13M1lYQDOQ3YJ6wf38z1okq8LWwwVZna\nGcJqxJGNhmI1uLJ7ZEkVxDHr82X/VDEJAiq2zzuzWGDSqfy/zBze7Znnnf+T\nkyRjsqDcgyiKYr9TEHV7nb8ThToiLV6JpwFPWwUbc6PD4blyLGK6hdxfDW2G\nmr26\r\n=lcPK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrG9L3vh3AWcTOfWKi9zsiRPe61kkNoM84bQsyPLnjTAiBRBvuWkBu+ME71+A+bQuAdDwlvtx/ARNoFdsPmx99GLA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.9053ee92_1540904347935_0.42334427203924463"},"_hasShrinkwrap":false},"1.0.1":{"name":"@crave/farmblocks-dropdown","version":"1.0.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.0.1","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.1","dist":{"shasum":"77270d099e2e6786e1dafa19c219a18ddb918ca4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.1.tgz","integrity":"sha512-gTfOWctWphC9qwLzmYvipu5D3oENG9Ae8zEF/2qN1uQXkJOffLfn7N/EzAt5UiCjEEqAQQdELlCrqa5rsuCIYA==","fileCount":15,"unpackedSize":29683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2F6/CRA9TVsSAnZWagAA3Z4P/jQSFuQad69afewBlMWw\nAY81nxacVeUb58QE9HYB9K12uM8NxfIkRnwUwhAckAx17Enyb6qlWZyb931K\nrvpEaOToz5K3gZrvd2spWcPR+32TRgZm1iFj1PMybFYiHbqctqEJ+rN9jAt4\nAGby83OH1mPfUCiAcFapbRidIbp0ypWEBKPdzEQCetv7zMiVoHQVjbV8ZPHJ\nJJ7Rv4xmN/ra+xbI1+nfXNl77thJ78bHOPmYkxDq6kFckomsyAYGnMhPbURz\ntMm3neo4RD+tz1R4Y5Iij56mpF4hjn5hhtCQPCKSvRf7B/fzXvABL1eyj03g\n8/Ju+PgDw+pKrkpOgcWARTCyqEjCDVLCdkYLrk4opGLZBAO8kbwDhfHH0HJx\nCvyVx0DtM3LlELfAV89WR8Uwqgr+rLRN+wnfwbKPx0gpiYgFN+RawfFbfLdd\n+6xnjSEr22bj3wUcjkDHVAXCAD5WCZ9PGqKTA4qw/D0AUgOngA92ICO0hl+I\njGDdw2lNQ/0003oWcGHT/iUe08EHdDnhhJIOF0i6zqAHW4y4d1Tz73NQcmab\npABcCA2tzjK+i419d5ZDydDz6hQ5KjjpmwWRazyJhJiJpe2g317Xt2vWOn//\nTPRgXxXmEPK7GAtAqf0OAvAxYvt6pW9bUmMSGUObMvQlkXogOtww8O+Jwa74\naS5o\r\n=+sF3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFvTwrAhntrvZq0XbW80Zyg01DIiUGcsuEGk2vTM/FBAiAazxvFLdJ2stL+pRuuDhKTejGah5KjMetibEXfUTUHHw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.1_1540906686246_0.49336717455080503"},"_hasShrinkwrap":false},"1.1.0-alpha.6a288aed":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.6a288aed","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.6a288aed","@crave/farmblocks-theme":"^1.7.0-alpha.6a288aed","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.6a288aed","dist":{"shasum":"334624c90f04ec1a330e618105aa61de73a3793f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.6a288aed.tgz","integrity":"sha512-GL/1wFsWfhGYfsCD+vvIbsoKL55g+8lH6cNT1kQAN0d8IfExioEjAshCLAiVY6rCZ5Wh3WSzkt8j9x5VJuzYBg==","fileCount":15,"unpackedSize":30006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2HVtCRA9TVsSAnZWagAAC6MQAJMLZQEoUmyiYkVH7JVp\nae1ZHZfOQ3UhzNy2YIc6GELpOQqKAVf5wkAqU57CzFHk3pfd2IuygAzhSECa\nKbuNMeOTeXWHuH5l2ogIAivWki5kFDGgrBG8rCyCV4WO1ao6dC03Qul/PjGm\nUjZRLLrxBvPpV3FodUhPRcyIajRkHrrCoJTj2/G+fnmKupHfTa19WXkrPUhx\nH8knblNDbyN7saGw+yNMGUxcKC3+GJvKzPlMmWYqFvlj6Kae/Uvl64lXmdik\nyOtfRCma8C/OBSvlEJGWjB97I6dTr9lL6DzSwsev8PQuJ+3EJAwGkv0laoaz\n+Yy5vYXZJPQH/dA8k9uJ6nCuzmhiy0Ef7PqgRm+84Vszra8VKTKL2MORfwEt\ndsUUYi8pziryz1AJq0BBJl6WzZ9PWGnVHw0NYGxbs98YnGLDp11+W/aL9ZqR\n9RLmdWVDUBcBGPHcspOOIfN37dm3ZTHZ+z+eoAU3FQPJdKisUSOYFrz/5TLz\n1xA3v+J2kpvg1Ai+ZTQodqPoTeHgh+jZMsfInET5rEAMTQy3TC3s9HUIoP5K\nL4QjD+KjDSTkeXaFhOZC13V49zwp5u77TqncC7jyD/74iIDr7kGdqJ69SQmk\nc7zy0VaoT2CtuxJWzg0a5nU2FPkgxJU+Qsy71/lsT4GjPiMSJOM6p2T1g7iy\n2PyW\r\n=5nSv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYfMR2q/CnVret5He7iSkF8zxb571iVzkKbq0XP2zZkAiBla3OFsoybUt1CeoFSTL/gb+gCIAb8C9Vf/TErFThyiw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.6a288aed_1540912492945_0.9928442381595137"},"_hasShrinkwrap":false},"1.1.0-alpha.68975eb4":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.68975eb4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.68975eb4","@crave/farmblocks-theme":"^1.7.0-alpha.68975eb4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.68975eb4","dist":{"shasum":"56dcd9b80ae5a1a4d820efa55e5effcec235ca76","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.68975eb4.tgz","integrity":"sha512-pMr9iBCjf5x1aSlYgeAi/6stAV7N6UxxjINg7ACo+XEAU+Ao0B9S63S4WNlm0n8ugKmt98LahO+snPS1geIumg==","fileCount":15,"unpackedSize":30006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2HuFCRA9TVsSAnZWagAA8fsP/3nSkeKq8jTtVnnhsiRj\nPhY7GSjBTxwRswUNiklDLR4KZNsMo1faSv0+02fPJeztmzdm5Od4xjLbDgo/\ni59ozqhJqi3KTLSmR/GKISRo90saTuHwIE0P4BA159rKIPhZRvnMJxAiFSbn\ndaUJIhqy1J6LBKtWoyEZ808lHg5B4xadaQMjq5BB46pAoTnfK5L4lkiiPAlR\nAZCtqxI3yW1LmPg5xF6KSSD79OBqWS5LJOERdy2/kfVZ+Ot3JOlJVvSZQbfd\nkgrirbMBQx3mQojhEQX2l5P0b5cPfzLEK4P09QWoyfPvSb/5/Y+xDLe5Ikku\nAsAnj41YvSHjIhLGA8x9S1Xkd/V/Q8/ws9yUoLUKV4BcBJjNfwo+ceagdrQ2\nhy3vt8XLY5nQYZWKtkjvAgplOyowY7sr5XH/UWX1w2XLuhw+9T0/3tsnlxlm\nUyYzWSHJkzA6nIXRHrPuE09SjehwlzJ3yguruALMisFkj8oVGbnoxF7PjQYH\n8z4ROW6AyyT7cctIaZL4uyGpNdKiCq7nQFwEpNnknSrE1D2Yzzk7BwhClWYA\nT7TEzjCZRJQ2OR2PGe0URIirjSmBeDq/UXE8GP8yf0aI5GQ/L+xltjWaWLqm\nDuax2lTRmxTz0kv2AO2VuXtyDaXN4yBAl6tv81rKwVIHwxGGseqTLt/3mhSF\n2y+D\r\n=rwXH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyh2GgJwkFJrSl2UI+cIYthOqsRa/mQp/R/CRGyuAKFQIgGGPL+7NcnTjajiCsb+EnrDuTQuJy69QBpPQJkScjOeo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.68975eb4_1540914052841_0.16339428069476347"},"_hasShrinkwrap":false},"1.1.0-alpha.fb5f3b79":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.fb5f3b79","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.fb5f3b79","@crave/farmblocks-theme":"^1.7.0-alpha.fb5f3b79","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.fb5f3b79","dist":{"shasum":"1336d6bd5be47eabda3b6f9e973d71343631690a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.fb5f3b79.tgz","integrity":"sha512-hdoAWE2Ua+GsXEbWdTYG5/LUvyt86y6eqeDBxlUeZ2/NyjW0b+Nl+U2xnVUh/hDGQRDPolkDjaImglHKYBUsbA==","fileCount":15,"unpackedSize":30006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2H9JCRA9TVsSAnZWagAAt78P/2xb6UumWFU7kWG/aaWz\n2PMWWD5ZyTH3SIJY7v9ElAZmDyiRrkX27GGUf4UbBeAY8L3etzn8yP4ehYGB\nCgjEO7etpMZNd8RghoXrIpsq551RIYg6X6HxvTOTRYsGiiTk+H0f7AFuvUdQ\ncgjMEdP8wvwZ14DgwGYzrMKCEZSwG1nm+Ph0+0r8A3IkLAhEUB618Gftm/RD\ngGEEU2CMU0V4oL/RGmKePQyNLwlyxR+KFozXb/eynUv8QX7pagTikduJTPpO\nPQQf+Kf1sUIKmOCm/yvtkIHSZ+3ilLmL1dvtZVz7Pe0TiMauK4b/ZVVwNd0m\nMYCZ81FZIagdZ7s7WlntKWF+jLX0AGDZqqstlBf+xSwK50A6DwvzPZQ6JZv7\n/ATi5lIlNy8tjI5zuJXv6HH2+P78+IYYvsTup4rp0bJb1zswZxWOzH7kgAs1\nDgkFzJJZVwkXNDo7B/ck3CjlWjscfBw2E7w9vbIt5R8BmvWFTO9BSZ9QUSZ+\nYNGs9aoFlgNxkDa9Gb5uxO4AL4EB/zIxd5AxvfaOHIEctmBe8IR+PFLvfGHb\n7SOH6sVn2nh5D5TilzqwWechq5ZonuqQD5EHXaxLZhdmf+PRYXVfi5YRYLUW\nOyUyXpIh323Av2JqWeljjFg94EsYn5ZPKN7DluLTUaeqWh2fndKM6nVjg6j9\n0RRd\r\n=bZKf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGC/sr3b0OgRFMFhQUdXE6uUpAdkh3bpTzlCyS4NHQIlAiBaYxLl3TLM+c+7+7wJeakunJ3mbz03fgXcptN6fcFO+g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.fb5f3b79_1540915017169_0.45208749135341475"},"_hasShrinkwrap":false},"1.1.0-alpha.38e29579":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.38e29579","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.38e29579","@crave/farmblocks-theme":"^1.7.0-alpha.38e29579","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.38e29579","dist":{"shasum":"96cd29635008b9af0c183d7648b8d521e6fa1b62","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.38e29579.tgz","integrity":"sha512-mTQl6ES+fhwhwoquGqGkHg1IHwjiN6ks2hqP959Rw9O6H+4Vp8HS9c+dJO+lHz3D6O6cvXw9Gtm5lpLEaWsfrg==","fileCount":15,"unpackedSize":30006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2JGCCRA9TVsSAnZWagAAe5UP/AkG2Wo35ob9rCgYfl4C\nmxs81SRGVYD5wvSgF43PsL/eeZlXejzR9TZ5FTeIVFYnalvxpuQ+2qWvQzPO\nWZd++dnJXi6fBmF4z4scmBY1FI3+GbZygXyCFGKOOH+mCyR750yItM4pfwZB\nyBeyEeEwesRht6c36659HYUv+TN+HHSKtIen3z5gYQfwqhXzn6TEHONDHWuM\nyaLcyfxE4yvjpMVLENE/UUB+menxTGcyvAp4y0IBbSXKkQLDkMol8hYP2hf2\nzylJ64MYNovtzS5rYbaVe7UohRk8HvanMZ4VPQH7FQtoKiw6LUMHeI/0bkb+\n/4qi0kcr0qij6T6dhj9Hz+HsFlIcY2BCcbe5ZP4sx26F6SRjnZrtPtab/fw1\nfmG5bTlo+qitqesW/ODmLJEpnAigwCUu4aAZCt/3G58kT7K96gmKTQsyBhmw\n3TlElfiJzxJbUX4w7L8YBEfEDWGi9ZJEJMjLhuh/31wFUcu7O7cwXWAg4e06\nJS31Jt/dAVI1exv2uqwGqO3vaHrd6z6ipupzl9bOQ7OIg2p0G958IVSIQDlU\nj3sEPjRk+xorVK8UtRRvmLADAcuVUZiebNutyRo9T+2JWNXJOS/WeGZP3/6K\nv9w+d91fM7y5zLZnxijY5PjoxVMK+8ueWN4jvQdIn+d+pTXWljh1Y9jFaD+Z\naloV\r\n=yehk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCltwvzD+ZCHw5i59jHFF806d1xDRvhzUGvS0ygecaHrwIgTmejSCuzftDPnuSxef5A2j1F3RBRzKoiKPyZme1aYJk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.38e29579_1540919682069_0.2375533108885537"},"_hasShrinkwrap":false},"1.0.2":{"name":"@crave/farmblocks-dropdown","version":"1.0.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.0.2","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.2","dist":{"shasum":"6492fee9da3f9380180110d1d4de8c07563c8f85","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.2.tgz","integrity":"sha512-CBBpmJS7B90WI3z38ZtVcRXf/6sCafltYhDW3xF2lQXgNQcvSXhsGhovDzT23YM1bDsOwcH3oAoNXMNg0YN9UQ==","fileCount":15,"unpackedSize":29917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2JQeCRA9TVsSAnZWagAA7FcP+wR9hGaDZ5dRoDn11kn6\nFCoryWFPuI8mOQYocDDCvjyhr8Y4wMp7anIXc3QecgAq2NYyREXXqZvPj+Is\nfjvdrulO1YE/pRVG5t8DVL/i2cTBxnhlMkUxjBO3LZs5Gvil7OcF0HJ2nPCF\ne6Zu1W/HmoFirBfR7aZtQiop2UNEG0IKR6CmL+FiBAaM9inQWjq2HZER28K9\nOL93ki4itQhgXX42hOCawe6Z18SXkrWfwYHb+nln4b14UtlQ8ivu2QaHzuAc\n7n/RfPI5kYcTLU5svHzYXoTNOUW3RpdygrOlByiOWI3QBW6KzwM4k3M6/QwK\nv3e57oQP1NOwvOQylyyowTX2ZBKsRDmOE3Jky7OAwiRkREzV9bmrH8kQSUnJ\nLID0IJLLxjo0JRZUHwZl7SZ5ZNU19uAJm9vrbzEn5Z6zoUcaCC/WtdUC4c7Q\n0nyBRXWna79X6iF6srz0kYP0s9dAILv2YPyVty9fNL9Y6PXNDKXgj8xbNWDa\n3E6qmSVprZAW1m3454YAgzLtd35YNvbJj86F49+mL/43lUbFj1Gd1fM3p/WX\nNwBlu15zuq4qpkxeUMGX4a12p4DP/imaY3uJWSOcej7ZRm/y4ljXvKycxA3T\nlH6X16lgca3yC/04ea96Tk9HWd58R/GSL/XOOyDvwtiw5OZON62/YuUyE0Ht\nfx0i\r\n=jb3x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTMLbLCcs/2uX8UJjHK+t+DYKTO5psph+HW9yQrwInSgIgOOjWFYIzTD9kU7VPPoeQ5kB+L4adJbAYjDz+kpOk7FQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.2_1540920349895_0.06451873810411057"},"_hasShrinkwrap":false},"1.1.0-alpha.412c9747":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.412c9747","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.412c9747","@crave/farmblocks-theme":"^1.7.0-alpha.412c9747","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.412c9747","dist":{"shasum":"a7b2ee66cb847e65157a5a16bf616698c02ed884","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.412c9747.tgz","integrity":"sha512-R+QaB/veVjAx1OIATq+RqV1/vUwvpfFEpCx3aElRybh1UVhd+4P+tFegTmPvpdsrj47hOe4ZYVaHKjgUL7opLQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2eb9CRA9TVsSAnZWagAA4YUP/jWrQ1ceshjulxcDQgqH\nI8uatomfywfw9d6d/26kvBhjkqGhzWuUVrwtf+EkZEDBqTy59+0pMuyU4QNo\no1zi8pmu334DWbbeg9JantJ38E3lpoCib8Z/XeGeDN6HpFlQ9Zen15HOGb4g\nXqkFwYbSDGmgFklGkgnSE6ZB1IbM1DrPDyaFFsPRPp3TJSoppXBZYkhickc1\n/t2OQqW3/hYMVl6Wh1IcvTZp1VF3IW7ZCnRQaWUk4BtzzjSPQ9d0+eRilzia\nTAcjrPoosM/lC7GrkTeJ+KkvHw/MfIgTONWuoQCVBR7PeDeepg+asjSlmmIf\nHWbtPg3CuKEkCCTXs++HJ7420pOGGG3eRXMoJZpNwQD2AOLwnGaVvzHu4a/U\n583TD2bfMpA6U6Nhkp74fmR/wUgvzVBcc4Obcteq5c8OWTP4WriBjmD1kxTu\n5cJki9czRHXKe9F/EVJQhC2M+Qm3Y5j6dKWLYYEusWZcqI/y4aLsg50mb0PI\nDVmojXgWvLmtAU5c6nS0cOvweDkxTt1zb/wCCPOraatQlPwtZjbr/7bc6PTX\nRX4x94OYDQ7k7bB622u/gQpdxQMJGeCMSSq+y0GhZhAFohU6Od8GTKMv0POI\nUbeUXjVb7u+M0oJn/bYAGsA1wuq1Qw6NkAYPSnAvubI8PVmpONogHo/KoT1P\ntWvO\r\n=45T/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8bT8lX/KKYb6SZqB5owGETqwyIIkrkSL6DtU8iSBE6AiEAoVWfCDF9PbdTG9COK/+2s7DjIfq5Db4bqUrlAfJSlxM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.412c9747_1541007101071_0.6283168126367065"},"_hasShrinkwrap":false},"1.1.0-alpha.eef645a0":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.eef645a0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.eef645a0","@crave/farmblocks-theme":"^1.7.0-alpha.eef645a0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.eef645a0","dist":{"shasum":"e23c18e73fd7ec7542d7ecaf229c641228897a88","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.eef645a0.tgz","integrity":"sha512-1b9NSfjkGmQaSWDqdldOcItOvCFRiHLDIFVTOk+FnKK7LTeHdILUrFexxQM239yeu9srNCkBCbmaA2qUcGpUow==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2sReCRA9TVsSAnZWagAAgEAQAKDJBML7anSg4FL1bf2C\nwfGKTYAah/nsvIYuRX8dw+zUNuFswlyBhp0rwo7MrnQ/UC5D9DVKQuj0gFac\nasmXy7U6YSGrB/n3SwnZiX3VDsOy5M1d4lepfw9D7PH9doOSVQ1K4l8lcUd0\nNgj7RsLZMXnnu6uoyaJSRJprGFbMbwLu3GATPGaPpGbgPPWDoekYF+XzNrrN\nmVD9CaKQibw0zLfb/KyMziC3FoHQkQjipXjA6KQi9kEMyuEUJ7w1geyFoZo6\nxhwNm4KnW89hfwvGQ2oyxXEnkfSrKaq5ycpeB7weyGgVHtruZm2XBX1BoXHm\nMcFQi560WnfpxnDQ6NveOg9/lDOA2P9YjWSey7XnKqOVwyuvNgrc+wqSTOzZ\nGTKsnQlre+9Hz/PkoKavP7hktIIQlwonvktp8+VbzRtPW+7L2Yl/PQg7LUUQ\nQZLrw0qGszGJ/L/IpNOiIF8iUNjQzfeRCsGT8LBDQrGDz5wYrV1S6DmFJLcV\njGZ15hbargC09tOyJLv0+cLZIBETaIvg6FR833T20ln+XCX6oO8tUQRyU1Gb\nZN9OMjnUZ6g3k7y9stCc5U7Ws1vil6fYWRtcAA6tikQvMjClR/6sxRb7NrtB\n2bR43n3WKwN6zvmP2uJG0wZEGUq8JZIp2JHrfGcryHbGwHEAP6gLU5Qy5ZEa\nnV0o\r\n=c2nc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGelZopMo145k4cdx1FNdHfrDCLCDGg4QoIwDcaoDJVYAiB0qArPDrh+I7z+n/gBc5YdDec12nc7zx6DEt6T/O+VnA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.eef645a0_1541063773735_0.5493787242007444"},"_hasShrinkwrap":false},"1.1.0-alpha.3292553c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.3292553c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.3292553c","@crave/farmblocks-theme":"^1.7.0-alpha.3292553c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.3292553c","dist":{"shasum":"465167524bdc1724b31c2aeb6862be09a3a9fa9e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.3292553c.tgz","integrity":"sha512-Y2Sno9qJJxhBbjjr8nEJpeocGSc/142f42OgX2NBE2kuEa30LzOf747k3hM8PuzSfLB0i4zV/m07B/bAcn3rqQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2yiDCRA9TVsSAnZWagAAa7oQAJSATlkZcff6qjv17PYQ\nqX338dYFE3yRvPg7niX07fOmAF4w8OgX8LSCO0QU9F2Inix+xYYDtPSvb0PB\nzFFDr3KJuQIOQvEUyR2AcrgxLdFS8dsDxk0ge02YtDOEgp9aFCvMvW2S232P\nP9GYr7rrJLYckLavM16yzrcand0zZ31Mfi4Qn4bUfXwqK5+ZJFjqVoXFbnLG\nAeeE0Z4wzLreJ7xsCRanKs3+Cinxn/gFENds1RPALdLjsyIX+odFYLxbleP0\nYmcEhcDk04YBxff/tmXI48l1i6VoxYCHQpUDN+jXRyMiCy/8M2o1Mwno3pnF\nLtWEzC9YB8N5ibRPFUjWibnd4RGbV+mjhWjcf2T7PlLV7BtIfpO+/p28qjnf\nRl/5KBwtG98XBRbGX9WFjko3e7mng5Krfx3LBjsOkScSqeVijOCC5ExnHVQC\nNSm9mTjDpMAwly3jcmrrgc3FIfzWNOxIqEgPl5aOjhP6bYtn8PRCUvaNbvk6\nmRSzH9f5Alr9zZmn0kI2HdJtS+yAWjYE+vz19figdoucdREWY5CkfrG6FKwB\np5LE8axy+DYD6AKbawG9h5Iz5qBno4LJ+09qEIxRQ1Y078c6z6V6uCfpVSqz\nKXsMMsFYR7kQvdVrBfamj2ZUAsz10QQRG6BbTpRkLoSHYCByE3nTVeQtYEPa\nJ2XM\r\n=XLxA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrfSmhXiZcidgjvePQY9/d1KhKB/SaeivJLoevcmSyaAiABLtY5hm3qwPS2JRBsXSDonVjA17t7vMqef2BupYNHiA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.3292553c_1541089409027_0.3603347320701795"},"_hasShrinkwrap":false},"1.1.0-alpha.5d5d840f":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.5d5d840f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.5d5d840f","@crave/farmblocks-theme":"^1.7.0-alpha.5d5d840f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.5d5d840f","dist":{"shasum":"71cd9c0a0cb11a28b22cf9b90d4d63648d2b7a4e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.5d5d840f.tgz","integrity":"sha512-iAKhy13+ExQwXSBpbG8jj70GD0Lr/cz6GeJFh284KxyIsCGiJUp6Rnyl7LN8EfEHcK+g2RS0adh7Qc2EoX5mKg==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3bbiCRA9TVsSAnZWagAApuYP/jS837JO0yYhupN+mYKk\nr/+o8RkmjWqFm5HQECah/+lfHoV0G3x9mIkjG81OpIemZDmv/A0i+Gta5m0G\nLK6IvP39nhdo5bVRg8nx1DxX71biEdRpp4Y3W/A1RpIGFa2RVgUW8CpVJ4/+\n3mrL5EZK5jHekRvVXMVq7aRvwHBz8Flf57yxHgAj/jGngRYBjtQq8IS5Jcv1\nkkKQAYb5BjXumhkVbJjYsvu8NWHhpYoWxcZnE8iXybxxBji4yXkfG++YpCn5\nA/TXdE9YGOeSbQrpur+QuIMsbpt4j10+bnZAEg6U3xJLM1HeAzvwkRdaE75M\nPB1OhB2Yq0eVKsFfX4VDQ3146+Msakpuk1x7GkSJuiW3f+Zy8W+fknPCHkjE\nGfK7umYjbLzoKoS4dNxq40lWZE9JppvthgIo2+ZdRmZp5nF+JJXct7IPWZBG\nK0Ys4zNGLnW1Lz2AJv0KK8sBEZYSLsrZklH6YQulR9q1ZCkvpplTCOcP0fjZ\nKSUgYkXMiUAtN2nXZADjU1sUDBybInE8naEZrlGvCAq3LGyKAWafvMH9ylfS\nn64irz7+pJbkCuXNvfoKLJx0opSvD9wWN/3/yn+VXoil6qqbPsCcLa7Q7XEs\ntJOQO8J/VvihB8/71g8VuGFn5oJ99+aZYKqNdQe4DO39LJC+EAIXvUslL1E9\n3HFv\r\n=jHsG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIET9TIBeiyCMh+9PRgeh1HYUDs78VXYafPgoSayPBqH7AiEAsopVDC4ZOAGmuxBygi6dJxdGkNlas/sCJVzAjNusXr4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.5d5d840f_1541256930018_0.03189264144882631"},"_hasShrinkwrap":false},"1.1.0-alpha.63619ba1":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.63619ba1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.63619ba1","@crave/farmblocks-theme":"^1.7.0-alpha.63619ba1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.63619ba1","dist":{"shasum":"8057f1948e27dbd2b00d51e83e81b2f862c04c0f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.63619ba1.tgz","integrity":"sha512-ZmpyOnQuj5b2I1tcXVJUtXPXl6ELayTVj9qncsIytqV37Fx3UEtTotGkQF1pGjWd5bVIgTCJVQJ1+WiW598xKQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3hZQCRA9TVsSAnZWagAADIwP/ROKWY/0zYGPtuPSMXfM\nnHJh9G3OGk8vC+FKAhRXdVVopzW6zaZi2hFjoRcaqApGSTUqAXxvnOGgEDPW\nw8ZHeTe9IcGuohW6u+zy43+nQxLUjAA4ePQb7VLGV8cpdkdGQiJhcFm3oxHv\nQlgL3PQxufvbiLz/Elep1Cu/QIEMPfKdp+9jWpttrgGD7CMmYPrkdWL6Gy6i\n6S9vyZORKZX/794rLXESdURoeWrqS80CkZoLuZo+g+W3MW18LzZhRJREakdK\ntRw5IJ87Mxjh6/YpMYLGrqzex9lPfrYW5DTLO8yzotWr1mO66Zi0xdG21Eun\ntrJsiNy5nNVI99seMdvkOsPzK420NNIjGlKCOS7InyrC6hxtJftSd8vGaeED\nT3zYk5e4VSyVXEyJF4ObYfAmm67yKxCJdHZgjk83zqTLr3FImQhFqtlIExAX\nCiojSXSswTM0h0YUOFBa5BtzFP2zAwHUMBJcHCT7nediFpkbmXThGYO+ABtT\nZ9c7LvG5Bbs7m1I+MTGj26l3+HNqzUlxgBvwWixc9LP0Z/AwPv1n2omN/3/e\nlRJO3gDDWfpBGDt7EvRchzucQQwD8zF08bqTLb2LBAoU+yu2a6CKrJTZToPf\n/runwmdj++PtlhXzT0QSbTVw63HlHZDzpheSzNs7GDfzToxgbSyQiuM1bNWT\n+/8k\r\n=8hdj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaNyV53NnOgSSszLUYDSUVrlSx4SuE8KOQX+9Z7XltHAiEAhs+XThvP3RzLxll5g3MmrpDItqNL3OjHAwYrtPHReqs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.63619ba1_1541281360199_0.1415849326726113"},"_hasShrinkwrap":false},"1.1.0-alpha.47d16c13":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.47d16c13","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.47d16c13","@crave/farmblocks-theme":"^1.7.0-alpha.47d16c13","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.47d16c13","dist":{"shasum":"ce0066f349d711791e07c1941f3599edad5dc6cc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.47d16c13.tgz","integrity":"sha512-8qU7/KehaMP7b+qg/AZdCkzHf7e2q0PTcMz1W+eoc12SOEpgsLzxtRPm2TzXRAOrA/i9Ba7G2zcV9DMfrph7XA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3rfuCRA9TVsSAnZWagAAHwUP/iJaa0H6FrOxjmb0T8Fh\nQ1aLlhriziX9S9odn+vrRP88InvWQV7LATJY/UkyC5fdEu3ZTtPzwQWLOI3q\njZv8wL9QrT37rrU1Rg7MCn4ZawNnnI63LgKrkPlgCagSI1ienqVITAT8ezOF\nmC2dcPSIBZOfeIFQh9/5oSQeTz5Uypcg1RVOef6YgNkGWNWGtnOAHqzrbW1K\nGKGvBi6j6VyO/bHeG+MAxv+G5X3xz/HN1joPZUdDoGavDDcwYqG/4YISkhHV\nLSnlnHrHMw4c9nwfutbzb2QEgO58WOblYaKOhH9tq6lYXqyQBEwgRFPAHraq\nF5EAGEvtaF57jsijG5Z+jcJb7VoINaKIoMNIBws8GscxyDt/kjz3f/lCN/TJ\n9wRyZIn69MQarnpC/Y7UkUAtYbAEB9+3+ulH3F1sbxgD7kiCDxXE1O8GJFd3\nxVjf82i5GqLdoABRkf/nl2hmkvMOcQgvWJQOFCS4ZP+tF3ADdLicbUKcHfrY\nibQTpgAUPDtvYuw9sErWtieqgbZ2ApIxDfZmlsDDE13D00ot+qBJPqu8jSiF\nLsZtQFWzKBs6lR+ijzEQ7RZ0XTvYUzwXMA1FQfkthQkb/HCXfMqou4S0J8NV\nocu8PG2X1JhDFrL95rWI07nGHgC9i4ZQ9DxVbyuZDcJKx80Vdw7U4QKcYtC2\nTp7r\r\n=k6ZF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFSlkl7u21qyP5UxZeM3Rj2PFUJ9tjbsi0DxXJniVvpsAiEApkiLfdRCsWGv8ZfLV7i7zPNjooAcB5J+na0+BbkZ5qc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.47d16c13_1541322733931_0.5310043270094762"},"_hasShrinkwrap":false},"1.1.0-alpha.64dde1e2":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.64dde1e2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.64dde1e2","@crave/farmblocks-theme":"^1.7.0-alpha.64dde1e2","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.64dde1e2","dist":{"shasum":"0d0f9cd39b59b070fe246049f293a6a8febaf1bd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.64dde1e2.tgz","integrity":"sha512-FFCRnL6Ixv4e/1SU8O09+G3Mgk6ghb6Hp+DG2w6EQ+274hIaWUgIxLXQPpyiZcBJq1kVt/nGuYTvPCLgcIRQkw==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3sM5CRA9TVsSAnZWagAARjUP/jVVgu7Hmzf4nUXUizX/\n8d2HagP+hS2E4rkiisg9fUv17R8nG+NHK7vs+4bIayc9NYF27vvHLbuWtUBR\ncenoKttjj6tKYFicVfOcjT9CxUjXCP/Y7hvYxMG3eQuxgTv5iqWchf+Dk6/W\nuNklWj51nbxilh8SdMEJXU7pn5qpDdQDfecdoqxIktUjrfnQ3DOAHnPkhBu3\nv2sE5bU4MGrng26RHNj88JwpcKlP+USZ7DKpurnAy+KnItHPRaVmYaGD+iU+\nq9u7dWp0S62JlytvQX/JlnZbea59qs/ab2IJsguwGvbjh4zKWqViN3LOWf6T\nZYSpikF9pRW+lMQDk99edeHUAhmcy0X7lPOgrUnVH/BjfSl0zVJ8BMp73rcx\n71NyhuzwkRi23gtGgJvFR0Q1cPCNGSFHRpg+JxOGBVKAOdZxOEc6HfYQFCgt\n6UMfpjACOCgnoJrwv9OENjkzJIM1FXP83iXYzjt0wUkKW+AEEVnAFam1mBZ3\nYAyIWJ7UPXNMv0qAxTeFoZ1J338Kr+fGg1XW3jfVglQJyMCP65GmwJdQSEgz\nHrsv2gfvvtkopjZwkuLSj9ZuyrHLZDpMwVthWSjODBJuj1YymbfPj2nzX1jT\n2YXM2ELlWxVE+2iIBFbbExkIkQz1TGIloP9c60yO0mU5JeR4L82rATITLNkN\nHxqG\r\n=HIlZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwMjJW1dMI2wESmBSwAfbmlTVMdR5nLvuPYQA3dhGloQIgLJbycpzGm5Rqmr/FQFJNR0qZsc6p1WMsmAypziCQPM0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.64dde1e2_1541325624616_0.18778443857721672"},"_hasShrinkwrap":false},"1.1.0-alpha.c667a834":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.c667a834","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.c667a834","@crave/farmblocks-theme":"^1.7.0-alpha.c667a834","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.c667a834","dist":{"shasum":"d2427e6dc6a60fd2487409dbd9a5877125f341c6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.c667a834.tgz","integrity":"sha512-Zy0PRY8mZqLMHmkytv/Qm9zYoPF9cVQsjfuFgSWgxxvTy/H8FgkK7H5SaHNh2SbdBEcQb87/wwF7SewTPZ+UjA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4BloCRA9TVsSAnZWagAA0VYP/03La0gmeOqCdEnAZffH\n+TGtb1qgcFFCxMZvFQijTJxuYogfkNBNbgoU7ED5aiMRbq6APmrNLXdml7ob\nJpH/UuOgQ3C24F/iGQEOGGXaPqzOtupepKxMYx3GSSOFw9MByn/K2lLrRk3z\n07UimGvwEU/P7VwJNAQc7uEwdbIDtdObzzcO9eWBTSnUg/zbZY+WitKantHu\nAM2/CH/Sv0BU8gUlEJ0pPYG56+xKcAqeQTNvTpXymj8SKZyCq0tZ3IFw5UZ2\nldVXDCqcEBx0uRlNB8b4HeDYy76R9hQvkuuJTay594AoktINz7QAoTq7PeeE\n0PRQN79v5MJJG0pTihTMJpakstTUpRudBIJBX0VG0XCCeAdy2v3exkqA1TNA\no0oenJs9ictJ/m86QZX1MI75bgQDP+RK/4wyLlhOiRYw2bMlmwOctj7ooZZ7\nq+UkkXzIDYmjoPIwlJ7w4eorX6wvXtst125JOc0TwlyJfX/4psma88xpuh3n\nmWWVq7mEpoxzOU/mYIyR1SFYWVAMBdXiPhJAxvVIEttHgsmxA09Q/wp30BKM\nTIMRcHtqfq1o+kLSn+FR6GijNBoYNM6TYpIuYtaFRxeX4Knq93Dt0MbuA0x2\nmt+9jieNJ5ajOAaL2USnzcx7Piy+NRpvG19uKDG2lie5uqYtSYYjZIwtDSaM\nRKnv\r\n=vBQP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm/WtevWoHbBC0/RhhbBwmLiSj2btoivoBnaCeIX7x6wIhAMvRD6C4awTePKPTC7DjBbXcz1pums7XGCtQS0DG4T0R"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.c667a834_1541413223572_0.8827777119592906"},"_hasShrinkwrap":false},"1.1.0-alpha.ccc56190":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.ccc56190","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.ccc56190","@crave/farmblocks-theme":"^1.7.0-alpha.ccc56190","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.ccc56190","dist":{"shasum":"93f54f212efaae3f3140605713d189e93b9ca0b8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.ccc56190.tgz","integrity":"sha512-jcQOkegDOteue8XQhscJ70CdhteVKAZ8+PNGr0fjM4n1xJSyfCyC41avFVsfcxjeR4OywV5GCwWPzb4WXk57uQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4BxeCRA9TVsSAnZWagAArCUP/0FOmtuXf8XOmIuH0uEF\nI6FKeAcjaowl0MPP4XfkWLeWcdM8RbaLDUQxHvyFiuiCzVjFuXEdd1zymsN5\nr57pklUWQPHZC0Z+h4vIA4RavbojrtfvwKrj4o4dxOuzC2dczwuv79/TnQvM\nRQiRdyahYtb9O/ImL7k+j/NKjs8hn2/we5a843M1Y3KL8CXxfOTWpdmehth7\nWwHmAmM5VpEfuPDaZPOcvyOEZnUgbrn+MpccrOSUjdRa7Zsokh892RvoIaIB\n/yaGAgo+bXP3UrPaEZgpHvI5NJE4HhW5k7h6H6S2eG435V8iXH4pVhYuwG/N\nweMSRg8ezcdQ4MkydEH2vq9/wECYOhEFBARcz5kygA+YIjMfLJWi1Tj0QCqq\neQgBhQeexEIXlBmkT1szakXe2JmUqvzPKmrhnKuoOp/lZ+hvA/1JkWg5aGic\nk0/e7kyZ/HKgEoTORL1K/BfpClFYVhum2E18RP3MFoFIQWV5h85VSGhIv6HB\nOfqPxH+yNL5rV2I8tI7Jaa3Biuyw+xyXAIcglrAe1jH6dk7ee4kZ1ndXYJDL\nyQovD64xBbB7kyW5oNBEY7k8GJjp1oXbsiv6NIlMAMncQ9R8cOSf6wtBVzwP\ncDDZL1aTU9UnpRI7Rz4fD4cBPYZylwghckMM2i7nH71TzbieyS5qG69vhpci\nRxob\r\n=Fw0L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpDdhqOLGkBFKN92crGTHTd4qZmfnSW/+ZtVZDODpGWQIhAMAW4XVBJq4CYu8oMnws0g35I1TRPg6Nffh7ld3+GhHq"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.ccc56190_1541413981288_0.05738027916034061"},"_hasShrinkwrap":false},"1.1.0-alpha.cb539665":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.cb539665","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.cb539665","@crave/farmblocks-theme":"^1.7.0-alpha.cb539665","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.cb539665","dist":{"shasum":"19a4b1d5e106d68535d4f617c78b9f0f64cf9c50","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.cb539665.tgz","integrity":"sha512-jHvgnSCI5gMs1hTDneYxWP1BV0IwrkU/FGPL7YxOYR+rVSd6P2YKS4eJvS7t74+PTRro6pNi/VoQbuhlkvyt4w==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4EU4CRA9TVsSAnZWagAArtEP/jh4hpJRCQeYoyS7BlAH\n4TqAdtM1aeAQJD70a6iZZpqaF6hU+QmV7K2ptfZni4XNKJedIycdfZIwOe80\nRRd0crF/oqOSj9x6YWOXpr8TGFWQxwQOEiewg/aS5Twozya7mjCqSqPUy137\nS9Z+IA/Z45G8nLPYnJb7kXhvVEs8iq/UhDGjqE4M3RPLBArNIyGDf7Chcr5E\nISskDvoJhhKQkfEh3TCyzJ0iruiOnWWaLMsfaM3ncPkVkFp0GjSY0YiM5en5\nvOddlNad9s5ViBgOeYIO8AiMBfDMhgJxU8j2q1ghV+ghPJGt69kCac/RVJ9V\nc9B/JAR8+knUop2qi990+IUJMsYeG33hR/4YXF5FDsndD71FOH7ehalEiRaq\nMy3P24QAEEtzlHmiGjanVsAkmwsX82VU+EmYuRvyYJmoXlS2FhBeBToBfMuv\nI4mvZ0vHwr88FB7hn6TLpRmiRw2BXwtXGoJEXJXNGoy9BnEnZJd3kervThbd\noi0IPSrPAH5i3xI8UXVVlBhPrmg7Sv28RJj3yuhegDxrJ4c6zJ8yntIuaTu8\nzZZhuE6lOdYkv1cDY3lqbNiOpeZNKBiGdmsbyRd7F8et5eXkV7KXzQUq9kKz\nv3JEj9QdHZMC93G+F1QwmXweyEZ/MVwvtxcvkfAV565hsweNuyTQo7pzie4Q\nSlqj\r\n=+MNf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkt+yTyu0e2QPRzA1DUGemrlCJW0Nn3qLmlwpamKEWxwIgXJVsd7zoPSiPM5220zJY3b/p5IrxK5czmDwRMgQ5oZM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.cb539665_1541424439342_0.643659662980647"},"_hasShrinkwrap":false},"1.1.0-alpha.ff6847aa":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.ff6847aa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.ff6847aa","@crave/farmblocks-theme":"^1.7.0-alpha.ff6847aa","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.ff6847aa","dist":{"shasum":"58ea9e7365c0d5012b158f8537167351d27b8e63","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.ff6847aa.tgz","integrity":"sha512-cn9MDw6B9j30KzjYq205oJLfUPWUjJoWCgnyTBqxnhfu4/MSRA/BhZlLCzygsnxwA4ipBK2L3tHWrEuOne7F6Q==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4c60CRA9TVsSAnZWagAAd+QP/RVvcQJnAr1IrR3LD/51\nsR4WlcqzjHdA6H2lUWJ5HL6L7AMCd2EKlzEbHPhJol1pJkm8b4UjRUAT7xqk\nlgFFrKy+OpeZy+SNDHsZjfTWHBrOJyciQbE1tQzibEdVxn9+m/WcpJ1mdVrO\nE+QeQi2wHsOJOftsw6KjAFRKhSAUTxH7ADQVPJrVl0GbeO+jHmEX95AVd4Zs\nvYlcOUSQaxnucZp+dK+zs3kpJLP58RcZ54744wHhDMvjQ0zU4ETPsiLLGf6N\n+tb96XbYbMxJdXfOa1nzryQY/cFQxsLUd/SbvhdA1h5TGPANGYaofpgpJGyD\njP3/m3JBjDBj8VYQII/nq7eqlC/qrgz4qajF6u2gmLbgaJjyhMpoxj6jN6ct\n1ZpBc9ZxHWbzPxyxV4v2P2Y0ZW1qZkSGIHKSfcMD6tPtPeaiBLaWq8gJvrIw\nGKNlZ79Zb2g46jAnPI79BuYVKlNs0kIME/noRMIEjK6Bq7DxhqNzpX5cAKCU\nmQZQ/XDf0COBIzTS1xRfanCh5738PclTB9M0is0FZ+6u7gfOMsVh1+2liyRt\nO+GsFx+d84bh2Z9B8QXLtxnu80RxXVM2bm84jMaqyKGxRubw2K+Z1vWmtEAf\nucG1jOv2g41Dm/Wz2scb70Lsl4J0Y55tuCVKh9hos2CQJRFxaK/FhFGjlsUr\niS2C\r\n=fr0H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnCBBdaxOs+uvwBva4GL1nYezQMzLMAu3B11ZxJRjJCwIhAL1mu6cBAqUumwGpIW/JC+ddpfGn8rlPrpW95CHZvrsx"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.ff6847aa_1541525172005_0.02533895315786938"},"_hasShrinkwrap":false},"1.1.0-alpha.c0aa2f9a":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.c0aa2f9a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.c0aa2f9a","@crave/farmblocks-theme":"^1.7.0-alpha.c0aa2f9a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.c0aa2f9a","dist":{"shasum":"cb642a0bc9b216fc539172e2396c1cf10dfe1f5d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.c0aa2f9a.tgz","integrity":"sha512-j3f9QjvjLY0TRJvI96/rOoMdkhlhYTR77TKJOMCzJTufeoO5bbbo+1mSCXo+GOXgnefu1eCnDeYllL/b97wBuQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4dhYCRA9TVsSAnZWagAAM4kP/Rx5Oz48hCJFQI+SAt6a\nEGknm4GjdJhJ8NNFIB/1JbhBgaOGGdsEc2/ULo4RpZHUQocBzkwo2nihy9nM\nqEheBwd2DYIU/IuFvidHpFUiFk/zNszBkLwlDbDfdV1KwQcB9uLB5JV4dJFT\nwbZLpjGPIqxTA3SdoOtTcUFm1CmqiAWp2QFh7sAZqUbsi8Cx9HLXlObwyPMj\nhEZglv3rpgJJ0sEOgpfdhZW/xevPT94XhmsJeWJ1V6WV7Z6B+T76wQrDfyGp\ncWlBWMVp3341KL4IPwWmJMYpyVvCdr0rJE0jxb4Vl/wf8YiatdQO6GKZXcbb\n7jmF++LT7wB01NWMHYl26CtoaSfdSHrAzRWtt/uFX2PT74fFPaefDvjta7p/\nAXw7qsluS1m+QGV+jlEZF4TT1iaN/gh4A6qyz9/bJ6yTgOXpy+vL9F4MseMy\n1oIP31X/miqxKLafT0SMebdMvIyyze/aO/wDWoscAKIsPCMNtXwmwdM7mfyL\nYhbEW++HJrxDUHvYARmfjEOEfy5TpP2gkA4Cm7U8Dg2lk3xHV0e4wuTa8eSz\niwu+XxVvvLFzZASm1XHqqLu/wv9PWS57MYRxNkSgLz1wChuPbDT5uFY/E6gB\nXGrGV5ni7BUPRBpGnxXJtzZ2XEecterBb32jNnc+XU8uAWP+lt2KfIanj8n7\nY48E\r\n=JNOX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRvxSuqNsP4c36tc5CzS5F3WgMT3nsmHHcz0SX39peWAiEAkJBZgiOMpV0mdifpwN0If3UMFx6N6qUu3hyC/xb0Wkg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.c0aa2f9a_1541527639497_0.21249192565860775"},"_hasShrinkwrap":false},"1.1.0-alpha.875ee196":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.875ee196","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.875ee196","@crave/farmblocks-theme":"^1.7.0-alpha.875ee196","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.875ee196","dist":{"shasum":"13c5dac22a8acfc421dddc119072df5ea9ced910","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.875ee196.tgz","integrity":"sha512-/qYOA8ZXRdQWs76H3w19S6qtka2fQTykZw+ibwT/6txiG8KkjwxFtDLspjpBovDz/+PddzplCO7Evn3qp7zWLQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4kEjCRA9TVsSAnZWagAAJY8QAKPVGhzKP3kncVtkVJ+8\ncf4yDdPLq83tc+wwxab5fsdj87EmAkAofjs6WExnjBtDcNHjQE1fIdB73zVK\niJwwbv0YQXep/2t5dIv0OqSmxUFQmZaPOLQv0A0FG1zxxBnHLUTNnrNeauuk\nQ5vwrMnSr7eoB5gBvie1/G3uvEZea6rwe9fI43Us+JTzN9zKpU6c/2crlO0G\nrahZiJMHH4rOQJvAg5oA16LTyxO0n3h0e0+DNqGnsdwCynP3I3Avhv+gf5Fx\nDguLOwvouHS0Tu1GbItFGaS+Itaiog+Q8CvYkdDbhKhkR6tTIEwyAuSuS3e3\nQjfHvStFbp4RXoagXA5kbNvOZUuKlQRvauflVI7aDtR90afIa2kT5ZR7LwqQ\n0W0994K8Yb3oe6bwwe2JhYkd8SL0vIwKyDZhlS5/fvGpzCxv1Yni9MRivyF5\nK+GBbgJtrRCl/H0EZaApCCd6FLPqn87An4aoprL8p0HVn+NJ9CXdmzkm4Swk\n/Iy8IhUl3bkXEOU+IUlpda++gp73PYH9qDzO/HrFKWgOhyhNVyNL5H9pRxfg\ngqu3LHchNuHV7DQQoc2WnMyDpYalrNsS6Iqhggx0AAw0S2YG3LWVsh1eT9Dn\n8/c1uMHaBrE7UYNvBkGozce+ID0FRlbs2TVbM9/QrZMs+weUwZLFQMWPhC+g\nEY+v\r\n=p0+m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+Hf+E7nzDs9yrYAo+EFUFsrkKJvHOYAW2+XS1Fm6CJAiEA51qe7MTzteL0VEz/CCiIk/6ECY1ZZ9Iw10w6g9t0P6o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.875ee196_1541554466683_0.17245011712598157"},"_hasShrinkwrap":false},"1.1.0-alpha.e97f538c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e97f538c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.e97f538c","@crave/farmblocks-theme":"^1.7.0-alpha.e97f538c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e97f538c","dist":{"shasum":"6389b31d32e26f010fb1aff1cdfe25d108656934","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e97f538c.tgz","integrity":"sha512-N5PGroS0wxhOYGDj5xDEXAWlw+e9qjuqzZOmbbkNpHzW1XwY70tQ4tKR8p9jZMfBl7niLR2MfCDcxuMhZB8aEA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4k8PCRA9TVsSAnZWagAATqEP/3iSiMb9sTOJifYwlbb1\ny2QhhVYCHccm215phfnwjT8fDtZ0f5H2TLsz6oVksROH7SvuoZH3WF1W1nQ9\nCoRBTcunE71daPxFZ2SEOe5FKIrOI0FbNuguvDDPb0WX9HSFcXv6HqU5zr4T\nQ6F8xz7gcdb6cLByY02kbwHDFmaFUxDB5yrR6WVQmr49xz2MV3V9uvB1+jl2\nE/kzeSwxmu8FNX1QdAkyZZvPm1K2CgIcCgdwpeKpH0UYvimXjpWr/WTbSuDE\nkeuztP4bdmbGDvVwKX+RFIbsp1NEZ5svXq0gJVGF1yKnQUBPDaRxAf/RLa4V\nA+IotZoxJZgrvwOCchKFzTBvmFdLz3q1CtLZMUHHlLxMv3aKQaQZ+wJ8c5C3\nY2/TogA/3Mw3gJfsgf4FablMXcHzmKsuufESnLY++Qt8XczgxpzT07iddm50\nTsdeurX4WqaRe4xpmnPm6WRFItST5OWoR1ffe15UK07qGSWr6cqz0LnbkeG3\n7mjBEBk0xbTS5sxjUOrstHAGdfvc6lKlddNlsv/c8hFuJatJDaKZ2QOkSGrY\nLIkO5tQqbfAE7KKFlOt7EGcfp3jsPTt9QHezENH2A2njBFecD4XtqI/4CV7D\nyu+j1Nof7h1pO3Kj6aEh6L+B9FTpXTYApAoC7uxyDNOFWp4vGN1qHl4io/78\nwUHa\r\n=6zzY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDutLO8T//a8lJxjLfhPSoFXkyyh9ZFVtOvqDM9XLfFygIgSNcTI5qjhnMnB7BFiI2d0n240ChgkE9FNnneza0gTIw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e97f538c_1541558030277_0.5557808931002963"},"_hasShrinkwrap":false},"1.1.0-alpha.21e26729":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.21e26729","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.21e26729","@crave/farmblocks-theme":"^1.7.0-alpha.21e26729","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.21e26729","dist":{"shasum":"8fb85be9fd265a4f5d221e275b2bb762fd0efbba","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.21e26729.tgz","integrity":"sha512-SG2rpz+1rYHhfjCFzizhwwAb8avGZCpTVYCM7uTG5VzPRGyd2M+715c/9kdgv78eYMNL4X3VxSwWzADyRlEBbw==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4lbkCRA9TVsSAnZWagAAuq0P/jJdYNM6H1Qqg3vYwvdj\ns4k1wIw5APHzGIXwgatS+0Dm2nC77X3XuBCLwz4PWfhALHhDWrH1WrOjD6Ou\nUgZqM4BYrHCrllkQU8I10Q/wDR9euyk807wFGOMe5eJRyjZ+2HueToQhv05D\nx7SAW1rids/toUT6fgmZkYqXIry0MA82RoPHThV0O8uA0fA8x97oWoKJMcLk\nqh3jCgwKdiz/DJsKhy7ChdF0XQwHY5GfMal/YA9D/Ya0SxIxm9HDM3w0s3Wx\n+9K3TlSuZKXLLCuuNahAnd8SSVqqRvMvYq1Usc66ytpFVKOS9SDbvMpvewWC\nKeC+B7okpyUSdQt8wMj8lrw7VDnhZknDvt4J5KsQIrm41+jMs44if2vumL/6\n1abLiutMyFItkby7DJ0c+e1rsdhDNaMCT+9k7nKAXvvQO8y2/fjPjg45s6U+\nz/DE4Li0ZoJX5eZm9Kuvq54Ziim+ZoVYWEtPo89GsIgl6ZRlSrwZnd0yJ4X4\nWE5iLIZqYk5EAmHsI/UWTaONSdhmkXmGMdWs7VZ8MFzhOQ0/70TKmkSNbKJ0\nOb+tr3ySP/q1MYl6589TvA5xuI62fLgFIY2qAmzKSvam7lagOuqDPNsugosO\nYG+mJP5L7zyrzp0sxy5d0YfalaPtzg8lv0sM5JiCArofpXxiS7oEZYhfXZg1\nfZjP\r\n=JPVw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS8rBzz3kf/eP0J1bVULMO/HIlHly3x7mP9zJLkseFXwIgPhOLXGo2BA9i223u0Jgj2nkQDL7ty6jyO+onlPcpH4k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.21e26729_1541560035969_0.28849909513389616"},"_hasShrinkwrap":false},"1.1.0-alpha.21d9064f":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.21d9064f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.21d9064f","@crave/farmblocks-theme":"^1.7.0-alpha.21d9064f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.21d9064f","dist":{"shasum":"07c80534cd13e799c1855aa0be3444259705931d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.21d9064f.tgz","integrity":"sha512-E0HzSLE91O2+KMCQxXFsG6tbSBXvqHG33Sr14ejd+3FAW79vmnzk5RHB6guSHUszJAcHlfHWpqfwdWCRfCYrog==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4mk3CRA9TVsSAnZWagAAEBkP/jOJPd+Lzz76dChEaSaI\nJmdCjstObMSbshbgBE8kq4GsL2Zc77cEWilb38wi/wWVVg2rUdG52pmELVZo\n6xttFh+Q/plstQ0GzCXYe5KahXqdhTjIQ4qCCZDKLPigopsE6q04bA5+ocxm\n1Oz0xVI2gNuI/+5jRr4QyU2d+Jh0IR23cYzEKfLiNOKsgrhltie6eP/142Am\nwPxMmnaoM7+mSqwhDVxANagqSrMWKDvdEWuDJ/iAFq8ACsWeIhxfE81ntMtu\nzaApB2aIWQFcHvNMi5Q5DARBoruwRXcfoIrsh6IQnJkcKtboXJlrrhhw2YwU\nLbg+X5sChkqKaNF0Sr8opwZ2Oby5CWuKQPw+TJPYns/ab71sW+T8OmoebtaU\nprUx1MjBvRtbC9i9Z36/hC/SF9Po/nXNGYQG3zE5SrkfT8b7k1n9ht458hli\n6jgq/1NVVpFhF0gFSE1Ux9PwTM/jExS8CS8tBGqJfHySfUvp4Gt7VoHAfsc+\nOEVV1X5QmJy7mIfbG/fjWEPMUY8JC7aU0ejv/+iLCGSYHCb9GtDYj0H/0EJK\n6p/OnnU0bgq7MgFjrlTYyjdEmfuIPqfesYpuv6XMOf5TFTNbFOWyAvrMeAGE\nv9GBFaSnS0fc4vj9qrs5g6TfjFpwd8A7hdDr5L/hwuhbafA2hm5I9NpjHYZa\nsDj/\r\n=Hbiq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVj/Cg3/Q/ZUVrO1Hd7MhLC7cBXqg+zLG53o0r0KQoHAiEApA8f920ucu4eMfz3AAncAMV10gtGuDYSBJcMXFuVI3s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.21d9064f_1541564727099_0.38871937407488577"},"_hasShrinkwrap":false},"1.1.0-alpha.a3be0ff6":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a3be0ff6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.a3be0ff6","@crave/farmblocks-theme":"^1.7.0-alpha.a3be0ff6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a3be0ff6","dist":{"shasum":"ace2fc731c2690072eeebe00bef5c611e6d4da9f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a3be0ff6.tgz","integrity":"sha512-a7xOX43p7cuZ/qXjOdiP0sDvNUhoIvnM8Ut9EKNU+z5oPa+x+Cz1s//PLiiVfj16hpNm4+0Y2LAnj6wZuHWDtA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4omiCRA9TVsSAnZWagAALW0P/2/6gwfwvUje1ePV9VYP\nS5QlXhjXy9iRkMZk18VLSO/7BTofoxY9ZEU5z7MnZq3rcPTaJ6CO0raXkXDA\nW/+P651WVrAF221kH3+sYxL0EFem8qxSLKoc4qDJNDH0PuzlVcTNQzG6imPG\nXwQrI6hsxnh92BSJ8y9OEzQYWQnPvHUoG9CeaS7kDcGNoPvpGk78RjsuJ/VH\nMG5XOfGIg858KM/y14sarx6hD58NR/Rxkzn2NPx0gma+YNz0X3d7nkCA7cKP\nhqhV02lfzFlw4DxPZpzrJSBgDHhpbTIqjfNeKoDCaXEdc6Xgnp42IbD0Zm46\nDUXcgUxxRUyqUo92HggHErFc8vRxEBEOdtXyxAaKSCrHGV22p99jmlRVdpuy\nAc40mSwWR2OpVIbOYjFUki8IczafkNwa8V9xT4V6pA54SJNhqERM6oYqlo1i\n+VytHBLC+t0cSZ1YPG0GRDVcPvNPY4uOo3sf+d+JvNI7kbrG7tdc43rFz8ov\nhHzUZfW5XAwBpozE0UmeZGh2KL41Kx4MaUPgRZhKZt5usSWgtEe8VrwIg34h\n2VYb/tNKWucNgU+WI7gSSEGdv5eXD3ew5pPE4WVrBJL7gg83tu7dM71Ci5BP\nx+zpLmvkHgVB/InbW7gPoO+ccRcaDBNs7Y9JoaqlK9rweiFL4nQD52goqOXT\nWThw\r\n=IRxu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmq3WI9jMe9PE8JlpoePjlhyZtrsLmI+EQ0eHYUwtGiwIgRHViHkLxHaoSq0gv+N4Z2YXCERefgZg6eOEkWT2HF2Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a3be0ff6_1541573025440_0.2871498574325082"},"_hasShrinkwrap":false},"1.1.0-alpha.a407fc3d":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a407fc3d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.a407fc3d","@crave/farmblocks-theme":"^1.7.0-alpha.a407fc3d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a407fc3d","dist":{"shasum":"2e720f7bdaecd722a7046a4100446100fa16431f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a407fc3d.tgz","integrity":"sha512-C5RQ1MXEJ7Fz0PyX+1YveHDpImu/PCaxueD+JFmgYWnPtx9jRFUkS/mkFv/6wB8a8indHbCODHhvuXzml99jmA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4sJUCRA9TVsSAnZWagAAfYcP/iMkuk56ma7qXjaYtyxd\n/K2QHP9nzJ0cCWfAU5x+HuvsiYCz9Dk6nhz4WWOUYOZn2UeZjwuOj+NAlNtB\nstH9joGV04/GWCOq1Z1V1oSnBqc5OvR3mIMS3pd3iXDddQWz3PBFF94f875G\n8lenaWGQXL69030bb8JASHVO+KxxGmjfGb4tM0h4OMPmyrtpLGq6ay4+DJtY\nGhZpVGgqKzPJKioCpK7XwcK260VM83soMyd4gfYDLE2ZEArJRvOFfqw0J6FO\n+o1bbQkA6/tGVaOVwbeNFn2gnnd9rbJ8Ik8FwlBfcXPya4HneoAqqTU8POoX\naMMO1FAkj/obZJl2zYTMdqPFBhxvwAArxUKxuAxXRXcbPHskv2uiC/3/NauR\nr8CeB3JmCUE6hojFUfyw96AxzD/S14mxgz3rCNZg8P++hU/vP1CGvV/5MYKo\n1h1EZNru4ev74Do5hQutrvt5jTi7C2cHLysu8NUu/OFuhZT05vEWCvVQzvqq\nMJ5CH/zhB9B4LVAcV9chOV9RtvaIxw0ngq9Ip6n2GU6MyxhH9O/R6dRY8fgm\n/ihqlR2Zk5B08A1eGxbXAwEZ2LRSbmhzpHMrfjvozotDlzAUGpu4Dh1AlIgT\nBgxekg+Ou10DfSNlV02+JD0wv3VaoKARSc8ECsBNK4CyplmO2AU1EkPzL9wl\nLDZs\r\n=X8w3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM1YHyw6YNH3DYRT8bOgNdq3VnDwBWjitKtCPiFSZeaAIgQJR/i5fGNT2yEh74+BRV+QKMQUNoCjxok0lBdLm8/mo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a407fc3d_1541587539773_0.9228552279506375"},"_hasShrinkwrap":false},"1.1.0-alpha.b9bb0fbf":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.b9bb0fbf","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.b9bb0fbf","@crave/farmblocks-theme":"^1.7.0-alpha.b9bb0fbf","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.b9bb0fbf","dist":{"shasum":"3195bbb837c9a9e1355427e507ac410819db1015","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.b9bb0fbf.tgz","integrity":"sha512-uZOqnJOiFBY+D9VjuXziuLt1AZsYJonCMPmV9u99802ZmszD7MVbAZrVHXnwoCv42CxK0zbV8L0X01ZZAgKyUg==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4tdsCRA9TVsSAnZWagAAfHYQAJdFoYUaMfkKksi+pm/e\ne4KOhEhYmPglW9zbuj6f2pTvGYZe/GQ0Rk4y4uOtHbQ0r6BE9Yzz3MsdUy+V\nn11GhM8eJkP5AY3zj09R+vXfkWDbt4UxF4cpKD+lsb+twGdr5hJkERyxxNRJ\nAT8qhRy+Dgg0c+TrdBP2yaY9py71YO8wXWKFH3sscpvxR3sLoDyKfRNdyk+X\nGUgKPxWhDPwwmIveaOO/DWZ8UKzlXKw/UwjBWYXp/6tQFgeHZ3gcEY33hGhz\ne3T10WdlTjTGbv9AKdlJjigFUKEn5SskYOpVkXzguXW75HEfXdXkgm+u7Rbw\nqY7WEQkxsaGyCHHM7HXndCAbaF88y3vHCPh4SahPqW4uRWKdPol1Lkd2E7vB\nybJZwayXCT9SNrB4oRhraRSiDsGjKjVNyyg6yc4t0kP5A6GcOacnF/Ar5Jux\ni2/er2hYP5GuP7IkeWV5H16O/wqBkXPVcKdzJj5pX3S5geZZe3gvXI77ndR/\nmv7rNy14XPUSODwlZUwz1PKyQKkSV7x8/+vDCWskoa4AyRP+r2Kw+InYHp7D\nvyi15rxEm3392VSxGal4AVCtsg+4unuRiooxOYs649TSlyfRNTyX8juBuG3Z\nDOJePUBvGLjZtTBXHskDLTL/pEe+s2Uabi8zcLUKqP7gzoqrBdLEAkasXHzR\nbr2b\r\n=vPp7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/Qegzk4Esb5HiMsC4sBWVNnVBGLkczKNge9vpe90rVAiEA33SdSyApDlcWGJx419svSLC/QLQwvwanjOm873PFufg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.b9bb0fbf_1541592939852_0.9436685183307361"},"_hasShrinkwrap":false},"1.1.0-alpha.0c3e89c7":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.0c3e89c7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.0c3e89c7","@crave/farmblocks-theme":"^1.7.0-alpha.0c3e89c7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.0c3e89c7","dist":{"shasum":"d33244a956c09230e6baec5551e465495296a879","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.0c3e89c7.tgz","integrity":"sha512-AnffVgF1PewgyzEoRNVfVS2XiceeWoCcLDlPQrPa4zJWf0aq5HXs5B+PYY6/y6kmJq/s/sjxqrspD/yBTVD28Q==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wX3CRA9TVsSAnZWagAAj9cQAIwrqpbMPKxNwfccT0W7\nKIaY/WgM2dSJG6QwMouDsE8Av19Tcr+EK4SnYEwsdc3YQONDSqwxgpC9SaEJ\n3RrGErijh95YoSZrM4wweR9YJ/hk80+MV+K4X7MbGzJDekXjWtMhAnSK8lye\nPz01BP9dNX6aHlA84MMVsZ+N+XDJAAYsm7BuWzRSTIY6sZyYxDrIrPJVBWDO\nEleFOhcQyAaoxrmHO/joxBA8cA+d6djlAI7ierdWaqsqtuj0aq7qZmKDk2O4\nKOMG5ZmU9oRSGdGv36i1hgO8FSj54BAIDYdOgH8TcJfT8JJVZ28itadjtQnd\nM0qaT1ry1Dot+ldIAQG/B6+K2Z5bpLXFZB64NFQvyyfL74l3Xp2y/ORLCIn0\nW//HBFjO86T3x77i9yOxPEJxIeU6wT0v0B5gLQSf03ygm10d+qLm61eA8+A7\nGfLz+JDAvaEeAYKc7V7WmT5bgH3B7+xJ4FzNllpl4amsy5Ui+gm9RCn8BqGt\n+LnBIfP8dBGFwA39LBn6+6mEyvW86jyWl27JHwDLy4LdvdhBYyaMVdHFImM7\n9pVYrQUgUrOXvJZ7+/MalpGDk/gkTUc3QN3c+bM/YtFL/Wo+Id2WpyEKiaDC\nHEJjEA1cvshMja1hsXmKk2n5TfplxzOlwrt/JY8r5ZQSysUCbwFdEqgYnBsm\ndYMq\r\n=Cf9w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2k8ekqEFacEnpn/KuiIgrEGxyuL2V8Jrr1lSTL8mpUgIhAMgy8C7ScoEBfmu3Ntio4STW//y2O2Dep6OD7/KFfXfo"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.0c3e89c7_1541604854825_0.33136012839052364"},"_hasShrinkwrap":false},"1.1.0-alpha.9350a75e":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.9350a75e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.9350a75e","@crave/farmblocks-theme":"^1.7.0-alpha.9350a75e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.9350a75e","dist":{"shasum":"e3d40c800edef4298579fdf4c9b9822067cf4ff7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.9350a75e.tgz","integrity":"sha512-sHN2V8YWcsO9B9/YLMEUEjpayckjFUmdR2aikkHnxmf8bRmMx0cbyP7TXWCl2NnCMIyUNGaOqtpYbQ9tA+JQtA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wZwCRA9TVsSAnZWagAAv7sP+wbl9t5xt8XUXXnKFYax\nFtq9N64LFHu5/1wuAFboVfgX+JoI0ZMSjPgufjdf52R/dzMRXNgH+rZoVoCp\nbFVOmDRwAqDp127e0NOWJg3hEpKJ9XyScFKIBQczKNnUlyHEb+RxY8fqAn6B\ngaHEStRYHunwZvSgUpt/crLCtZk6PVVqAqHz2uUarXYP7Xo1T36xeoivNSet\ncCexusV2NBVCb7q03GPJ7Ecy9gWdgeGCx/MZzJE1GgW6gjniXOui/FHnfI7d\nj/kg5axxxscLsyuofcVM12OP78NKUZRdnT7QxIMRAnrwxa9z16dZ8VVHSoK9\nfh+HL598ZNY20nFLeVrVQ5rF9hsAVV8gh7d7z/yvsSMcsgtyPseDFA11qKVs\nyeaY+MCQ6Ol1BaEoy4kj08s3r6AK5o7wP5A3G4UVpt4mULjaMpQm9oN8X2vC\nC05FCF6OqX1pz16XMP1wzZWTGKUYo3hDV2KEkEU99EtgWh5+PHzUIzH4GL4Q\nIu4yzNG5gd9Cw7yUFM3/dCzpXgXgcVTFiTRU0VwRdzqW19ny5sBCSihYo9tO\n3umYivyEw+BJ78PUN327wZWAF8g/Yo1gnWADf3P1rA4Ezwux3uoaGog4re5u\n+V87IloXjwCmWvRwSG43iRL+ZQPAbWZG3G/3KvuluOaV2+vUpaTNFjxOK8rV\nfz3O\r\n=Quoh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKNZ1vkR6g+AwYZB1t0g7WydXKEPNTY2PamvNOXI0R8AiBn35XpXoR0RzsXeapu/WgQ05oBOv1dilVKBvbvfe+bHQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.9350a75e_1541604975795_0.7297836864660641"},"_hasShrinkwrap":false},"0.9.0-alpha.3825471f":{"name":"@crave/farmblocks-dropdown","version":"0.9.0-alpha.3825471f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-button":"^5.4.0-alpha.3825471f","@crave/farmblocks-theme":"^1.7.0-alpha.3825471f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@0.9.0-alpha.3825471f","dist":{"shasum":"23ecd3a982155671c5bae3bf9503b02b124f75c2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-0.9.0-alpha.3825471f.tgz","integrity":"sha512-ogSIXOQcQ1AHiYt5h8/MuVUlj63zC95Amyks8rDyg5NR67XpI2ZF5HRti4dDHcCHQxgPWQQEA0M7/m6vmfmaaA==","fileCount":15,"unpackedSize":28337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wtKCRA9TVsSAnZWagAAp8YP/i0/Z09z/thGKvIq6uTq\nViA0aydgQgRNgWMHCJgPLWgUTDbm+popmnPZookIHz80Cw/Gth8d0/umDWGY\nkRKRmQZGGGoyNDN3Ahqchte5R7+cZdf4DFr2TfyLTsyKW0v2OKORyKja61iu\nRXOuBfpZbfLwS/hMLddmWBJrtnf7jM1/aNwRLP5RBj8nlBTTACHkchjLGQG2\n5lYL4TNkR3kb2qcBu6Q/qLoCfCScY0JCdmcVEdH4KpaAL2vapUKffsft/JV6\n+RKgVD5rP6gfAlWIO34PRy8tUrSzGbg37QDDTMvcv3qYmF63YFf04aR2QmDE\nMCvfeWlMTbsnZ1p4VkxXSm6cq4MzXgwDunL9UJykD4OC71YtnLj01buzJI3D\nQfxTgB4FgVMWDdFat/sJRZqeoEvtTuVh99TaasnNO4grDwfbwd8o9Jt6Zh0M\nI8kxMqIJ2bX8F4arO2XLfh8LS2LJDZwXZOsSccMjgE+ns4jg4Rqk5dj68sly\n9q6MnQJnqhSTKobbHVNtzxRAQB08heKylM0Xps4HOQTormvBxM4G6QFZdq77\nr7RWynlbhSRW6NdsSq41j7JEOfaN7VzDEV2zMBJGNeNOng0A3LOIdhLx6nBg\nOMhETWER39JB2+VtVA0V6LC64a6Iz0RcHOY6g+wi3n1armha3cxLPyu3ZLhw\ncXLz\r\n=sPSl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhG2JtSTaILr49Jx2mm/QsHJ7+w5NBQC0beHjr1nNI1AIgPfDqrW3goDMpgv/txDE7/Nb6lVS0DhDbUsNwZ4pexZk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_0.9.0-alpha.3825471f_1541606218373_0.7489072352827382"},"_hasShrinkwrap":false},"1.1.0-alpha.5af55816":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.5af55816","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.5af55816","@crave/farmblocks-theme":"^1.7.0-alpha.5af55816","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.5af55816","dist":{"shasum":"14ee8a8047994945854d6ffec803c4d4c67fe515","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.5af55816.tgz","integrity":"sha512-0tbSvLqcBip4iIzlOisK8aiA2bS3fwa8DQdjlm2U/7Ri74sYVQYVg0QEKb2vIaLwcwtxc+yavo8ucyFOq9RpxA==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4w0wCRA9TVsSAnZWagAA8TcP/1B6Hls5a1S56RZ7a2oS\nrT6ogKRemQ40OvIr5DpEYnatguX3zZdIJvAd7HqPV/vP4QzUd34UgYYivE2b\n8yA55kOgKWvTH5zjp5YvZHud9SkPPyao/sz4dB+6KASWvM4HulBIWFM4nj8C\n1xGtUYqbF09qynoTzJLImEuEaRETCGwM+IL9JHDyOdmBmJXtghjAUgW1Y5ms\nRelWcPBYsmyzqbXS9Tk3f1sIR7wjE9BCg5JWNpt+BPDBeQGVXv4RgoP0V0k3\n195pHVSMe9KA7NdqJno4lXJUOGzoHeLTyW26GEDt24GtvoMJ+q6yp+OKfY4r\njq0Czxv68biymfAC5JREOZl1qJVNXQlJOY+55bFuVk8ROTObUmtSk3jTbl1s\n3zuR9e0yu0TJlHuePxJ2MSXok1D7722BBzo4uG9Yj0+pk5MX71wr6Vg27iFN\nxSb1Pl+eKqpTPgN6yvWUhUbpIEF2g8ZbhBegRxfDGE6DcGzOlvUDdtqt3soE\nd3ggRABd7Z2yLBs8tZD+C+Bq5lPp6YuSEG7Tk03i9YVU80NWk8gtzCOj/YAR\n2zW+Nr792vzS4EbgKT/y9rLBO1rRhiqBvNfm4LfxGYHsx+Sa2AJ2n5Gj3nJ+\n94ji0O5QtrKW6Yl8k1bwbdl5qY283Qgq+jkZG1QzSK6m3ktEfP3f25tYOmwL\nxZat\r\n=CsgD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhQzTR1U8my/sDSEyBC91Eysjl0wJjfFdhK7TEIs1WOAiEAsC8btehmuimaeMcSKfrbp2C5I/h8suK7E9Gs6lht04c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.5af55816_1541606704095_0.8791832062889959"},"_hasShrinkwrap":false},"1.1.0-alpha.8de25fab":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.8de25fab","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.8de25fab","@crave/farmblocks-theme":"^1.7.0-alpha.8de25fab","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.8de25fab","dist":{"shasum":"11b42beb6df79f9369da24eb4ec9959e96f70c50","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.8de25fab.tgz","integrity":"sha512-BhnN4u5j9AYEx/hNTddJmF9HgfFF48kjQt+9Jy9FcpJtdipW9U2NWyfiZy2kvOQ19sEaccMU5YVHmYYsOoSfTw==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4w37CRA9TVsSAnZWagAA+MkP/1yWyB7hUFGzlAoPktC4\nhZssJLMgvaC1uuslDUs/jY1JT5ypFRG8pMPZM/7cGFAyTvDWD8oHiG0Wo19Z\nH+Tu/Oe9kEgq7H9tMYCJEaK9Oz+EiZJ4Z2h82pPlpJcII6SKL9ft+gADTCxM\nG0zQ7X5R0TfvXmQBHOFn/oKuZp3YsONdHLbuiIL/rRYvJgwP9vEkCyJfuZQp\n5g9b+hyAVBjKmbDRCm3r5qJbuDwDET0aPiduMc8ctzY7rxZr13EGMffrKe9F\nQlRaPilZ4UW3Vnnv9dYf41PEZS8Lf2w6EJ8vlZpZ6yK9gXnLA8/V9yvv4LNG\nMps9EfLRQUF+cuScG4PY39SoXo2WF7bNUiJ3xMPBaNRsg6bt88lTgTllxqgM\neYLEeil0wcP1lFbJXsb7XZjkBv0HVdwHrmHXQUWQsCmI36AHONAL0F8zhcEa\nHbjZrQM9h/Gmk6TrhBvR8GbgEysx1BdmNWpeXhUq6gEJbKpkueoDYLJCzqAu\n6t7tmtlH8bYxidPRxUvCdgWEZtzdl16Xu6xdaGJZlP10CLbLGPGFv9IMKrj5\nb7AKlTRWXslzHl9YTRLjOdGUShviAUVMy/lHXdZl2GREZIf2Wc8ewN/XvpKL\nWZaBkyv3C0B0NoZcr7jKpyrsu3r0PNzD7ROcnQ7eLMViWkpmujyXigbpjjVw\nnuiU\r\n=uZuJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBY0M5aHh2GJ71m6pB4W7dwd1tVW/4p5ZHXRSFLGwOjAIhAMU54sxv4AhCQwCFFn/V3511RkTo7RCFVfIzq2kZDTMw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.8de25fab_1541606906749_0.05977008172278997"},"_hasShrinkwrap":false},"1.1.0-alpha.e6e80ba7":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e6e80ba7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.e6e80ba7","@crave/farmblocks-theme":"^1.7.0-alpha.e6e80ba7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e6e80ba7","dist":{"shasum":"05c74d01f38582afe3095f0794a3ed15f9bd95bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e6e80ba7.tgz","integrity":"sha512-PSLFddx3uZf+6PB7MAzqYAptnSxg5q96C2LBoWs2hLch3tCaDcnfSsZp+kANjRk8MSPdRCmKol+CW+OYgNO5Xg==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4xNbCRA9TVsSAnZWagAAvVcQAIMLe+eI47QHFMtMN0Kx\nXLeZPoeUoTGiwdWHlYIu1ZBsMlIqa19nae27oXt4FU2pl4beSSKu4le2jbn8\nNmehDo0m2wseqJjU+5oOCkTmYLsefaO4qtrPONKu+Ij6JIvFkC0McS1z0aEV\nykf4g1KpBZzbjrzY7XLB44d3DjK3LCsVSrTbnYW9Mil/sm6qh3Be2VRiGShj\ndstTQ7LjrVgv1ulDDjZ8ZSBAxdMVCQcT047RdlOEY1mOb1l91NDoWTE9SGj5\nR9sQHCQz8d4njf+dPHgQhFmL38wWYAFr8u3IdEiUwMPKJcbmxpaQxLA1Jsee\noobP33jjV3W3MnpECMpW3b3evl5sLdO00VEQZINAI0g/74VM+MRtaTUja4eV\nRNHpZFqiLbgAgOB06ocWGFrRnxng1rew05a1KGr4YQ7yo/JiuhPfPEAZW/ZL\nO5po8RUDt5ghX3BiwQe/GsvsiFGPm0gX/Up3SmFpj4j+hp66gtB+ZmvdjMKt\nU7u/ckJJZi57h000ca8zdPG6DKueVPi6JpY5jwMzf07Iz7tCbNm9aHtB5aHH\nIyNlH48rG3833klncfZnEQDc5j1dhEFe+JWJnN9ummCa7IY/T7tZVAaLpWwL\nknT13bNAmHYtBTlA31IqJqnGylEmkGoIJa/1hgrSInMU1+j0/vSvtaYReK6y\nnhyU\r\n=Pxb2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDndSfdFmxJo2yxftH7WciUhDc6OjSj+TWHIfc24a3uEgIhAJbAdNqgn12EybDOf6sGDDC5swFt+HDRR9c8zn+1OWz2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e6e80ba7_1541608283124_0.4670978227447371"},"_hasShrinkwrap":false},"1.1.0-alpha.07e9f012":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.07e9f012","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.07e9f012","@crave/farmblocks-theme":"^1.7.0-alpha.07e9f012","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.07e9f012","dist":{"shasum":"583b2e50f0cf781a124089a69a7baf0ad754535f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.07e9f012.tgz","integrity":"sha512-xTRDxTJDm/J9bxGm2Wu5dKcWBVKcTZu8H0vcX06pkQKfUinRX6bStaNumgIaBGy8p21Us6oVd7+ruPSG8Py/wg==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4yUHCRA9TVsSAnZWagAAcq0QAILS+1wClU1Gkyi4CEsA\nDk303r36FwDB9kZ/fxBw+pYV/f+OCgRcdlLAYRdM4xs9NnnhUoRlyiRzoEBo\nWWeERXZGyUzqNtZv1oPwX6pWnc6Ae99oRm2AcdsVFyfVLbUq9vTadEup2mc4\nczs7d6cHCMSQfS8pI7XoWvYCGTzgNScCBFWfNjFBStyOtDB44YEV5pPzxeRC\nQnuFYpdOJvr5eqv3Wb4WIo75WJAgtZXoI7tgdzJAnz26O/spDsq4J4h83sK6\nBJ4dhY7L+V/RuIW0NQp2sA1x+ogLNf0MvZM0VD/8wHFZwJCNg/+mkMV4hK7M\nMvgoxL86E/r/JWsDZWkzWBI5ZdX4KTYvZVb2lU5arXIrEwY5IbBHgWUp9FzK\n971B/xriszW8S3rpaPujoLLSBFzDHQ5aZh9HC/P9zxAd66sBqy4HUM4rZLb7\nIXRvUZhhiAFG/xZ6J53HCjQxGNVQYiSr0R6Wij+zTpegXUQkiW/EwZBRGtQh\nlBtFE8rN4BVne1RkRlULDLoYGWiLwf6Hk/mJsdLReyzrxWsX4a+vZQvqLDoF\n7xUu6RNFoRo3KHP5BGkgHwhXPMt8j69MazvrCyEKuc8bdqCFX6CLFQ/R+eoJ\nRg0HZoUCKUFP6sVM2PJMO86phO2nQ526BIaI1EOoY0FBEGvLRJ2s92vq6AWi\nGMnN\r\n=+PVC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFk/oJHQTxj5Divqsl6+RDCiAqokKWwrt+zRmZAF7l90AiEAwM3818QLjjcGJVtbScgZVU1kFSAGEkAyXFAcEVDtaKE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.07e9f012_1541612806739_0.7473641255822043"},"_hasShrinkwrap":false},"1.1.0-alpha.1b289e6a":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.1b289e6a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.1b289e6a","@crave/farmblocks-theme":"^1.7.0-alpha.1b289e6a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.1b289e6a","dist":{"shasum":"a41b6c2754fd2a1f1abfd6b4cc9a307f0be93bc9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.1b289e6a.tgz","integrity":"sha512-Z/6o0VQ+pUSafwIsARAGZEXKrdIipQVPmVPp9VyILpUrlleFOzkQoFpjjOWUb8AublXeVZoPI1+dRu1qz49w2g==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4+WMCRA9TVsSAnZWagAAbW4P/1MowK3W3ZZEnnOKZ3aj\nXRtKbAuvnB4QSz6qSJyquVZ3sZVJWy3Uozwe2rtSJBpiyTRESHZrJ6qyRkju\n6VTGbgeIwgVqG4SDUDZsaybdfCwMb39Zjaz9Kxwgl74go4PZN7sEKTjJu2YC\nLEZwcjka6QBydNZu7Bil1kyllc2j8wCtxiPonF4JXwKTUktOdiD8X7jsdxu2\nIqInf9Clh3FFcFFlOpyRlQoHa4TMREa44+KHrX/Ftv7fm+pP9M77EXaIP2n+\nEu99dA/OKC0gtKWwbjHAwMm7pcNhc/MuQVJ3Tpz2oWd7h2xJ8F8xVuGVEFhm\nArBWLIjtCA+v9XqM/E8aMRltqzFD2i575guCz2w7d+ljOkbOGsYcQVT2BXp6\nDawNekiN8X6Tsl9fa1FE0IaG9v7Q/E202o/Ha/0vuVd+wFzA7tYC5P0SBOVA\nHSflkZDsao4l/mURyDq73lNrFmw2kFH6GURSGEuqnva243vxb6XVq7+9C/Dm\njMa9ObbuKfdWPzLUaLfDE1a8yZnn8FgqTLQmZ/UK6XFzcvxqT++vutixgVhq\nIy/Q4NqH29c4HZSZNdvE9SM3k0wl32ds2cowh7BzzyqJvlVSfv7+gZk15ldV\nrjjGTR3XuuH6twoKntZQlDkZhafDPJbdh5i3apbEL4niraqva0sxnl98VVpn\ngBle\r\n=BBtn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCj9joz/914rogyTVbf7/ff3/FuY0Gd1HAgSk3up440qwIhAKHral7gQKd5zRu1qwqjHKI5Y4gImKWa0WtbzETGlpib"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.1b289e6a_1541662091726_0.8980244150026917"},"_hasShrinkwrap":false},"1.1.0-alpha.3dfab596":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.3dfab596","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.3dfab596","@crave/farmblocks-theme":"^1.7.0-alpha.3dfab596","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.3dfab596","dist":{"shasum":"e555f9ea4376626ddb4dd29df86bd9a40f794894","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.3dfab596.tgz","integrity":"sha512-krKFlmx/YrAoofR2sqW4Ab1mOTCYD4KFXZAjJVQpqyu37zFm1SsyUwdLIbJRha3RUsN+zcBwBKMEphVODuqaIQ==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5DoDCRA9TVsSAnZWagAAWqkP/1TmJqEmCyG57HQziQCM\nG63ZTvsg73fDMluU1hTHPxTtwaz3NQ80NXjAsdjjNyjRJAmPZgGgGgwKSVf8\nrAL/wNNz6ReuMCMfZa45cDeQTNaj2cwl+YhkyehrL6hCbKOuYkEpYAnGJs8X\nxJmUe7Ep2qzJx9qVxsn4s6LDMg/domspl4FSg3y8bN9OdgpbZlG/OjG9Z2jz\nKcIcwCes/AdZBOd8hLDYPYYSBREl10CXfi4Iw7oztbpWpzc6eJO6cJhrf1Bz\nA7+wTnfODuv/Hfv+YVsP5iEEsgKF/aeEonAU4fjNV6lqJCEAxJAHcGbNd0zT\nulMBGLS36h4zyzq/YGOZkIVk94hPN3TmrmP4SX/HhAO3Wph2msMAkxtlnSZ6\n+xozdotIBh3MdgHtY4UCa4pB8fvgrZM0lkE6Sh5kivqKWJW+QZ2ZjDYHGpcD\n4ic5VMgZp36dBFnxdQKZFn83KPQA7oaiGBRsW3mAwideEZwmgtc00AO9hSK6\nGEmZqGLPcV3Ep0Ep4D1R/hoBspuINSpKVK4kDORV3AuMmjEPuTtVQBwBHQ8j\nPsOhEboJEaDqX0mzBB/UHk1Z3YTgkMlq3454N3Tzq3su8QfSEn3hXY11bazw\n8cNly69TDB0262wV1aO/uBObDTZbo6B42sxvv9vGcg+zMH/ZCiNP5/SthomP\njKzu\r\n=dWoL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEfjRTUlNIU6vYVl7h6Rzcd/xRCFyjtoLOo7skVM8vUKAiBnj7VdD1Rg4P6POlYeio8cF/HnxT1HG1pZHVMJ89j51A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.3dfab596_1541683709719_0.4030464259801587"},"_hasShrinkwrap":false},"1.1.0-alpha.885812b6":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.885812b6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.885812b6","@crave/farmblocks-theme":"^1.7.0-alpha.885812b6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.885812b6","dist":{"shasum":"5e049ae69028a5bcb014c91fbee881030ccb8b6c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.885812b6.tgz","integrity":"sha512-DheD3pcdEBzmfMFKVELGkWdGrF8nk/JwdThrl17MRRIf71tEemxx39neCPWAYREcCSUXvSs2gEXwmAaUiTmhjw==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5FM+CRA9TVsSAnZWagAA87kP/iGxRMXMsEGdpomO0slL\nQdOpnN1MH+Ht0Oup1v1i83yV+knLc2fs8J5QjMf+FV3YXbq2NzddI1Bur5vd\nVbWDSrYXylp2dVMiJXZXYYm3ehNGyM9p0bRbQp8ss2cgHFgrmBN8BRGF0DBT\nDb5GejJb5isvnR8XSO8zDGMx002RmG/JNX8MCr4pnHcZs5RMGuEEeaDdW7K7\nR9dngsf9IE5pUNSHHmstZFroAl0zJckSon7OOxIYZ5KdfOauAf1MxQMzrWKH\nVdmTAkbfF8xmA3Ovz8fdlmEe996N0emFaxeNHopXD6NcDk4a313zVBsUy+9X\npO63lRM8Ks1qWkhI/dLgs/TBsVAAOeqQYFKnWr1PwEpEoXFWSbnt29Q98vrA\n4Fk7wg8JRGxh6hEvpWtgyzHMAxCyl7KP2LX0LCWZ/ipVpHoR3tHGhZTd+WRB\nrUMyFJy6nj/uhQ0TTEAdia2Qhy8QgWGsRqUQrJjo5lEgDWK2+eHMbrM7tw4j\n6jKV6QwYqp9w9sZhMj0tj5hEBoCE/tNssWBVmK9iDwGPTHZ4edeTNMy+j2JS\nGMXq1KqYHG5ooXy5aGwS7h1RhD+vA9JnJN80ySVUfDxbS0XQbysE25JG6flD\nVgYAVIeYcN1LXIk5Sv93yyIrJjX3N7hUQILKTMeKIdQo9NJX6WZEs3bY6NBN\nZHNs\r\n=+dRr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZZNCDRIc0+YAX/IMNnPnyLj5IJ8E3QVPd2qUdtIR69AIhALokTwlYwtREFfrz/mU9e9MCvyefbPNXRHO5SjWv3r1b"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.885812b6_1541690173612_0.9762975062260517"},"_hasShrinkwrap":false},"1.1.0-alpha.d2eda2b5":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.d2eda2b5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0-alpha.d2eda2b5","@crave/farmblocks-theme":"^1.7.0-alpha.d2eda2b5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.d2eda2b5","dist":{"shasum":"983f982dda06aafccdd10273dc35d1f3b824b0f4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.d2eda2b5.tgz","integrity":"sha512-NqHMqLrsQFRXDyWncUaHwJ1pvQge+88yLtnzwkzs8lWZThPz7fHEX/60oPhVusIk+y5qo0OGeiqWf7pJaWkyxg==","fileCount":15,"unpackedSize":30240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5IYbCRA9TVsSAnZWagAA52gP/07g5SKyKsrP6HVL4Fnq\n4sW0Hn29D3zn6U/rRHjdaUsE6hj2vTu6qlPPj8BTm2ANmNVr82NqOR/m9uyO\nV8nizq883JEdJyqOoraJOpMa0aFszWhO1tZSab938p2DM5f1eDZ3qSfMbIFA\nZvmHyXvkfEFsc7yn5pV07G8y/YfCSgU8XrYX1Hg1sNAthvekS8DCaRdro/HM\nABULv5gee+8jLKGMLGBNLd+6ILa4IjFY5+0MNVGZV9QWQcNCaKmoFjMfLAZq\nu2S4CFQ1vFltzrQl6cWadi/Z23XRDQss+3bRJYfqr135zzPpW342fIgsSzKD\nLX8JKHbsPTRInV8ua0Iw+mJMK95HSOTPvvmdsKcN+m8BfCmxjSP614EeiOn7\n7DQMbx2rF39bYUu6CV6G5g1aeQ4+9XUZYk9rCaJiiBOLqNz9cJFN18he2Wcm\nxLqtlEN/LDbc10oHLaWJEt1s/o5TF5a6vE7lFsBNnail+hz68bqC05D7FbU9\n8hY2QSxmhKnLhG7FioY20aUkOFHU9kbHcpmY4y1I4PrLxoDgnNtSgs3OAWlz\nKZIUjRnUpVhZCRZVp8f2xy9Nn/S8n5bT1BCnEo8uWx9sBSuBLoV/p3y0lMWf\nBH6KnYmgQR7oAdG8LzHymwBXRUrPtwKoUxN6suniB8J/SviaMlFvBsk1lf8Z\nL6f0\r\n=ve/F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXTS1v7NWuHOrb1fT2JmcQEW+NxdLZ/TJxf8QOvKLozgIhAMnjI274NlQKp1YCDvmG33bm1IcbQQYHmxud6R99I564"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.d2eda2b5_1541703194907_0.3434516465058217"},"_hasShrinkwrap":false},"1.0.3":{"name":"@crave/farmblocks-dropdown","version":"1.0.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.0","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.3","dist":{"shasum":"0d12ef7ae2196338f6e7d3ce668ef5e12af7e037","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.3.tgz","integrity":"sha512-CWbEWaOMeAJTNe2lcdlq6M6Tc22dSOVo9BYcBK9ENPaX5tyjpFbOOpp9pmvm+kkxFH9M/+AqGwPy/dNzm7PiVw==","fileCount":15,"unpackedSize":30151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5IiPCRA9TVsSAnZWagAAdIUP/1e66u2vkwGbJcxPWKbj\nmQauW2JfXL6pOFBXK7GA0lSQFopbWoIXtNkT7y2IklnNGh4h5rDUOnDYQ+bv\nA3al4Nb9JE4RlvgLF+T4whhi3/USIEWtG8UeEoQ7b3j/vhOGojZxtkaIzMO3\n4MVJgVkDgxW2mNUkHI2fuGo5SU2iHORQ2FflaceU0pqHFRLp2zjOJ/LUy4ea\nyv3Tuxuamu/1EMwtWjzP/snLQ6DP0WZ7hSlM17ZCTUpsbwNaaNoBQlWXB3Mg\n8wUouV1to7rQbw5+sOQ7sCkWLWhaw/ew29OKROTlRLSJbbzuzfQHZpLV3JG5\nkQIgU8bP/uTy2YWRPQKnSBj3iCf3ipqYEdtZjUMrqPTQpVPMjXWM3MnbrA63\nbxLqadOQW35em7NfjqNspv211Cpw9f0F1Vb3avuq3LolyuQf8uI4oM0FFWhz\nVMwUHFJE4oK19aqUseuREAJYQEXivTxljEXkZRBvzMfoXq0i5ihIer92MWZt\no2F+TgQ0/mbwHWfP19rbuohbpjVsBLslLPdImhd2JhciRMj6USqPjL2Vb4Yy\nrLvyT6cTR3Hz46MZdkXLSvI0h12Z8INhFDn3mOglcsObacIKLurRc3TPwJuR\nLcQddn+s5LP/maVhE/Gp/P7rk84e7bAie92x2wcCITOul/wusljb51XgFheW\n+P3H\r\n=hj+4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4/pKdoA6AltYkzZ8cqBWnKDV0W/ovLGqr9R2ejcsrwAiBO/LBDEZtFIuwO5yMZZ/PB4gMpXPR08XoH5Ok2YHDg+w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.3_1541703822746_0.7476833599893504"},"_hasShrinkwrap":false},"1.1.0-alpha.eddde304":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.eddde304","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.eddde304","@crave/farmblocks-theme":"^1.7.0-alpha.eddde304","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.eddde304","dist":{"shasum":"417baf771ced69b75136bdc83ad7c6bd67c14cfe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.eddde304.tgz","integrity":"sha512-6u98tYCUvHjXUtgOufk3Oqtw+oQ8kPmUcGTmFIiI3jHWrexciYrOLJUsJIJ3jKa5RmIM4VZvU5slPdaYw75Csw==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5IraCRA9TVsSAnZWagAAqhkP/1ySw7/W1h22X0ftgbk0\njS0Gz8BXiVNXCsauv7PcpNHOVvULNzr9SvYNyOoEl+pktAqIARWQEFTQ77Dl\n3llkHfzCXKaRc3Y/f0bKc+jAFFfzEPzMJtTvEa3UUb7jIF7elDhTCfy9p2No\nr+xdJrIJFkmjo80Z6RZEfpVv0AoOho2GoXpYIlFMza2lhWrQAU0TXK99IIvb\n7+okLMZny004hJDtp6tvpO8KXkyHoJTsrWYplZ85zSjRNfvGv5hvNr4Mix48\nSHVYTr3eJf3GpuodzkQucfuNTFul0P1Q9HobLuONtmmqSe1aTBdPJTKvNW4D\nAmrOK08VU81+ETmAq7aMGlaeVCkj1QlTP7qadYpQCHnjvEM6WdKSYytax6Bh\nNsFaxg3Upi6u0pdOL2zQ7fwUE++/1BAjpS5KwSRNQoHZw9LdBLNtCkfAXHJU\nkXW7TFnDf5tlF2dCJlFxab9tRJP3iedg//2Jys6SsyorAbZ9vemqdqFnPFf4\nT0GnlV1IuUdE1W0/5uxtekV7lqufC7Bjyh5j0K+QxQbMFcKSo+yfrxJfcw/0\nnRymXhu2sX13pecilCZBsX9HhJo8f4i9c0/texm3l632QyX7QWYpx66eMbSX\ndreBlOfWKPA9C3KpKe0ALA0c6p+fF7YUIlagf04xnG67ug196zan3twBUIRT\ngsmy\r\n=LhAn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHrdaiuvdfXxWw66DKe7Yfsgm02HKNTCUkEG1UQniNoQIgZZo1pS0xgieeaA+Yhza2Xsg2XJpHdoE3dut5vdcfonI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.eddde304_1541704410085_0.14829826495175413"},"_hasShrinkwrap":false},"1.1.0-alpha.9bff8ddb":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.9bff8ddb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.9bff8ddb","@crave/farmblocks-theme":"^1.7.0-alpha.9bff8ddb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.9bff8ddb","dist":{"shasum":"14d2a907d51cdc2154937d17a7fc597ecbe258f1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.9bff8ddb.tgz","integrity":"sha512-ktFkh/YkP6TpG0AetGNBustyBB27E3rf/HaNdw5IfLl6fMK6972FOUQomfL8ZuMHn7vtFFwqV+0RJABoeyPEJg==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5ZzKCRA9TVsSAnZWagAAF4gP/itCWop7XKbVgoVs9te3\nK4xXfg3o2gqkO1rRsdCw7hU5afL7osZuxwV493iJ6aRik19NN2RKDJUilIke\nkjUfCcEPK4Voih87ObBZtctrDXxq4DwglIcG0K2XKzABhVteS7cYCtrsbtnG\nvIKvvqbEmGlyvCwItdokQIM8roc6ht8W9cHuHnAWBJtrn2VggfwxAjMPMwzo\nTx+I+3I/7U/5pZWWBvwoJ04Y3RXED+vdD6YUZ0O/MZSCunCgSSIuiLAk7LVk\nfp3xueMHFvfYTeetEJp/0kCTfcUsoVURL8KzHhBappIiTQwCQBsvTKOqzM+2\n4DIj8/+bLrJs2Bp0M8Y7mLf9tcKfhGiSHPHIARgEshQkOMMJxu+5vMhUUwCF\nLwWjxHdwhsmwJF4I+SBZ3aNDvpJrGikql7luyRefUmHYyS5kT/cHnkVyWC0f\nZJJJpkR8QaALZ0IoYDuQe+evJOKhSVwEd2mh2mUMrrX04GrkSGIFGw/6m86O\nraECQRkeM84VC1yD7+PntQP9uxOslYhM5NdZ7Gzg5yfInCPrUvMStigCw0mQ\nPiu1hFZIKt/Sy2Tf3rvgsbs7bckviOwWHYI9nKX7sdzEdan4xKfgrDDJfsz1\n+I1Z6Gt+wnSlvwhMZBsfKofhi1R4qlWmpc485k+xSFxUY5ggCdeZqKRwWq8a\nNEjC\r\n=GW8x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnx4CaLcqOLfa+R7nvqSIHn2gp+XX8HW8e5hk8b5+VTAiEA/nGAt+coV/bjP/oQ6vCaM82M+0tbopxs6bGiWnQ8eK8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.9bff8ddb_1541774537826_0.6868096007190538"},"_hasShrinkwrap":false},"1.1.0-alpha.0251c33c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.0251c33c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.0251c33c","@crave/farmblocks-theme":"^1.7.0-alpha.0251c33c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.0251c33c","dist":{"shasum":"9ec671c9bb1bad70f1445aa085556da52de59dd0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.0251c33c.tgz","integrity":"sha512-Rtv3+37QD57fwj9uCMQx3WK49aixbiKU0CemHNLJzHAj6/HUBfZNTpIQHs/NJLEtXzEYfIkCONQOjajo/4Jrug==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5i+PCRA9TVsSAnZWagAAVZwP/jYgmMi5vw5GgJ25b0xU\n/hMIkTk/g26hwvY78E41JXMFMyb/p3Hup892ayyG98te1ol/K3NkJ2pzP79D\n+tRFoFnXOSyM1wq/zSrl8XovEKpbOoXWKKigDbq4oDL0HqNCwSrICNAo0yIl\nLUf713XCRwoqtacQrwY0CIarlx1eoS8hb3YnTr5n8bedhBLhmiZLZOlkhSCI\nxfq7gHQleTed1r9ocWKB5qQUsTfwf+DEqUepvcKbkxDq0MHGN92080niNIUR\n6z0DX/6y1smImaNlPU/dqTJFVy5IaWUs4l9wBJTDHtLFJKQryz+lQcDUp1qv\nqlha2WA7HzDnM4zJA9D84KrizeFMUtvrgVXJ4UfOHt7hmGKtFskZj65Z2+Vw\nXCchNqjwoIjjK7wnTHCl3s+xbBFrmrrliXGZ8zbFG1XQ+1cqVcDPPByTl+MI\n6w+gVax0xKcJRUF+R8e0PxfJJM3wYd5kFokbjQCOzE+BCDa60oZvLruy3KFz\nFS/U9/DhtzroJzudObdPQSrKemyMdH8ogW+y6p0LIR4xiZWDce/yrq7tf9jk\nigBhkCv2Cy71KKfB5gp4O/FX0xWeF5GwE1BtI17vv3MAuhj4Vf2KmSfHFEZv\nalT6vLw8C99RqvQwXJL25JULBLD3WdKGPN8UPOs1lck7W66JCigTBH9yGjlL\neQux\r\n=rOgc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAO3Nio2ZF3zztBObGkoU498zSbRvkZUKqr49h7qahiQIhAJ/Oo1dJLUjXAXaEvew01ZZESjaCPIKAFc/eyjKpvVOD"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.0251c33c_1541812110762_0.8131467611955852"},"_hasShrinkwrap":false},"1.1.0-alpha.e1d3d9bd":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e1d3d9bd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e1d3d9bd","@crave/farmblocks-theme":"^1.7.0-alpha.e1d3d9bd","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e1d3d9bd","dist":{"shasum":"7a920994ce4517a12a834bab9a12e144e8545708","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e1d3d9bd.tgz","integrity":"sha512-fx6PO2/hqkOtPcAd01PxAJL3gmlZMCttIAza+UMVec/RkSKnS+/hvKUHC0SwTl83JLkD57vUd7Jpde0biJMJlg==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5sXYCRA9TVsSAnZWagAAJasP/ixgPmmm5BdAaETRQHMP\nyx6EDnCGqxXfE6Mw81LFRuvsA8ycRlwX2hQ6ZfDOjxYdrZJAV/oTmLDAi6xs\nVd85urqSM2MIH28AswJrqj4QVS6Dc2Dfqans8rkdBAuOyglZYFOxIPf9TECC\nB2OFIKVTYk5WA1wbYVuvVV0SayUpwHUOAA8ZiLmWVmFjzla8qggLAcV5RGsY\n3czlQMJij8N/XNitKmx6BkQ+yFO8qtuwxYRrI6UTMyNCDX7wW5Q+Dh1kb/kZ\neLZZyKfDvy0k/H6WjoEDgD2W/EPlalM3Hi2+k0lAzReKgq39wVGDz0tcIA8H\nRE4a4EK+w7UqNhTbrhvI+H7HUOO/+z+mJkUi+jk5LdT9swn2GcoqZGdPsk5c\nh4A+F7SQkth86jECydHSEoOSPx4m4Q8by9YcuGxyfoy/5XopQ0pMjXKhnEy1\nMrso/U32u/1nHIAqJC3t6t870Ju9KxeUG2GVfeaaY/qrsMaDiScU10NFYUM1\nMxl1ouqmDGloZSCXewFN5U59n7OVd2cZO9Z/ns7X6gaF41zOLaJThUk+s90p\nFyNcCscJtkenirDB2XGoyhrsYefhGsDDAwVWBjFmI5lwmsL7NmCZjumuNo3I\nqLGOeMxY76BO+FG76S+z9NzVDaRlX9vnVHtCeXeePSEZ2Gri6OwToL1XTyCN\n/aBj\r\n=USap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzC7bNBsc9kcLhmWumbLoolVIJX391CHmKG4mtIIPj7wIhANpf6zeVXYbzDMjqa05OhrK/hXvk0n7ssHCuM56Rtxmh"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e1d3d9bd_1541850583581_0.733695794951837"},"_hasShrinkwrap":false},"1.1.0-alpha.43e2e3a4":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.43e2e3a4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.43e2e3a4","@crave/farmblocks-theme":"^1.7.0-alpha.43e2e3a4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.43e2e3a4","dist":{"shasum":"0156b2ed6ed830640f3f80b0f17aba92d900c4a9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.43e2e3a4.tgz","integrity":"sha512-ALeuwDvKOfCbmxDj1cFK4ZG+iJrmHjCAyZDrymbiiiGL2KKdHXMs+HzhRwXe7b5nIkTAljIMblSdwcLSkBYhLw==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5xeACRA9TVsSAnZWagAAwAQP/0DJQ+S3KmX2C3EBkuUp\nSL1erxv/xVknzNJLThGXz242p+4FoX1U97FoMF5IdpTeaoZ8zwxC9YWRG154\n8HPQ7ixKYephFtdiyHrLqAhZ+L7UqEgGUDvKdJfx8XLqUOB6aT8NB+RCZfBA\ng6oG4ZwvjxvWxwvwIRFk1OKImDmCsQNPsk1Oore2MjDbx1AbgqdiAP3F10Yy\ncTuCUgcA//J0Ikd4JhXAv3qcTMLBpepKZAFuvPXDBqUivQd9/9Dj0doAkwbE\nlWgMt5aeHkonn0SGf1oc4XS51Moyt301atJF6CXy9MvcKIXQcbcutnxS4DnY\nehNJLLi2HNJ/iUuNfSMcPabK6lB9yZnhsosII/1n3njS/t3RJL67DaRLUJPR\nRKddFyg/oMthTAgomHJigj8eqGAYVMtkdroBKjDh7gtfxM1ccPxRjStxTbAV\nXXW5HCrOn7R6TYwLy3lxuKsH17CoZJ1z7XronX/nF7inST+6tH7i3RBibUHP\nQuhYwQb3rzr/2Kr8+I2tNhEnusXuNtEjKrqd6rsKwOHWJ+cnjpHEfC1YwbUU\n/T4PgET0BdhTuW/npHX3byqx2DFsss0Y2MCCQnAQcMPthLNzGQmhEVRvYbxx\n0+glvkUYZ4ndjVo0ALpeBlXndlulQhmd2d58H3vQ+31H5QfhTa0dBs3dUyKF\nE88H\r\n=do6w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSZxO8+qjjnCDDdcFpOAV5bXLVSKI0X5dKIXH+8XEpCgIhAIIFYOUEylI2FsNnwnbVGT08fyjxyGoEgO+Qqkfq7xGj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.43e2e3a4_1541871487746_0.5845152312101958"},"_hasShrinkwrap":false},"1.1.0-alpha.6ae5d07a":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.6ae5d07a","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.6ae5d07a","@crave/farmblocks-theme":"^1.7.0-alpha.6ae5d07a","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.6ae5d07a","dist":{"shasum":"e9b3b22ea063d019caaa00589b8acf3e9fd87af3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.6ae5d07a.tgz","integrity":"sha512-uH7hZd84Pi/nPDJK7C1hBNO91Xz4TguFF0hhAClzeHSweKfAZyJjjJoRlkdEVenPLAAIoIBoTbKeOqpyXudiIA==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb51jjCRA9TVsSAnZWagAA/vUP/3Y1RbPxUnAKm20eVJlq\nDvVStsc0CtGqla7ByRUxdfyY0TY0CssRaa1eb6Rre46p9Vrh6U6W+ugoEu1j\nQZvIk+HPs6pPgb/n3KuRPzI+kYnmICYzW2biftaz/067SQvg+HX1o6SxDMuw\n6IKqB9sjofFawgF71J4nXnKHs4I0+y5O9WAWQOZaVt+tWsE9DAJ5vN+OIWcm\npwrVPXy8DjLMVSZt5ImM627H/2ztATFaZsnYZwVbXe9DZ0z1z6b9vsdPcHmQ\nO9BTubspczIAA1+e5t3N1Iua4EvUdUMHj8pXx8J5NnUdWdNyx9uLm5efMzeP\nFsPbpeyN+GTid1y5zXvM9UUfUWZayBEq44TxCsYnKw6H1TheC/nHa6tzTk2t\n08pp9AVnPCE6DO5tsHh2+ZzZ2RXlklloCPnGZvq3/YaTKsK5jTdVeKlEonct\nkTpUQ8AUMwsqOOwQIbIhFGH7IKDSqA83lrA1a20X7frubm55n2G+fWQMcdFG\n+Ur/c3add0wgpKWDxFgWRo6acTYEZvwwvXer/yU92ukTW4hdnQ//IUOmAKGG\nIiNdc9CoWCsSVS/VUEsCNeiah+5y5L4wLuloHkizUxZTPhrvhdFUsZYRVtlq\nXUXk2061VFQ0ZYwmeonA+Yrbx6i1O7BMkr+nSEKhicv79b6XSjRlGG94Sclf\nfmpG\r\n=AHJ0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTB8r75zElRC7lEjk92Kq3RQqpHOBcfSAdNjHkX8lpEwIhAJI4k+WbkZ9vGhOksFSCEGW0CsBF5cIPwzsP4orqiIhF"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.6ae5d07a_1541888226398_0.5220917434649328"},"_hasShrinkwrap":false},"1.1.0-alpha.e7c81443":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e7c81443","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e7c81443","@crave/farmblocks-theme":"^1.7.0-alpha.e7c81443","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e7c81443","dist":{"shasum":"dc46ad7482e85ffd04c19c2348583dcbd522b1d5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e7c81443.tgz","integrity":"sha512-Jgz1gH7c2xCjeFQgjMNfYnQV/b2WRmNQhts7EeOLOHIWcdDLXwMqpphdzjJglaB5pA+8pfnCZYaHrJ1XEO0C2g==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5+9ZCRA9TVsSAnZWagAASbMP/AoAFxeeQoiGFoA9GqPE\nJYDrYq0eEAxMl/lAjhBwkaiQonk6Mc1YgEtjB5rv/JeQFGx6MqL3sN6v30PQ\nC/d2QgC8ksaaDUtks05VfhUAfVjuZLzIQEdpZnccsRZHu4EmGCtRP8cgBH4W\nV5be9ckIyTDtfapc6O0J0WQQQagef1yEyatcrgQTCmKLRArf9gKAW+iGyLmO\n14MWDonGSeiIVpbT68ZzmuaY/JnT8rPvPg5klm8NtGnH7qXXkA3MjO57eAIs\nZ/ZejvsvR2Wgm1jXq2Jz+SGqIkm2+oQ4MELoE9jfScssSRiGMwu0eYY12g05\nJepySvyaP8pfief+czUE6wGUbYwjsU59b7PzmctcQRy0sF7LX8nVeRim42Tu\nvJbqKoiSWGNZmegeSrEGwgNMYUwR2u6arK/OQWxi3uK/+FjymUVGJKpTkiIs\nj4ILIfYCxQ1qozjv3Bmfe9JH8CqwkcIszy2WWWmv+Vd8Uu8nHNhoXhqw+DOH\n8OpI26EdOGFc59ttGSSx2LIKeDuOJ2w0EFU32lrg4Xg5q5wVzlOb1OtaLPoJ\nfPqsS0bmYz4V64z+lZBUPRh4kLTDAojgpytcdZO3zZvRIZFeDMetud9qrdyI\nVYGxLVp3j5msf03IftQMTTjaFlVYJ2NunA1n++smAmhBaTcKFRi/qRTypb0E\ncEIG\r\n=rY3D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTvlR+UY0AfiRGjHboy6j3Uzl4bgnofVpLJKSSgncmdAIgNA79rVWCy9KMu677kQSXUVcSk2Snzj5H/i5qwM/nJiQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e7c81443_1541926744860_0.8829092672111283"},"_hasShrinkwrap":false},"1.1.0-alpha.3bc2b88c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.3bc2b88c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.3bc2b88c","@crave/farmblocks-theme":"^1.7.0-alpha.3bc2b88c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.3bc2b88c","dist":{"shasum":"2f168e54db57e0271b91eb0c7220d0ebb6efbe40","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.3bc2b88c.tgz","integrity":"sha512-zIexcFwEkDXu0gkr2DCmPQMAJvf6rtLis8VC/GiEVJo3bLWo/JYjUGqhcMXhwrCDfFcq+uxGOk7AYRsfx39gCQ==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6BGiCRA9TVsSAnZWagAA5vYP/3k48K351VM1W/pzTPhY\nIIxnuxVO8qB9qg1kT0nB2XgcHkPqd+SpOSQylQk/PLucbcr7NczHXY5N+SpY\n2Pgh5LuGjmFcg8Ol5dpk/uoYEhOjbqjkR0Jw6+6AiFnH7lCGrgjlCAMSZQMP\npqtQGs/hxRTV6BMfa+ochQ6KIca5D+TC+/4SUifNy0M1mTVeRBQDd2C7M2q5\nLx1R5Xx2PVD0DcMz+6gk3VK2iYtg1irNUB+aDfGu/aK+llhVoINLtHIFkRUf\n07QivkS5ssamk9jHZiQ9OZI3fXTFOjroiJPXZoe0u7Y3sYm5fdXKkz2PcTiP\n/4ovpu4+ZKfuf4+ui15ZL7cX1SnJhWoPFiDJLb/paCs4dfSAm2fduKFvt8KI\nOjyf0IYGVNs5qu8eZNpI3CLhckOl45JwWScmH+GIFyeYmzvmrbCBvz0NOcrd\nBCSyr1Bq+tTk7JiG9pLcXu30aFWdxwHRzst+f3tJs//G4YZcwhpZhhx0a/fO\nmyC5SZpF3bBjUWM5OjOlaP8REkS3/x6XluhtrVUL2V9ZqVaJroAg8vBa/yig\nszpRgLIff95bt1XLxTYsPmCfoQoh0N3Ag6CLT5G1/TC4qUNGDfgQ8b4XpVkJ\naK9iu2cgpRXAoI1gLJMlakOtJyqNPho4FvNXT5iwMGkF/UJwDxcbyM+WxSeA\nyy7t\r\n=kbeq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9Sgr6Zm+CHvgZfSGwH+BFWgtEAEavigK8taXdlIkWyAIhAJdNe5RLiXc4Nqp3iBx3MU01E9sQ26YSxmutCTInrCbA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.3bc2b88c_1541935521416_0.037016799062186356"},"_hasShrinkwrap":false},"1.1.0-alpha.aa3b4b88":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.aa3b4b88","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.aa3b4b88","@crave/farmblocks-theme":"^1.7.0-alpha.aa3b4b88","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.aa3b4b88","dist":{"shasum":"eeb383dc6f49dead1a2c2efa200c35409efb938c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.aa3b4b88.tgz","integrity":"sha512-57sdNDcPb6UhB3wG6hle+DkTb6ILUI5P0mDMVvC251zRgclYf+YBCE/gBgs2vw/N1fFYvVwnO0eyz2fZ3SDTAg==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6buxCRA9TVsSAnZWagAAtT0QAJP3QFHxXef1Wl6aIkma\nfDsA9uzHoNoPS21LM3pHj/1yKTMfTTzAHiQIFx9ZoRlyrKiHm7AMBCY3QU/n\nEZNaXobquWklYCAPexftwt6pVGU4rP6I82Ov6YP1R22bjd2DrAwVsRHYpWvT\nUoDvEBZgoOHAvaqqmM79K3SILcVaKo9G5ZPP8Xy+rsIv/1s4Z+SpE/4oGm+3\npTK6jGDzdRQRJHyECqTSaKwYmx7YKeC22St7bq8QWRykuuK3vxwZAPIRP+qi\nHyadrEeLKGD0r7g4h8agSjbyOBP6kGJeFw0rqbtBVbagkCqP3USPB+gXRGkQ\nej1O2Ehfu2KDD/EkC9JGSfb7a8Rh7mTW3o9sf86c2ChWFCDVXLuYRHnHCWdU\nGRBgvJVnRueCk9/H+D63Yh5fy3C9fRgSkpDYepJiP0iOMQ3j41bJ0+z0QF4N\nXp91WGacfvFf3pNXTvjKkUrSao4OpXJMupBrNAsADAj74bzW1x3lMlRXHEz9\nW8M4rc025yP1++7ExTMMPAfEV7MbOE2icyf8EhL3hBxG0+CbULGWRAjJP4ZV\nqL1odjgXKsd4K6VEUqVo6/JwMb5CAj0FM3MJTdcKmhDLmh4UcDRqaQRSGyUA\nrW8coHai1sy+Fc9J3KZHXyVCpg/apIYbCfDIwE8+o8igbkIFh6hWKOIiEZFF\nisyq\r\n=smxO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsU6RBhwW3sTCNK15PyhcZitpHkNnxW5Ap1beDziq6AAIhAMLzE563ky6DaswheS7aNN4crC0WE9SUXnwKjmCgFahH"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.aa3b4b88_1542044592572_0.45069723196979283"},"_hasShrinkwrap":false},"1.1.0-alpha.83b4399c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.83b4399c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.83b4399c","@crave/farmblocks-theme":"^1.7.0-alpha.83b4399c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.83b4399c","dist":{"shasum":"c4fb41d4d450dff9df8e6995dc3adeaa5f23b95f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.83b4399c.tgz","integrity":"sha512-Ox2WqRi6b+C4ojBGVTqZmNGn26zfKxyGsuV5+1fDDNVh1n/NBHkjNL0hmTIDgv8frHFSna2E2S8efoHqy9IUgA==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6g9iCRA9TVsSAnZWagAA2ssP/0JhLFwbYHif60lAzkim\n4Ci+3U/0pCYx3W4q5QZJyQUNsGtoW9b/t7cQY93tC7tiaKWC7mN5soRLuyox\na/Y4zZSdyHhyvW9/FLMcyce3Codg46BsFYdVUqPoMHlWpo22jmXnL3lzh/UL\nej+h0fgVi0FuNMkVVuuCQy4530d4G9uchW/BtmtwJYNuTqqgEhUB2DiCWvzX\nckuoJhvUivCTddUlP/hvkPoxItV8bAtwhGCJ/mhkegl/TLGoRkyEC2sIGs/J\nOtU4EwOSYe2XTui8QXLDODRcbOyeeGfst0N2WFgcr4o43HYFD5w+fcH/feLb\nXbnQEFDzPH4cTL9djAaR/Wg2cWglC2VWtuAJ1bxA2HZ5DazBKjUXISFHutH0\n7MJ9gB+DskSwq+8GqhPQ5NP/FyQBl3XHLItFdc6dmugbG74PnmPQYiuuVX1M\nKB7omlp87vNKq84PC4YzeP/aAqQzPA8bb8GaI7CoYdHgLGnbJurIZKju1JWG\nu6+lV+xLRKNqFTOkc4ZhIHWSQ8aZOxYA/nnFQA2WSylAGPLhyVK/ec7/fjTy\nti1x/FffTTwo0xM2+8zWNSF8F1jYn+Z2rGu8UyLkuKQy1Aqa/FRY+5SHY4hD\n3cz4aUe1RqnjQ725Gp2d43LPBGhL/Qedvb2UORo59Jjvm9MrbsAmRsQMxQ1W\n8lzu\r\n=GwtN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGN6YdrdD0F0hE4LGOz7AqQAPKh6EN7I/MgvXlVcD3TQIgIWKSrE4roZNiM3HdlVK9x4qB5sMxUDhpnTQToujIojk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.83b4399c_1542066017762_0.7247626539650649"},"_hasShrinkwrap":false},"1.1.0-alpha.fadcd199":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.fadcd199","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.fadcd199","@crave/farmblocks-theme":"^1.7.0-alpha.fadcd199","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.fadcd199","dist":{"shasum":"e8689e2215f3f1ba66c16b331032e5d0289a9d61","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.fadcd199.tgz","integrity":"sha512-nGc9INC2R9uT8h6fCXDR8WLNeykQlxGHrMyHnUidHdbrXr6Zoa0OTylPckpZyI1PILv0YN34pXpCK4WlhmSAcQ==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6mC9CRA9TVsSAnZWagAA1S8P/RQsMH3ZreTv1g7Xwi5H\nkTq7fXrDTXk+YCOWOERbEKUhu/nAM1Std0FCGsUyUvstcXynx/y9IBpThZRB\niJ3nwik20n1Y75kLAmKFa+R+PQkPAqWP2vdxLIqBDlLGdN7VZq7X/ceDQxyQ\ncEFe3N+hjvYg7tJT6fmcTj7OP60w6ZZ7Q9wBFmtDmk6C/4EmyEXPitmEQm/H\nRyMjg3tm7fwXJnx5NI2kPdFBmi20xebI6fMvREsXXGtCgWaJk2cPNaQJ8FfN\n8CSSq9+c0PvJbV4tJ0Q7bx/qSYaXp5c3jep1pPD1Ld+KWTRSZOqFvm7Nxa7m\ncBY63B8RlWvxcPpscR19wtAAA4WjuoMcCxsEHJQzGTW4W0854hwJOgupJY2y\npxxv7Z9T2Lu3XBONpwxql9LMDaClckXr1J+JlQQcBKgKljNpmdbgvMBIIsj4\nnGyiyEQQ/AoWz+3Epxuy9A5Dcxcq2Izy13WmMADC4X+2l631sG43J93KkwSi\nnVoKLs2MnkLWgrCE2YxlMfZPoZ9OJZKGuja7SBqrXIbeQ/B1ye//4+kbstwM\nhkHa6m36gMNTMV3iSZ0uifGGWd8vKGhEfBDLROAjOIHYf1pss2CHMepjGrYp\nwv3H/X4VRKcB4dFHaOOLAMawde06OTOVpG78Y/pvJ/69svWk47qmz2MEtR+u\nLuIS\r\n=zO4Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIGOBJPIBVD0ghAedcSAPPp5OYKedtHoduIfFBxlwjFAiEAo5MEH7NXzib5hvEb9mKNI70VITxJp4FPX7FH/CV2CGw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.fadcd199_1542086844951_0.9957927977414172"},"_hasShrinkwrap":false},"1.1.0-alpha.6bf4f5bb":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.6bf4f5bb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.6bf4f5bb","@crave/farmblocks-theme":"^1.7.0-alpha.6bf4f5bb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.6bf4f5bb","dist":{"shasum":"02bb816543a1dbe105da0b9eafc229833c192a51","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.6bf4f5bb.tgz","integrity":"sha512-G2shDmD5y4KHHHlkUVhDtHaa9T1T8zvoc/HgMcp1lQlI5CBTfn6V3ImtwbpO5IonJvmmlFpio5TyM7hnERZh1A==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7x12CRA9TVsSAnZWagAA+wQP/A4aMwnpheAyL+wogaBd\ngiT59dcHNbrDiFQ20F4Xj80us+E0BbUXK3po5t9z2QnDqtpEJAM4bgMc46+a\nuhu9jjtpdElj1NPH7gqNg1lEmXY9WcghB5fkgG2xLMb3/iXV9f2zM613OGJD\n00bhsy3qhGXW7eSPm3i90g5RyV6aeseBA5mXSGPQ3WG8voiPjwD6qftrbpQ+\nhDvzQEng3gbXc7ZA2bEXZlLX53l/I0p4YSHluaXyX9BUc3dTwh/okK5OgVs6\nEzXMrdmH+y3s2Er05frjaqhA6cS227nhl5dtZ4ue5YIBU4tOMGlrM9qkUffD\nuUA4dhe3pvGWD9gQQCuyg+17FhevgH7ov5B9nY36+Np1UYqNcfvJdz4o/QbG\n1P4WRhINA7+EZ8gpxHyIjmm5UFxeenhpphSows3C/lQVXtL70As1k7cNFCTz\nhqX4+xtOl/JvEB9e6qYMqQoVOODXLdv8pFLtHkmRacbL+T2qd+Smab7iu1eN\ng6ltpw4+MFu+kM4LAQm2aP9MsLP2pKWBzm9IEamcYhVSSSolhtYGowNayFNK\nNlPkPj66wwMHQcHUc+BtdS/o0nZsxeap44o1dAsccHu/rYHlQNOhCzfE2LqW\nHVxSXj2eah65UIcIqJXvh3nJEtktTe5YKMU4m33va7HimRR0FbOW3gI3VGGY\nXq8c\r\n=h9IQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQJ6rLp/OpDg267iDIP/wGbYnFjOflzGdYwhfN0V1siAiEA5CoFcLjq0KtIN7j5FHDN8z0MBPyhoxXlRN+GqH3titQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.6bf4f5bb_1542397302074_0.05998934804226419"},"_hasShrinkwrap":false},"1.1.0-alpha.375d8a6c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.375d8a6c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.375d8a6c","@crave/farmblocks-theme":"^1.7.0-alpha.375d8a6c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.375d8a6c","dist":{"shasum":"1be1a7834c491900230e57474cba49a6fb420084","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.375d8a6c.tgz","integrity":"sha512-ubfI52k8jZWCMslwGKJDm8uccccIS7iMKpSuB6IYcJLhNWEDfN2u5Et3cc7rMO/EJwcoijSNhsa9tfej2QpJgA==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8QP/CRA9TVsSAnZWagAA8pIP/0GemDEdHPXjCDGCoAqf\n1wfWouMjvZc9e7stFR3gCl+ytab/3nQOVZDMnEBA3PG0mX99vqCbiL2fR/c3\nsBh+P6WwoeoHB3edxV0R9cnOB4ZM+ukYit3ZOmrAShtyFOrEn2uBvmtdpqVr\nTFLg+dOVZzntbl5zmfLWOH3+DUmysscx5dz5Nbb/efpC8UnT2QU8myZk76CA\nvuex0QHmSkQeGH7tcUfKXhgFHgRS7hvnF+oWocC35AYHWD4avVSTrTBa7Jxu\nKQaLqluTWhB+3xu7ggvdsUmvgO+IGj5Dyq2C+FhM1WVfrXpnZv7EorO7Zowc\nBqDbkS5+GQTwUZGgFxXECRTy6nBOtt0DkZHcWwMml6x/5mEwBX25nBcttnTS\nIkL6p0zUf0MsncZSUJO8bR+Umpaz7+lX1bB9hXNtJmCSqujzvWkO69H19kvm\n+WQteayzU0leX7HnC68QIB22HokKdERroAZc0F90hs0e6wInQAWJN1G8bBNa\nMe8B6xUzqHu9TG1Juw2SW3dD/GZpqKUcGzFlr1PK8MF3iVWGQFm16+fKGcNt\noYWn1cLEB4eNvE+HhtaMX3O0fe/YJBy4AjI/nZpxeI3i3Dj4hcZWsFtPKdIC\nUMNpKYFlXt4MLwLHfe+Mpx+mRYpsD5KJ+LmCVHdRlkdqb0ZeHYMyXu1m9R5a\n80rx\r\n=91cG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKi66CBysGY3BcMuKRbSTbpMPge9N9BJ2d2K/dCdGzXAiAygeO4HrZTftnBKN6YVNNP9Lu1MZLh9RLvttdR655eWw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.375d8a6c_1542521854687_0.059253297281899764"},"_hasShrinkwrap":false},"1.1.0-alpha.e54fc096":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e54fc096","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e54fc096","@crave/farmblocks-theme":"^1.7.0-alpha.e54fc096","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e54fc096","dist":{"shasum":"db64598ce10ec739555ce5c51491eb823996f5f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e54fc096.tgz","integrity":"sha512-yAb6VW+7ciobvT1/RrX5eEFrK7738PHqZJxqRRUNQ+CcTtqAatMACqUCFPwy+LyBHDjGhNHfEN0Zq67oTUcOFQ==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8vMgCRA9TVsSAnZWagAA0S8P/A3dStCGogBlx6nmvhfD\nnQsqyZFI2ZeOECEi4rYmSoi3hbRt9KdU5AhUDBnj1705gj2QdVNqOg2szAhe\n7n98dZ1I6FWVOzx8NRNQBNIC7qjpYB8MKStOlZUaJV4RbkA8WqMZWgi++SA1\nYyIMevpgWPYOPSz1xBNLtQI6LZ3ZZC9UOvX7UxBectcY/gAzOza/f/Qed4X/\nJzFveIqeFhpSfuigvih6d2K+i+Q3T8v8BkhUkBbezDEezp4MH8eZKbe9oJao\nB78H53T/QfZ2HSPq701T1ea5tHywHZ+/wWMV3GAx9jP0q3S14kYjFl/RxXU3\nUqgt/CH4qyHzoaiAIymzzuTaRWviiG+trhVxNge6ipPp28rV2oK9Yh3EFifm\nKpyhec0N2K+S7rm38uLWkOvCMKEpGrECDT9h0h/VsA9piOV8V+Y0GkWfeY8B\noAKlkZcliwEILudbH5eoPwj1dNg1cPTV8GBysSPQYQ0/xL+n3RwOduwYRb0D\n9VxL+hq75/1F+AWS8SURihNIBviiH6JIKM3V6NrKcrFqJU5D+EVMgZdcRz82\ncwXfgGqUJgdPJDJymEBbZg1vhOAWISnyBObXdUqoLKa8xDN0HuO7QPd2LzXO\nm0AH8pWpa/wyI2961T0BoMz1vHTIBTSOXSX22OAZqh1KFijH+uS+V1fTWESV\nwOpX\r\n=zKMP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFO1xI+Ihsn9sjPqsWFglAeKlWvBqE5m4/wbcdtg7J+9AiAsomC+RfT1pWcA5T/QOOkBAKydE6G2jqY8lUgisBwO7g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e54fc096_1542648608034_0.8527186057195781"},"_hasShrinkwrap":false},"1.1.0-alpha.f6da0219":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.f6da0219","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.f6da0219","@crave/farmblocks-theme":"^1.7.0-alpha.f6da0219","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.f6da0219","dist":{"shasum":"8729a261299bd3240e692c6e9c7877b1cecdae31","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.f6da0219.tgz","integrity":"sha512-rVDveMir6M6uVZw4M5Jae9m1PklLiiipwnuWhHNSvU7EKNRAJPML0CXk2G4vWBlr9sJ6WsnHEdA4mKH+MtM5bw==","fileCount":15,"unpackedSize":30474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb88+9CRA9TVsSAnZWagAAP6gP/2wqf7wm4GAxH7r6eMij\nPrnys8eND1yuaNpU/zDnDVCnu04CbuDdsobq+7ut7CK1Z6VSrGeWIyfId1kY\n9/EnZkwoXNSzj3zjW9qn5MjI0IWkqxoc0sJQz6Y/S5hXvoBfeDE3JliIymKM\nuIIs9K2py8gvavCqCU7vJTZ+Pe7VB1PqMwBip1CmtAIdLx4eT1TtATRPS6Jr\nAJ20fIW/f3HSRVlpPWXWJTUiRu8ValSEPv7ASbqCCtR6GtQSHvWtmpgSjcGs\nU4lKdonaBli4I5kRyfJndnPFl1zae3/cf5sO0loRDM7HwCxagQtHj6vg9k1w\njoyP7c50B4hc87wEsIrpRN2w0NWHedS8NSnFfGmRJ4EbHIwdCnOI1ZKReWys\nJ+v4O+f6UhujsBbLVFLWKfMewU6hfZZZgeiQtw1LRimH+kIfZbzPqmjkhi/1\nYrKawWPic2A1JChdHjexMMFYuzaomCTVstxhiYvXmVkqHv0X/ZXpFXqQHClW\nEe8BgMN6vrgM/63PamymW0yD/GF3NGX7SWj/nkDKQ6/GBXh5ptM+I3PnWe4g\nkxzNn3f9GqxxETBG+PLM7EXyK4zKqOK0Z7EgtUkIYp4IhwRF+vYcbgZdR7kc\n3y3jRdZZ8PLhZWKRLPfF1bujVSdz+1UM5tpI8Tma5AXSl5XN/DrJR3JUkpSb\nvn8q\r\n=8Xel\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnfUjEWuakJ1vcOmaJPzGgwn91Kva7qcdQkcmE/0AlwwIgX1b2PF2ctCuCnVZXIZVWLXmD5cqYND+CpQI59bIzgKs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.f6da0219_1542705084936_0.7644441463821527"},"_hasShrinkwrap":false},"1.0.4":{"name":"@crave/farmblocks-dropdown","version":"1.0.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.1","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.4","dist":{"shasum":"ce5cba3ae64ec8c5d247679f095483b936e71ae9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.4.tgz","integrity":"sha512-k4BSBphY3D9wlFpQ1/mq3p5k0LNt1EtVeDXYGke4CDHmsnbp+qps1F63NSeTxBlakBNGNM8B2o1uoZeVYwhgiA==","fileCount":15,"unpackedSize":30385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9UAWCRA9TVsSAnZWagAAi9UP/RzTPGVVmJyCTtXrg1+3\n2NcmroUujBxtaTML/spAYAJXmvi3Re7KfsaWWMyiT0r38dJ/LmkPJP48kyn4\nqUodS88D4Omei5AMPx4ArEnS5v4W8bSDEXwyJ2M/5OkykIGaaSCW4vCWEIVg\n7KDfPg/w5g2OT5VBdAyaVt0AZs9GK2oESNGVfy4YfKQ2XKsRVX/1lZgkWHHk\nRevAcSZ26itoHX/sbgi9voqpMgYF42l3E9YH0HzcRDfyn5XY6Ha+WnO5D5H3\n+fPYGLeE9aSHEBcxn8DEWjunmjDTwiImO8mYAk2mqogRDTGo+FFtrIYJ+dAg\nZRktIaQnWAhKiaHozNw8OxZeks8n9lmT2W8vUps1csz4xVaCEu1hKDAuhAdX\ntVcG9PKrLguGUAuG0wIUekaeE1Kc16BGJHBCgJLggzOJ3Vkp/LDdKja/Y2+6\nUKu4oBIx9GdSkU8gTRSG74LGLygLBTEG7EllvlAwTLbEsyOvr5oxO7X59egg\n8hztCwfFYVmyZE48N1c8O2aKxCCdycF1G+rVu7kbHBHl2pjkSjcuXDs+438I\nPBNOuWJre/I6fa05yV9pxJfw7PFfFOwl/5MSYhpzRdEr9s0I9aKU94RgVnev\nO7ODZC/3BT9h2F39tZj96RmSAyrM2yjLbeevOdOqDH4zfuJn8Ez2mjxgp5V4\nfZzP\r\n=/oUX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdpODWSD+w0H9uOflECdpoA3ESqeTfNQhqi1cHSRgKpAiAUdpp6uy/FtnA6TG7RtB06qe08DHiLBGlk9rqenXTDFg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.4_1542799381335_0.13668989232040696"},"_hasShrinkwrap":false},"1.1.0-alpha.6d6d14f7":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.6d6d14f7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.6d6d14f7","@crave/farmblocks-theme":"^1.7.0-alpha.6d6d14f7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.6d6d14f7","dist":{"shasum":"1383a148f40ea05c66bcab388d88843f7e8b258d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.6d6d14f7.tgz","integrity":"sha512-3tAJMQ/iF9edQIBmEARc/nm6sBaN1bLlnQ6mqNURXgCk/97B2W+FhfsPahUe3PXFXVW6JeNR6CNcz2Nx00AHOQ==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9UHhCRA9TVsSAnZWagAADpIP/2blxPTgC0WWSDfGrc3d\n2HZv9t/Z6+jfk5/LZ4SJ/8H1Dq4C2GlhPAVJJeOK4tly3qdjXqxbjJwV/eQ9\nNRiciNttTRSsflDzkVTjq9V9Fmee47w492scoa9xm0p6L0Bmkfa6jnHtadCC\nalKb5CzhGjeYO+Gi+oZxcsOnMzP6DGCS1QOJWe9kDEyyBSWR9c1yaLet3RkV\nl73nPqOXc6krgD1m3WR46hNTQhVDk5oY4qM9C2fWKmKMS5XjgKlxwYcBQtMA\nGcha4ocGcxifi4QRPxGb0wBQQuOL8ukUKO4QtUVRmhKSTpVJ+x7mgYx3NWpr\nrzKqclGIME1zG+IPhf+bB/9V7V+6HZfRI6SNjJswvdTYTePD+z6IUa7yRLKx\nUqI70g3xiCZjPVo62aYzj3WIuAD1cBXcZnqub/Qj7mAISurmxbvsIjx2FwUD\nQUFD2FCfv9Ize/5W0m53jBOouXZ7UJc+KTy4x8139Nk0lytzfngxJzvL8ClE\nh/Lz4N2MgQKQoDD8JU6imUA5Zr2A1w6DdTD9Slth7gtUGN/6IbKrPiA62QOY\nSXMubIhkj31exa+mxRWq0+8n1S0qbJCntN8dt4J3Fz/qBYe+ujgFJu4kqYqJ\na6vudxYkmHqjUjKqYMUj5sIMmYFIcvfui4XtWMFYmxrYDkc0a1RHD0J5zl8x\nAP82\r\n=ySGC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuA7WmuOLxSPyoWg2peByFWdSPbz7VHyGmYRxmJPBdogIgBuuDCPDpE4Mu2vEI52/T1du0uybkyCE27DsYFbJ8gNc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.6d6d14f7_1542799840376_0.7427822468523502"},"_hasShrinkwrap":false},"1.1.0-alpha.6b2101dd":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.6b2101dd","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.6b2101dd","@crave/farmblocks-theme":"^1.7.0-alpha.6b2101dd","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.6b2101dd","dist":{"shasum":"b5456f8f4da015ae608080100e6493378205db17","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.6b2101dd.tgz","integrity":"sha512-A0AQ3yMjdgfJkiXAb5Z39Vn+tuAW472jkY/ptU1o3L4iwh+XgHDvXGecUDA+uJJ0UgnAwCE/eaK8lI2ODxs0dA==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9awOCRA9TVsSAnZWagAAnEEP/02hubjfTM4uV82Foqc4\noUYyZ1L6woPRgcEE9YtAfah0jsVgq/DjrOxtm1ktRpVt4yITsXzbCIHw1b87\nEEYI2B/4S03tWXRt6ncRMO4A9ZS+M4GfiWp//MJyEIAp42OeMN/rhAVEdbgD\n/UqSs7YNbQpFcAtZvXHLjALnsW3JvN5GN7wtM/vMV5F5X9JQcLbdtn3nrsrS\nK3PjTuLCR+ivjyA4+r5Jc5mwRcLScNejGjF0QVE1ndQ1Y2wDyBcWg4f0emgV\nDPUPfh6ioOyfSdXzcfbmpmYbVJvpDEL6Ysg9w4MEWfVp0VgSmtpxIvP6u2zM\nsQAo/dzg3UIQenEPjbS5lA+stkdjyoAsos3DeFkauK6aUgMmrFNVBIZqqiku\nypVSUVDDmhXHyeCj1VxhYgXHlvi/d4USff4ghQQpe4feiGuVpyMiayEBZ7rZ\nfy3cgbsIhfjWzVGArOqeJTo7M3eiuBRtchlfIiEbijsoKe9IHggXwgM5Fu03\nM0oXMWYCKOeInK9LzfJOtkWZavkJIXsN9YhVCalHrHww45qG8yXhM1FBLIFq\n3FBTKFxy5qx7f5HutSV+H48fpC5JZEgD//OdaWdlLo6rJhUh1jYKmBsrsyWz\nMcVew9/lzDI8TEfVxLCp3fZY90+XKYAZTtlLBHoi4pqpTR7VITlTi6WExTfu\nlumH\r\n=7eR8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmf23k3ToKE6ZYmWvcN08M6d/P5ENgngoAuhnSWX0/oQIgZQ14K2089+eR0kXZRxbuETp8ZkygZWrtfWSqQcMUJ7g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.6b2101dd_1542827021650_0.19952339715765066"},"_hasShrinkwrap":false},"1.1.0-alpha.74cf6c51":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.74cf6c51","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.74cf6c51","@crave/farmblocks-theme":"^1.7.0-alpha.74cf6c51","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.74cf6c51","dist":{"shasum":"7672d0a9337f7f3229434fd4d32c4f19808ed34f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.74cf6c51.tgz","integrity":"sha512-7TylZsie7WM8JP29tGGj208D8LsRowqnXUXMHJNhql20NDSkTf8mi8bL04U0xZSuUYiBdQI4Qgli7JLEvHiqOw==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9viOCRA9TVsSAnZWagAAxvAP/iHXpcGMfknE069cRYv0\n2UPZDKL+z2uAy+P+7nekyRTwRnkge8fUM1NdKQ8Y5Da09wV776/ltga4hoKf\nafhHAciBa+rHB9HfUYPH2lnVS9xb+gA/Vhy3oP2RZ4O/A+003GGPnEJq+xIF\nQaQA5nbhnKPTqFiRh+n8VZGkum2nL5vbJzImnoH4wMhu1e2HXqQ1N5SGK3bD\nl64+vDYKxvp29RiMdF2SMStqh9MsjLr4WcJ4DSOk6yKqrrl8l+iZ96FXi04U\ngN4t3oGuJ5dfRWpg9GTHHqJw6p4ZrPlbEqTejMenEIJz3YeA2Erg8jY4Znt2\neB4SplYnzvZizxtm8J8m0iy0BTNogekP8PUW8gohfl9eInZQcZXaaSnX9tCp\nHVaYhMVioD82UiJpYGGhzVI2EG9pdevVCHuec0ocjS7zO98JZsWOuCGvQiZg\n4IurCuRyJx+QJcVIMB9P7KRGqh7Xn6WM9xDIvkq/+/tXEALsf/aRXsLyAb+5\nYEp3o84Vglcli9rO9W963nmgVf7jVwrdrbAT6So7y9vFTJIiJ7pI0nqXB8MQ\nPMGce7TDcTby7a+Xxb39VQ4n0F/ZQ5W9tdybs9V2clSbW/C9U024Yt4lQEOR\nBH35VMVX7ZgB6fD4El7NkKYjXCu+uY/yOJ/nt41+vc3ZOUm6/ykE3eqB3Fo6\nEH79\r\n=YilK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuoyU+sFdys0TpohGWD7yzciJ3MQjkHyAsBZ5XHSzP0AiAeNvIH4bZE6vfEg0G4D7y4BmplWRLUniT0N3fJAeDHWw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.74cf6c51_1542912141558_0.6982546328449224"},"_hasShrinkwrap":false},"1.1.0-alpha.c6940d9e":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.c6940d9e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.c6940d9e","@crave/farmblocks-theme":"^1.7.0-alpha.c6940d9e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.c6940d9e","dist":{"shasum":"421b8d8bd40c89dc1fcec70e914e28b257ea0fb3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.c6940d9e.tgz","integrity":"sha512-WKEmTKp87JXPInasGt2aVqytR8jqG1VmXxoPjrSiNxXKXhFu/xuiEo2rBCr6pXuAaqE0s6Fk20KqSIQAuj9IRA==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+v3pCRA9TVsSAnZWagAAToEP/2hzyt0pLRLzOdKkcA+w\nwgbshEL04OVuW888ku7uefJKNimDjYl0SYrg3UEeU7cgCB+HUWiku6+CCmvX\nXMoplHwW6rFeiszFBn/4wXlZSA/fw7m30grnFNUXo6LMcDAYdgMasVZW5Zjx\nEZUpIAJFShLOMa+T4DHEfok1v7sy4wHAw/2ltWJyG6QOhlVX2ZxAuZ0NQ8si\nkljrQ5D3aHpvxJbMjV2q6+3Pvq5cwGZ+eQ2YrKFBHe8B8F8C+GUHifaYxhQC\nD20W5XloVe9Iwzknm+R2T6U0ewTDvsmiQbtm1ONSO8q0SsKkl9zQglcRHOPb\nePX/At6X0YA/XigUigsH8p50occOLsoHZ1NyMU2B7Geq+K/95CrrbqObBDw6\nUVuR0qEUqfLG6KxCsHxK7SVgKUyI2JhpXAV2pulNGHjNbxeqH5CM8QL5xAH7\n9ZjE6mtluhIhnbDnMHVuSSczBp6H1bjacKdC+T1zFzPkptxemaeK0nqPrCPS\nnDBNZ32t0s3cljfyvLj5EKsAiM8hlXwFQD0F4wsKJaV6E88UPAT2zfpGKQLL\nO84Hi65f9eVkbS4tBSDlB0uJ2FfCOWwEn3MRbHd9+T9Fp8itRWZPdbOqPVmp\nVRyGrKdASMg2OnUD1VuTnVIN3uRvyiimCbRbVQk9i5xjurmKVt5feqM2GrD0\nyKOD\r\n=ClNw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGXmjkxfmEO6kpJ8w24lpzXLgs+uABGSQMvjf4SznyMAiAa/hfcupHwerx5Ch7D1R2dalua17jlSuRjVMuUvTP1DA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.c6940d9e_1543175656676_0.11481335065341569"},"_hasShrinkwrap":false},"1.1.0-alpha.74f71aaa":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.74f71aaa","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.74f71aaa","@crave/farmblocks-theme":"^1.7.0-alpha.74f71aaa","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.74f71aaa","dist":{"shasum":"b9c8170c71f0d4985786740a6ae08b04802d4345","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.74f71aaa.tgz","integrity":"sha512-Fi6+YpqhOURiBeBKHZgJ6eFT3QL/KxHVCspwp0WPBDknMAaKq0xaTiMaWOJKhJe3m8ePLDIPGRFxb7xyp1wBIg==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/UxLCRA9TVsSAnZWagAAz1wP+wdjXXV5a2jBQ78RPDin\ncLBZfavYzg6EYfs5UsiPLHk8xQOdDoJRwzD8V9c+W3k1cxo5GszbJT5i8S4z\nMq0atwFUitvdBrGgbFSNgzMRpbXJIQqUL+movmsg0vJ0UkKv2sssNSljN62c\nbdl6S0ViD3Beodr6BZpQZwFeJcd+qbaClSePTT+FdE3CiB9lrcpMiMvmfgea\nXaw0wgrIZlvH2M1L/yw/PxDx3eRobnwYt7ZcOZc2rwokbHURrDWy0lg4aMbR\n1hjPyyVQGzE0wfd7Iu+EgMbI7ZMM4MKsQJRd83aWuGJVrZBRXECKhxrKyzFT\nlQhTsp4zeFfJNCv7u1DURebVZPdL84+wjxvwAAtcaNK88HD4a3MrpMAgctbn\ndsKdjEDe6MCJTBqx8guzQI2O2/gD2HR/0aQNi/5vWJ8grvEc9cOg3tBB8Z+Q\nH7e3tEyqFMtyT7c7DtY6/hZOm1KWbVu7lEvAkTAgOhEy7/uoWk4INoTqqT+c\n3efbAa7rU6TqNV1zYQSNabMHuay8TWVCV0ciD3+9LSLkg/tMIWVoBHQpAMkh\n7azCXsaTiXBA1SkvxZi5Xi3wJhODcmQpvvjNFk4ucF1wCzoNdllZkzKKlWUC\nN17kAdC4je6HDDVBXgIPdPTzOu5jt6X9irlkqzhpi13Sh3WbeiEg2aSAxhV6\ngu8+\r\n=Voae\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN9xaFuGN89WfmxrG9U6pEDaF8bahstE0q49me6V3eAgIga+RqGY2VPvKebzMoV5MbUcuKq3DUKAOP0eMtMOnjsbc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.74f71aaa_1543326794402_0.8553253745199785"},"_hasShrinkwrap":false},"1.1.0-alpha.b2965f0b":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.b2965f0b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.b2965f0b","@crave/farmblocks-theme":"^1.7.0-alpha.b2965f0b","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.b2965f0b","dist":{"shasum":"2b616cfe504aa3a0600676e29ad2224ab4ef9910","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.b2965f0b.tgz","integrity":"sha512-LnW9qCexjSfuEvwfq//KE0ozZANwlN238J3c+I5BTanzmiZXv9OgH55xc3vQ6LPK6pHz8egXtYRkP4zGDfj3Dw==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/VhvCRA9TVsSAnZWagAAk5sP/0cU+Gy9mv17okytOLV3\nYO7j7uXv+TYhPQSLVQgzdugzmoRr4MZKFSFpmvngR0agWbi+O3E5kk0ffHzB\nWU9uRdD5TZNsF5IZ6k3V9aGLb0eJJiNTJtCPAwiwamE7FXbqfSjbjXfhEh9k\niRGLBixdsfsq1k80PkppS1wP+AqBJTrp2BGhQi+i++Ojmoj7gMdDOjrRgbMT\nibk9PfKlhYMfltZNd6CDhYHly2oprCwq4C0U4vhLNjY18BzjPFrTzrnxes0o\nlfQc5M/yhXbHXBr/l6OBMp5+MsjeoEDXk1O99Y5vJMZ5oUMaz4iMPcbs/R3Z\n4VBpd9UZvEf1KuEvqAOUXbk19XN2/9vZhK+7mH+AE9iFM/CEsZmNE3L/6Erj\nsSz1jMojQfp1v7qf7q7TBpyJEKk5kq0neY0t7gCw5/uYoA28YACD/iQ7pyQX\nbmExHDalCtj+OKsFnquBO6HfnIhcKOFlGCED1aNDn5U/ZBJmNYpGz9691OrI\nu+2cY5t8aAMh6eewIrgcJilDWwOX0DXw3XNl8ZLsU+pSLb2ZGpEHPl6pmdSe\nvsYmIwHG+B4V/1MOcS0AJPlXadAfhe+XWZRD/Gm4OHvxq/whIv5qUTIR+987\nsw2m+Cv+vIZEhusIAAdEGd7dY/JtthWEITXmoNRwE8P7/mL1BPKBH8q+gL+G\nrFo7\r\n=FMC+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeyGZwWn5Ea3tzV6UV0LxmpP4t7JRrjiYUuSWHLdXrmgIgGG/Ma4u4QTQrUGpSycEvbfyOdPmPrErddW/2ljyM1Kw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.b2965f0b_1543329903268_0.7891885812480717"},"_hasShrinkwrap":false},"1.1.0-alpha.cdd34101":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.cdd34101","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.cdd34101","@crave/farmblocks-theme":"^1.7.0-alpha.cdd34101","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.cdd34101","dist":{"shasum":"5717235f98775aacb265b5795a78f95f88ba7e88","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.cdd34101.tgz","integrity":"sha512-QfrCQcBGFCjkda6dA/XPn19qqcVKrjhW24un+jxo7UI/SIKT6WNh1ut58nNJw9xUxQH4gMwuz/6oRdzLuoyLVw==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/Z9CCRA9TVsSAnZWagAA/ggP/iOk6YxTADvyPKMVYcQL\nMgs+d0x4lcxHMoKklUgQYVM4Pa3z4GGHWx8lJyi+gr0Dq2AU4nTAvbLyhyZK\nZ32cc1yDgbuxWZqdQUN9w6jNyLXAIaQdQnX+gAzPz2shT6Lq1iT7Sh4EiVM1\nlatSxS0J1Salch2KU5tpy23cTMihixSzNlbFdjgDvKFhsTsNJrqjbStHKRyf\nUSsIVnJJ4lL570BmpbOADvR1C4xrNkJKFN8FVVms2Zrc+BdngPCmnf1/Qgff\nSs9sGun3zFELjWctSgjZFHrIit8EI5J4t+uD/KcFlaS+v2I27vehN4HvRZWt\nj43zOqdFvPXv6VMW2Gzqbfhr7eBRU3ZNYtkuFYAbWxaJMsfdte9c8c+1pj2m\nlwaQQD+j2mfp02bpxolUgkyD7fEfUS2VM+LcR3OHDGKoM0RCCe5zt7re3zeP\nH3XPRgL0tPQrNU8HDPVfdx/8+nnINCDVWXPPuarkYP0NwISytbTDCbz7nsms\nri38hs6qp8FKSx/0Zl2ZJ8nz74g9rezXLbFTrz2Mn/hBTNJ6FrPPznWSbCQl\nq7WPsfLDJaxtbY/EXobxedqmLB1DM/TXfRcCdI8A7XE06AfnuXl/BLs4JBAM\naI14YxvPJgiNj5ugdwYjCwrLuUt75u5rO4vf3ILYBZUI89w2od2zjozo+jOU\n+Ifj\r\n=WFNN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJij/lwQFJb3GfR6e6Qfe6KvQneeLHxNI8BJPRtMF1jwIhAOTpCfv5mnfy0oRN0bHyNV0rpzZDDPc/hnkqPecBh8rp"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.cdd34101_1543348033888_0.9502205242937203"},"_hasShrinkwrap":false},"1.1.0-alpha.2f7f3058":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.2f7f3058","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.2f7f3058","@crave/farmblocks-theme":"^1.7.0-alpha.2f7f3058","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.2f7f3058","dist":{"shasum":"5a96eed2256935d0956cb23057aeb7fe559852f3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.2f7f3058.tgz","integrity":"sha512-nqqzt3B9sq0hv1mZjIBIs7Nnv/0Sr3m+Aq3NpRvraGCsACtXkg+NphQno39Z2XgqM58rSuVvU1aQWIbdh7XcVA==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/oQuCRA9TVsSAnZWagAA+8AQAKRj74cJDkX1gZi1eeXf\ndsNcQ0jiF3iFsXNROQtod3Eda6n6WzcVbdBp1TvAPkt8bjXtO/+CRIyUkPxb\njTfXm4JT/zQrjqZB9zoT5dN1cytamJbQOqF5HUOXi3vlF85EApr9Mjq2NmaX\nDHIlg5QPX3QeHGQpMkNvPHxf/y+gPHvGl/6uY3c45OIxXI6jdVeJzy50049g\n+BOJTAkwEnGPGlvtdDT+yice+5XVvDPwyV5pxF+dPx2PTXUdKZmv0D3X3O4U\nJxAOi9hbXa8soYrmNEceDbbbM8lISd86w9Cj8Tk5/Nc1nSs/91aI8SRossLD\nIp/v7ansZghV/EZubkUuqs7vrdi7kmR6U7JvJYh9wZM21bexylIseV2KE9bs\nJuiLSVrXb/9nVKdAaqyjzIxFHrjrN4k3718XhSNVcyaJbn8BhyIEiV/DkueO\n7EckxUou2FStTpSLBgQEGfriYcZaFXE7YeF9jUeYr0HNn4FUTDH257xYeG7/\nZuignGpnieP5dcHcwOKxcQqCjInAZ6VqIJz4KNYvonCCshFSb91H9dvxHSwY\nOL3JvKuC5rRR1kyWD7xXRihHIDRFz3blLHQzFEQGKXWovXOzLRqXIIFv1rF6\nCp3PgmDgEFipR96T7vHoVMnszdC+3saThxxuia6HBVpxkRQpAeKGMqdnAaFr\nWB9f\r\n=Abkx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8T0sHE3oIb6rHkc012it9IFOUEdNZnuCtVh9Ahfty8gIgBA3AC8+5TbhmvI1dpwrzKPhkqBPoZ/wL6q3b6mIQFQc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.2f7f3058_1543406637875_0.8470368951318754"},"_hasShrinkwrap":false},"1.1.0-alpha.8657e05c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.8657e05c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.8657e05c","@crave/farmblocks-theme":"^1.7.0-alpha.8657e05c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.8657e05c","dist":{"shasum":"cf0e2dd3f6718f4ff060b699bccb0cee3d3412b4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.8657e05c.tgz","integrity":"sha512-uqwd6cyskOp+T6lGLf6mqrJvQKiFtABZK/YNnQfO+OFflvExJDdL7q/w2m7jtwbzPsj8KS1Q1abcNg8zb1+huQ==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/sFHCRA9TVsSAnZWagAAFiAQAJk3/eCRlzdADI5SDIId\nV4BPpoWaWZKPMNSrh+kpwZV145U15ombwjxYGx96CfrGPbR/0lkxtialjvoY\n2u8Lz0PfwvS+tctaZA6sSojTG9RiJYzWdupHG7h9kgnxrgp9mhpHg/ZHSgg8\n5ku8fuwGK42II7IGNy+n4axTdaDNfHP45MLjFE1D3TrjBlBDo9Ds6W0SqvfG\nFp9GudUIlqvA1rOhWJPWQ+8SGxjjfpi4NwDi5RRWSMp6NEWKCxti5nFBhSI3\ndoPK55GAkejolt5c4Z9O4o3fGo41vW3hj/k9QOXbFXH280redmjNOUhlGxtW\n8GRBjvtSE6fPUxYj0SInoNs84qoALK9PjnKjnZGoK87AEM3/mXFN/hGMRZyn\ndWpTyV32kRZ+h3/M0A8MAkqqxehvK4UtRpR2FrAU1JCFUe/7nN2PEvJvA61W\nW+RXGGmQ9IpoCjdA0DyhU6stJUEpkKMewdGiNtmCgV4wpgzcDhQIBI5ak+MV\n6XaryeCEMoX2gsSjwrSPSn6vwsAoRJ8yJ0c/0GkWSvtRFDHxjfWARl50UPq3\nca0AnBjG66SDLxBT+k7rTUhTxoS5AMkzfTDuTPyvBnAt9fVJLJ7E8UjOdEnC\nGYNmTl/CHRfjwuLDxz5MnDAex7v/Ldsa2DieatL7utektm+9djl8Zwc+n4dk\nSHHy\r\n=Xwrl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFN4e/BSLgj1qlEupKQ7aytz26zV3WF+YD8wpL4ZDx00AiEArN9AtNY22Wxh1cakpE8JHpRh3rconHmxEhNT623Avi0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.8657e05c_1543422279034_0.04946540140512656"},"_hasShrinkwrap":false},"1.1.0-alpha.dd5f7476":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.dd5f7476","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.dd5f7476","@crave/farmblocks-theme":"^1.7.0-alpha.dd5f7476","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.dd5f7476","dist":{"shasum":"f50190cb3bd3b7106899fdd0046ac1e3481a9b28","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.dd5f7476.tgz","integrity":"sha512-psjXKENqPmpnEjf5F8nKS2SCIK0sI6rRyoqG7bKvblySksHHnnkEqE/gD7Odstj4ZVdxznjIsSIrWzjbpltfww==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/w3sCRA9TVsSAnZWagAAYz4P/ihECuXPt4AV++iDV8eH\nHAThmbaRiW12EK/ZoRArSpEfBUVrBJkFobNr5dxYRq8wFilQpjzT9i28JS9t\n58klnBPiZCJOLBjwwMn7zkvZob/17opBEWtOrVBc3Eke0XGuZxmlDyWyq9fY\nlgiaD1o9Ci5ZgZyKxQl1eSdLM5KZ5+6XxkjtkHIBFo2WgMtj0WAC2I5xBxT4\nIaNO4hygFL7rpo3c1h4HnZWhq3wFiBNP5ZxHBOJKKed4Et0lSEOKTLWHVfES\nExM8CRy2+tooEXVMGbuEP6P820mhGEYA2Xj4evOUsRXX6VgR5HMgSE7A2A7B\nmgF7azlXeS8JDyD9iBFk2sqxW2ggQcjrbakLcDRjHVV25yJ+ZHaIeRu+jwMp\nqscSWAwUbpFogW9dY8ffh7/vWxgO/bjAu9PjOepvbInG1wje9/JxSGQRmYtu\nBBi6yUQcsgwvops+Y8SS8gtqR/dRhoTP8kmvm19B6jaMM17xQJA+PwNqoW5D\nzVpERv1Hic+hzj22qMDinH2cjCAaJ5cz+7NjBr4U84hgVLDwmCvVqJJ9AcdG\nG0GO7jXRPcnx51SEMea16IMXpYGNaKZXg/3yInIOUYdLRkkJuj1s2KZtCwFo\nJlw+nG4nUfxMx3wxhwHkbIdyeBNss7jGC8hurfU4ptcmmZQt4mw21dW1opVF\npptO\r\n=Vcr5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIChkRcif8PTX3UypqYUbeTy+qgkRk2YTg4dPVWHaO1/TAiEA8j0z4ViCVk+cLlB08+8Mii/FlsvYLHJmG6vDAzMK2+4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.dd5f7476_1543441899438_0.07948344105372018"},"_hasShrinkwrap":false},"1.1.0-alpha.e5a3180f":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e5a3180f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e5a3180f","@crave/farmblocks-theme":"^1.7.0-alpha.e5a3180f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e5a3180f","dist":{"shasum":"a0a6ec60ffaeb082f4e159a32a16aa148fa6535f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e5a3180f.tgz","integrity":"sha512-7zBMsXTnw6EwbkgEmAA2gqMYh2v5ggEI6pCm8BipfQVq5HKCW8VjruAITz9+YbLIhNBRVPeulF+Xkkve1xQFdw==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/xDuCRA9TVsSAnZWagAAmC4P/RjmYzGp9STazcepIjrc\nK+SIgF4VqoqVD8hfpgRQrMcFHLSqD2fL0nk+iFZZSYgmgWzGS1Wd0gR36D81\nammcl2hpmb7fN2VGlv6AiuvpxWD8PLMIAnFV3FFKvOvVUasXZza/bdKcWlMW\nyhH6xMIMi9mHjKbryAPWZhPohUiMobCNuyrkEDObvr7KI+5jRclZgDIgX8Xc\njXq+xtc3OUXjaVhCdnBaDVsf5mToH1N9ykn266kni7KYOgNJZNTUK7tigDOS\nKhz/fUrVGKXJ1oNzqI8ANE4JDviO2/dNKolDHWhFM9px7kqNEyAxCBcOg3V9\nFgYAmJkpEOZSzC3MqXZxV8+JvtFhM927C6wgpF471IVCihmpbkCDRaVglIJq\nVw6Qs2fN9qq0IhCarBKHI0w1i3Uno0VZELGn5nHHjI8zJ/7SaPMhxQFvIUOj\nTFdUNJmXI8wIu2RWCCAZ6XsotHKm/LnTNb2MbCyXr5OObKZZ71Ms7zXvFC19\n8BvESy8plIV3CuJMVB+lFiKwfXgN88GWZLnW3blVFiO1xlPXsFTm+EC0ZHQA\nZHk19YvadfF2XmIKyVYzie5MxCPi/tbI44t/mKPmtTPm9J7l7WiY52xqNCTX\nETrFwExJGa+sJPb3l+P5qVotDJPR4mpAR1WNsVT7dWmLeaI+3RN3uH4Antth\nolhK\r\n=GeA5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5B1jnnq+gIeZ7IKfdPWhXR0HhMUzjlw//6zNs2LpX5wIgHCmwR8frexw6ow5s+RvCyBfcMWLw/y3pzZjg9ERcPaw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e5a3180f_1543442669614_0.9813052242848024"},"_hasShrinkwrap":false},"1.1.0-alpha.d4c07955":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.d4c07955","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.d4c07955","@crave/farmblocks-theme":"^1.7.0-alpha.d4c07955","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.d4c07955","dist":{"shasum":"fba043f12bf1464d11a83674f81df8de7b165e55","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.d4c07955.tgz","integrity":"sha512-m08jgm0HiudEOvVm6bwgIe5HuGZBDHwos8phxDw60fsRQ02+hvepr75HChtQ5mBtkdC754l2oBLmFOpVS2cXmA==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/+FnCRA9TVsSAnZWagAAMXsP/As6qtWo2nyTXC43PsF5\nsha+tSih+3wtdDVpw/hpM7ov6Jm8DpYlc9wpEyKqGtXk+89Xbh/KEB6g/PdQ\nEIbPNuJVGegJjfvgaTG/92flNTWPzb35r0BO4xmEyQTyQjscT4brIttl3AdU\neRhKqTa83yCJiGOp+Wl8Ril9A/WRDx5auPgNSbi0bSmyNVCg673N1Kn9HWAJ\ndPGu0Q3ziOWBGsOrD5DMoNqOINRLG0bulBrG38kJzPDmVcTERwxfd7aXeQIf\nHPlmQ8eaoRrX6wIBDOAPJEMkUdPjM9Y8/P6Sw5cdSbHy+5Sle3dPVqH9ww9a\nPws650JzbsyvHBNOR9+BxX8soNX1G8RKY0DpJVcQ3pkgKVlywRM+8JJvWAbv\nGlKm2yErqdrsGkLC9lZFodYX0+rhygrotMpEwnGd0/7y+OK9yT8LtBU+FbTv\nJzmHMIiU80iAXiKZTyK/FCDZpc3a7/yKeKBYDCb/l17o/xzbh3I9oqMWoCKi\nhfIcAaP7Sw3m0fRztAe7xFSK6abC0ycm7Oj/r3MwVwRMaFnmYJdhLgBtNIVk\nH1YIQvH15UUmyVX1TuIdGMAcXR9ANiKUlyH/7x+g9dVB7XISwU9fiG34w5GI\nf1iCDJk9AfByNKkOvf8c2jA2ECSdgAiQnoaIqlDvOW/Y73jvefCEhCyGCiYw\nmMCg\r\n=8pAC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBg6bGSIUdHawLjbsUIEvVlVUrog4O6K7lIZu6wyGxnlAiB16y3+7eennRM2qG6wTgcHyNkz6WHYLpwa1YYeEVxv8g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.d4c07955_1543496039360_0.903764256460865"},"_hasShrinkwrap":false},"1.1.0-alpha.e03c646f":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e03c646f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e03c646f","@crave/farmblocks-theme":"^1.7.0-alpha.e03c646f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e03c646f","dist":{"shasum":"1238f385935d149ac0b9c359d14ea1126a68f7e4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e03c646f.tgz","integrity":"sha512-J2yDLXgNcTKpuPmWMqPnjN7Eyg1CvD+EHzKC0mABg+LlMr8evpKQkbahxlmAMcSAQZLanPMHaOHyD+yeBr7GGw==","fileCount":15,"unpackedSize":30708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb//PqCRA9TVsSAnZWagAAznIP/0UxDE3tgfhK+GMW8Jyy\ntkEaHA5cQ7qt6kTvHEv4A1bME1m4+STPpjdgcnZRH7h5jI/QXlAbrtd+xH4q\nH7otNpheCOG3FJKlfLDSGbonHMMQ6oA3n/MjFj5G207uShzqZlouiUEEQF0L\nXA789zn3rS6CZYLpFknyZZU9XGruiw3jZQLXGgw9Hp6krBzralD1SLc8L3Vr\nRhSm/Lavyu1i98/VYcfpcEIqw+bJUJ4vFcBL3BFSzEU+eIgpd78TVhzyutRv\nBSKl3zfYq+4pdxkReJVJ98iSLdTZr2pdprPz1l2UijyVCfjDTwUPPmosdMYI\nYQ72GRa36oP/1o//ZTmX+xLdGC2SCuqOcz8cSu/V1o/qR2e4gukDwmwgiVGY\nbjAlYLz4vJbMiVsfke5HR3VXlERrz6az7TI4k5gVWSyCYlvgoqSgMKQP6x4A\nk6MdVOvy7usAjqx7DRDkPGr9hu1Rh1sWIcTl3NCzNeY/XZbl0z4eHzDB8SjG\nMOL0hIPlnDpX2KGNP3P56DeLN+m2akqW1HIjOGUhEE29Z9uk0wGpUrHJHfPs\nKLvzeVWxeinIm4aEwI053ubcJja+A7kEgShGL6kdIljmgNljCx/wqcFYB1Ve\nqdS1msg2qZ0yFiQIPJXKgEayXXWb6WJ8ni/JrvX+UCQd7JkQPyo33f7c2pq8\nzqYv\r\n=rgyH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYDFHBrU7uuRsAS9AGxxUEecgnZHB75ezQo5LjOeqKfAiEAjDaGNby5p8eV/F2Aj/UEnuaf1WYBeFBT/cvqOiTGgE4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e03c646f_1543500777274_0.4530602956340197"},"_hasShrinkwrap":false},"1.0.5":{"name":"@crave/farmblocks-dropdown","version":"1.0.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.2","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.5","dist":{"shasum":"5f0cf85e2c34c881b0fe8c358dd15014e4b12f48","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.5.tgz","integrity":"sha512-0EHOqyhR6qULCz4hwIX4cgeRyZ4HGFPXhrPlTbpgx5UgwifhDFqE/Bows/GpXvApb3MgMCexdp82wyxxWSFejQ==","fileCount":15,"unpackedSize":30619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAAtQCRA9TVsSAnZWagAAtlsQAJrQ1jfqxO0nSO0xZzuh\nEhTAb6VlM0Inw78iF6jzgyhOnQDJX9+eGwq579Sf57A4iLwnLUW9R5bviG2B\nPGGXLsjAqWbpqjNFYeQsmlls4cuQ3TwQhZvIFz3he152+PBrzs5c1B9Sk3uc\nxxb0+/Yyp3eyBxRNZ8vIW3PU4uRs28QLaQS2Jtq1so6AaWu9u167nu98t5wq\n7LL1e00gv6+9+MEFJ8at+6+bySs84A/H+CDnhny7bL7FrVOgSakW1nHPyyNh\nbLaK3U7Lak7KdUt+t18KAHFbLZhDdK3LdxwuTIz/aIGIooHhhMj6NidA3Tt7\nohrM/d2EcSMedjTCCKiHJJdvUzqkd6GLkQviGwoofwrvd6RSFgZ/U5bPqQ2b\ngkpls8L20gnFi5mdcjTi8726Et3kU2M8QDDQc/uSgd/g6ZuPBHt318Q9Wa7X\nNXDUIdFZiOgUUD2I+MtiCPx/qTMrafdrmvFRXPUh+TPXNrI713Bpx2yxk+dZ\nHwzTYfo4+fI4C1h5mtqzh/vWPcYX7XASc41g1FcptUeiuufhTdDvI1tbdXJ7\nGFCggyjJN2WspbAy2mU7ZFyuSD4vZwe69U5GfX59EtPU83prwFDSEKywxrwt\n/9QCEgGbo479MTlIF3e+4goRcmiMittTDJPoyWaq6iu+HUGqJVWVIEu5qbJg\nu4Tp\r\n=BK+m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMTOcFS5woZk+FQzkEzSu3srHR4zpt5N9j10H1lXnrwAIgAjC5MtIIybNGIXWGfGtp4fXGvf/j9LjmZDJSUwzkRGo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.5_1543506767385_0.82027339277925"},"_hasShrinkwrap":false},"1.1.0-alpha.a11b54b6":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a11b54b6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.a11b54b6","@crave/farmblocks-theme":"^1.7.0-alpha.a11b54b6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a11b54b6","dist":{"shasum":"20349a052c22c0d737d5b3cd121854d5433ffa13","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a11b54b6.tgz","integrity":"sha512-bTnfvxQP2DrjgZ8jfMrh3bocHbBlWfIbK08UWDB9IGR9MBCDrIyaWIjU9U/nHja2B98L+Y53WXOjx9F4avhopA==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAKZcCRA9TVsSAnZWagAAYNQQAJLFQgoDjXoBUgFOA+3a\ntvpTNbgB/Y1i+imJhjpuePaIRMWr1QUIBRQj/yGB/fkjqgNInd2daCMVWib3\nbtmUdfHtkWSDrx2KV5LQsGKCp3nyw70ADE+2Cf5u0xLKIVcbQJWHM/YBt7uo\n/0KJsooKpC3bh9fyJUyXeOJY8UFcaWodiGFQ/UdaovtH/OS3Up03YvsXNH2k\no2BwyKV0YcSieV8xaw5vmQGXRHz87mPXyh9C8bCagEBkHbPwxHK0xaKB09+U\nLDs4fPkf8bismk7DlOhb35CPgoYXhnaXhwdPEgfSeW/p0DBk4Qea7JZqYtg1\nu94bEhMkcJwZUhRQ+TxD1rgxOj0W+qNoMqO1UXrNkij4K1nh9DoaSMYpHzy7\nMS9vffd4mXVBBSefpDbrFCbcuGpMf+JgQyPL8fhUQOzMRL/upL5r8h/SMMce\nhNEaWbFNNir7smKLhzDDmQzDBcIqnwboukuYyuzX5J0aSj5o/HJp8QLJsbLY\nytWwYVMP7PL4bg20Xbc2nYCpgAANmvq68X1fXomv8KuoMvxGlxM0tC6xXsox\nH9LDxqgadI+NoytMG4QCY2EdlqKLKeakwcCOus6rEyR09nggijF6ax8vBAp7\nXqQZowhuonEH4WG8Pa5ts6lmFYzFOJPAbOdhcgauQFQghKczvCpJFgw2mz/G\nddrk\r\n=/xVw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoRBi/888BdUArci10wPrinIulnBVuCP/GTEPTC+dlWAiBY8XCu07KYdl/u5G8Mq6ZSB0u9aN/tqt53o8kq+juQpw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a11b54b6_1543546459509_0.6493108255809497"},"_hasShrinkwrap":false},"1.1.0-alpha.e7623c67":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e7623c67","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e7623c67","@crave/farmblocks-theme":"^1.7.0-alpha.e7623c67","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e7623c67","dist":{"shasum":"8ac685eb5c50f693fa24b16a59efb11f50d584bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e7623c67.tgz","integrity":"sha512-SKgatIRfThtlJYPTJIrnKsLLBrSOn3P+h4i53hTw86k9zyAEoWbcTdzOCOqouKLsAJD9kgzFbRWcVGnY87M98w==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAUwyCRA9TVsSAnZWagAAcEUP+gMWR78QFEIOWgtYpr90\nnsCJh4hQzbylR0Eifg5b9NniSSzYV6Pu9V1IEqJfVMkQYcviPr/do9JyQYYB\nF7JnySVTZB6nEpXdV4mPEFK6vFclkuCl1HufuEnU7aVHbDHxutZAoi7AT0FM\nLJEdwDrmtvhhFKMLqVjtrQGFwi4IauiTJLQdgHPBvh3QIutMUZG+URDmDx8i\n9Y1NNQO6p3lJW/Mad4AbMqy4H4tMidUEUPp8/cAtfx88148GNHa5ve21KiuS\n7jCM1zVwfR62LeOKd37p9RpXK0SPrKLdEHXAJs1cBxntayzluwyB9+Mlvpdz\n/UqWRAzAnhGb3w5IUKit7v2uA9oEyepz+RW+4g5U/RIkrldGtWjDIDQEa2vN\nVuJACCV+WevZOT83sfzaOIyo0Pd05+I3DgjXkW4J43Lf/Oxrgn2kKj1Q5ge3\n3Ez4bKIP9NLzAcmwKUpbutT4iuNjRohzeEOBtG57mXr43xfiq+Dm57Nz+t3l\n6MrV0dhXRPDr/dHHiNuroDw6o/yqgtbCULQbMqakmovrjkJJmRlp5aXP27/v\nYNf+uzkBkMXc9TmziQYG7q9yHK9X5Mf7yHJwAbrmuBq5JD+HqNCyhrp84If8\nc79u8m2R29IU4Q8piH2aytcXpXESgolneLZcfTiIAgg1fUmhpI7JfX3CFWJe\nGr2N\r\n=qgTv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUrpt2XDmcTZZfqXeGia+3I8idglAjlyhgVYAEbIeYeAiEA7tAbzxbFZOVqBTFd/YZAnWhPsS2VjNbLI8cu8ixbzyc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e7623c67_1543588913923_0.4422886169524183"},"_hasShrinkwrap":false},"1.1.0-alpha.ee3ceaab":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.ee3ceaab","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.ee3ceaab","@crave/farmblocks-theme":"^1.7.0-alpha.ee3ceaab","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.ee3ceaab","dist":{"shasum":"9c547a2d3b28a4418c642c62762d3552d0d3bb8a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.ee3ceaab.tgz","integrity":"sha512-/UgfdVAkG014SeNIdBdQmSoaILgFCrIqPOEfaIo+XNTIJhmI6H44kDPhnJPV6ir9ljtNTRB8QKUjUcW0N4b3Jw==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBOOPCRA9TVsSAnZWagAAo74QAKE3UaSj/6+bgQmJhb2N\n09sVGIAOmT7s6YAcvOSEFYSM2BJIWT9Bt4pt67ef5qFQB1CQ2CEtC/QRNRHH\n/w4LtQ8YRjaBXTv9lxL3Pw/m/uN93SwBDyyHorrs2rs+K07+F4lJ6Lgy5Wwu\nTStHqaEod1jUU4fIUWmJfWotJRAjpoXbq9ngbHIb6L5Vw0YRnLVt8wqOLKwK\na2KxDMLqmiSoGhPWdy1MvQ56pPx92MZvc1BUQm64WBovSmzeiCzYgl7H83ie\nIxL6SIdqvlzq8+CZakl0LUXmhxTmmhXz5JnEe7HpNAyoYhnvjYiO8kZBH4a2\nt4td6/2PjkzK9Utb/FqOMKJ83f8I7VJ6ADdi1KEh/skdxGcscx5T3DCcJBIg\nIwit5Gvt17Q4wHLxoHDFTkWRVtqskZiVjOQqnDR9kSvpludL1YSv8ddwCfl5\nGGQpYY1Dhw+pVVOiVDN5g75kbyVgsLRZpJojvbcxGOpocjcuMwrKRva0Os9Y\nLUH3B7DxbbS2+VDb3Thl7BR3zSx8rTc0VG2f4d+PtDDXu//8AeI+y2VFwSmn\n9KvqWPyzAtmdf2sYC3hMdL5rwgnUKkHUk2hfQy9N5rfs0Ue7zmOp0ZDrbMx9\nENvKbGKrmDtRpSBTHNtWqVbarAyl+RXFDAHeF0NUmqGpHFGeB16LMz9YywLd\n9HDG\r\n=9QbR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEsrgbAItKutl787+knVpLYL71Wt+YJDFj/S5Kbh2xYqAiA6QfFfIJ/l3PIS6J6Ayi0vaJgG5JruKsC4VQ43MY4lZA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.ee3ceaab_1543824270358_0.4149251295168297"},"_hasShrinkwrap":false},"1.1.0-alpha.e87ed319":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e87ed319","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e87ed319","@crave/farmblocks-theme":"^1.7.0-alpha.e87ed319","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e87ed319","dist":{"shasum":"5c381398b91082ecd342b20902c38c6b618cb8fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e87ed319.tgz","integrity":"sha512-dIvmdpCm6eMHZ2Ubdsj2OCaGeTIzGiwI99cI850t5jA7luCewdXI4FDKRS0yM1qyMjxi3vz8nL3KlklM0Lmuhw==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBgElCRA9TVsSAnZWagAAoEoP/ioFEKHo+dUvcdlqifhV\nt3xrwuqcUTUf8rZ0hJ7fSGvprl4rS1o23VvQSwCh8oyZNYIFyA3IlhFVOeW/\nGQLg7AKQeFLBQLdjXtJFSHT4dXZ0HfppChISprCxbDSItYfaXUS6Tbnc/GYG\nCZuWYbAjKIAOWgbEQQYXuzvrTelw3nhA4VYWJWc0rDH09i8IRr7dhr1dIrqN\nbc+HuwfFqmh7vG2MaB/Yv/KD7XpQDZmP3RcNydD4bjS4/Zel1XWXe6J2SD27\nCJT6NDrzBHQA+ZvsjuHyduGTp1VuBOrkbDfRGbtWUJIR+HuwHj/udvjQL4MA\nr6lYht1VrUDlAoN01SdiZK5SVJzQWMmpDIxpIr2+aAPpVfWZTy71FfAwvJqZ\n+OnZsFlPkKqdbwA9YNVGc66ZIycMUcsfoG8CPD9XMle7xq2AfVcATuQH6Mq0\nSjr5HSrw2CBz24GWaIjdk23n73QVhmAjUaWuU7jWOPeJv+1KuoAbEmQMqrZt\nd6cC4Ii73AhQ4wNBHKiUXWM0qfCZOa/7SJRsW0t1qGakGO4KyVUOkr8UE3MH\njT9WJKXfOoOvM0Y5RLIYQVr9taug4OoFMpE8+4gGtsDl6BXNdTBkXIMg8JD/\nUQAG4B2tBsoS+xaCP4aIi7MuW6Ndx8cxXsDk0GaCzvq0Ct/d56SyYpWPNfZY\n2Sm4\r\n=4zUw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmZbgiouFNL6KhoCElmXdBCwAD/HyyxZLXMXA+Rl4yXgIhAP5VBBgVNx04AuUHpiaiUvlNpyrDyCFwVjN4XraBDHKR"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e87ed319_1543897380860_0.749311971732622"},"_hasShrinkwrap":false},"1.1.0-alpha.f6b6d992":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.f6b6d992","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.f6b6d992","@crave/farmblocks-theme":"^1.7.0-alpha.f6b6d992","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.f6b6d992","dist":{"shasum":"de996fad7f972f28d7aca71e3e6ac670f5c74652","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.f6b6d992.tgz","integrity":"sha512-B9k3vpob5HSBvtKv51h+TbsLwaAjKcv8On0c9kzDQGnLQrFt48Po5icpdmPPktwJ0hNNehZO1xnMxUL7JJwXwQ==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBlfkCRA9TVsSAnZWagAA4cMP/jj/t8o7E4FcYibYkj/a\n45nE1iz5PIaZG3wSAERyHff0WQdXeCaZTk0y4ceBdRdUj469gbNYEuGEvCWa\niNp2yaiYjajJYhKCrNYTCdnxMKlUewu4iKDq2bzQONL1E6kbre8Mhw1V4muY\nOYPPE5BP3rUr8X1bFQstWwDB7MaSwyhtDAG2boB3Kn4A4qORQ2NjBkQAFJi6\n4bkphRb9PMzDXAJcqGvZLAkbeWK56Adrr9C8MinJy+A4JvhB36iaceh3SDq1\nrzm6sIk95ipuZdIbMOjMAdu8s6kJhlCbLkWqPeM37Guy0krWbBvdau0QyH8p\nGBQAKs1EUpwh7ttlW132xNJeI5z/OeuX0efAMNOcpf4DmxUGDfgIWidc9klH\npo3wxEYdaKJpNEMldzdp0c1uKp2pDcoDaEoYMHo6nA18MLOrJ/OcLx7cceWv\nFvsL29I2rOpP+Cr0cHxr7/Z4KzYH7Aq6tMgIrhiTCMRs2I6XquOdk+f6e3Rx\n/elXfndXnP0Ly3B++7Ngmr2GWFj9SCV/ndCTvVqUJN6AKrIAhCNuEckLaSko\ngYaMUbtmn0n5E7Xjtewl465GjEJyrqz/scg4HdTls2GeRhsg73DflpdywoEN\nSGdfSO4xJscOtx0ea2ZSRJx2rDvlfJj8eRMp4ky2oXusQFSgMmg1qQpggndu\nhz9I\r\n=MXL4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAByaJizZP5fseMuco0WUBnZh+W1IJpHYkg8TSiNvfYwIgfIu/LWx6fQ8mKDROVPOhUuQ1j68fyynGnAcjRmtj0Ts="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.f6b6d992_1543919588165_0.4996548847599931"},"_hasShrinkwrap":false},"1.1.0-alpha.5a5c4b6b":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.5a5c4b6b","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.5a5c4b6b","@crave/farmblocks-theme":"^1.7.0-alpha.5a5c4b6b","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.5a5c4b6b","dist":{"shasum":"1c0106a00b8bcf1469251614466a0836d1567438","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.5a5c4b6b.tgz","integrity":"sha512-X5IFbmIB1BS6V04usgkJQk2fYLYg1/HhKdzdNxxPze05Lb0WWY5kcwr//sa6PsdGe4qEBMLY3wR09QlZFYYn9w==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBnyqCRA9TVsSAnZWagAAWRoP/RQLPTWcEzMmdi17uT8v\nPRuG2evWBpfY1K5k+PTax7Bipi+HSpxFCM4g++Dcht2NA19eV4N2q5OUj8un\nKWff7HrDc69+3+z/ZgBljaPmZAU9lBr4HiodV8Wfo3ZO4ViZbjL0SriEud68\n549zKEFoFR7buAutSgGGyx5vtMeOI4JJenGUobgUiY17Xr7XzIquXQHrJ0/a\ntStN0lzNxVT89ofYHHjr00r3caLkZb6BoPkKjZ84UoqDZupb7/dbWxvYU1RC\nEq/9afF4mtw7+O9fExRCyScweoxNWM1o4gvgOboJZzcqbAvtQpRBcdoKgVCD\nlf/dgh+dh03CoOu6bNkkaLI1JB1sWlZyrTrVqetA3O0jPCLsSaLfEvBHj0oz\nqW+euGpOWe4e8TGJqYd0GamFsN3y38dnbhBBlRWQultRMXZeUos+TmIKLee3\nShTvJRDT3qWpL8Yz3YXkQXp1wCQDuKSwLwfwecwUZ4FoSlBJ7ptx0jReuh4l\nG5BXgpRnPvnoU2uIs22zZ5sztUVYf+Z27rFQ5YDeeVQd6PRdyuUzyr5a2mQa\nsYFciv9gUioidU1DXrcet1nBNnHGy+XmnZJpXE45pLSgbuHho1WskFnkodQx\n81FmUjHJZDgJVaor7P6avmaUKy0uSXnGmrMXvOYs7Xv2Gy9dbg+F9Hfy6MIG\nUF6j\r\n=za3v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6CcMrFhDS9fhmdJqWnDwnaR9UBleRcOE1CYFBvrlPdAiBYpp3Mk7QS2tOinr5OeyHB2vosXgpeFTPKDHIh+lF9bQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.5a5c4b6b_1543929001543_0.3307179888745897"},"_hasShrinkwrap":false},"1.1.0-alpha.a6658924":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a6658924","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.a6658924","@crave/farmblocks-theme":"^1.7.0-alpha.a6658924","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a6658924","dist":{"shasum":"8c326b3e5507a42111ad12c6d60591e03e892932","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a6658924.tgz","integrity":"sha512-9SdNE5Cas0JFtDEJsvMdjvcT2J/PucION7uc/3PnCkiUq//Q15TJ3MY0YQzhrS6WR/wCEcppIhPii7I99wZ+vQ==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBoztCRA9TVsSAnZWagAA9A0P/1UoInSY2p4fSXDCWVM1\nlvhJdtpF/nGCNeW40FqWKk5nIEDaKcZJH29hVFM1R7lu5O+IrYYXwfC89Hh3\nLny470jdLa4yIIJNBnbl82RJpsT3IvtckDd5si8nnRaxmuMUW2o1CL/kAU9v\nS5bCi0LOs62MkgfEHoNkTnEEuVDHCCRIIJDHsdB4C1ELoLNyNgflVmvXs4r7\nqNSKsW3/QJpBOsEhx8IE5FgbrNRs/FpWs6ZtNgdSccGPY9ak5ArpVKd4N9N9\nTI1BASqE7OxkJlQH9s/rP92qv4Pa9PB9LZrEZ+JuiazAwIXYpWThtQJxHyJI\nZuhlZtPv3yIGFId7lcUY31EWmY0ReZEOLWOgW1ZN5VU+yX314nXEuWd+aaRC\nRRNlBExC8eJjl41g+lUoSspIQBK6CKz1z5hEejvqr5EGJHdEmiDQSNJeT2/T\nZwGInoy7p3/N8oHF/JqOkkZzPNcJiYvsJ7W4yYEr3Q1Ir2pC5yH7B+uG1aqS\nUYbq39w+1e68nG5Toi+8+prfZOCtaZT3a6kaIzVAjIt7Rm1Q2CFXzeQHVJoH\n1zJcJ94/sn/daGp8wityAKoXGuSzg35TpCgTQBBVUs1l4wgG/dDzMl7hhK6A\nm4YyraLjtn+Z1T0rwK81p0br2pnYdE3dlKhNPts5a7tQhLog8eIa+xP2m+cp\nDOak\r\n=wDEk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB7Gten4yc5UgCaBs0BZz5zuRQ2bZU6tclIHGFWXt4RQIhAOk+tY4TN2Ue7qJiVc57trbCTVk5T9AN/tCiSQb1GYHv"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a6658924_1543933165088_0.30733255364325585"},"_hasShrinkwrap":false},"1.1.0-alpha.f82fd6b4":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.f82fd6b4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.f82fd6b4","@crave/farmblocks-theme":"^1.7.0-alpha.f82fd6b4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.f82fd6b4","dist":{"shasum":"92f965dba11e2a336cb195a91e156471868f6f07","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.f82fd6b4.tgz","integrity":"sha512-bw+h1RiBVfKHP+OnSDpBN5ecVd0itoePIsAERJIGkVZScotOIOEbG1+C33z4TvMivPKqsbcSZLGJEnod0kijOg==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB9fLCRA9TVsSAnZWagAAQCkP/ArJMDVvDEBg+iaPzMRi\nTZihIeWfJGfKTGFMl0uj3m5frV7pgMd430DTagNZWAALOu8birV9KeaCPOzK\nef7Y0JPJzIl/duVwxpm5eE1TVQ3pF0TLwOw9r+Zhp7n2yrX9475XiyhMMJZj\no66ST9RC3IanXHN96N41wavbZIx0Jv/P2DTXAJagePDTGRCv5G3Quoc/uqIq\n1uRWg8Gy+J36bza8PfWp9n/0QgKo/Wgxlu2a6DCjxhtALFjaoJbMDar+m5KD\nxjs/T/KEoITT1VMVRSrw6M9YG8K1lHTniBiE2H6iyGGcHXNDO0GuM+IUteF7\nLAvf5N+9wWju/uV+vqkjE5nu0QrdnL9dzeDIUlLbYqdourxa4mNqM3zpil8o\nW2h8Jesz0h11hIFbOdEU/yuXoTlJxTfxlkd+a18nIrKJMg1vx5lnrm1tAc6y\nUC+QVRFxZLC7diV7AO48KyAqQnzDn6lcOmYioohboUb+J8pGO1nv3dktFx/V\n08lhywbAkT16tWcJXlop0qBNFjWVL5NmEV38mB5kK/Gm3T5Ej3A4vNHF8dc0\nTsOcV5GT63Be3zfxSmu/XoWoC5WW7+9bXgVpHGR/daLxDnTdpKU9sTl/bNGP\n5Yp4peoeScKl1e6lIGrCAsKy5WHxNUK9CW64eiNIb6URYNldoO1HUJlHs0DK\nI0SI\r\n=dMHH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjg4Q2LellkumoZsx9CyclFe2yBVYjbPhHX3bwJ40VpgIgRyTJ+PADeTX/vG04HNIs2iwMth4DQZwvuAVEmLpAWuw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.f82fd6b4_1544017867023_0.8467632879858022"},"_hasShrinkwrap":false},"1.1.0-alpha.a45fca8d":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a45fca8d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.a45fca8d","@crave/farmblocks-theme":"^1.7.0-alpha.a45fca8d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a45fca8d","dist":{"shasum":"37ff9e3571ff342eae3a90fbeb3eb7dce6eb6b65","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a45fca8d.tgz","integrity":"sha512-R6fsZzVCvBwRldg6TV9wTB3l4t9eti4zFSrSrOMKIylK9o/lgmM1vUb479DGW10k4aTvFj17D286Im+I337H5A==","fileCount":15,"unpackedSize":30906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCfzHCRA9TVsSAnZWagAA++IP/RceGGXJkxnZdh9FTfet\n+XEynvLpX4MGMG59m+4dp95SajI3gbdZtyzDQ55bveudq2709Ti3PqNOZZ3d\n8y44Ak/Iz8dJZ1yA4o5AmU49/OJc/S5RsOX8KoJdVpNxYEVELUAtlbREqOc0\noMcyK/kn3qCOQKHMRJVQAuGlpPjFwR3edUv1AoKgO9MOy7kzPbE//YaKNO1W\nKF4CC8rq9aSmgd7LatQ541q9C1o3lw5bCt+u//GhTt/yGivY4z25stdgCsO6\nxZ7/k1jEGI6niSsnbO75fgOtHGYOi3/ot3qzm/nRZ0j2nRyWtvmgdE5y1aoK\nRf02EMCvAPsxWNe+pAaJ2/n8cX/9RilCm5Apz36UuBPHrXK0NJ5gM9MZQvO/\nSN5kyAXlKMFv3S8MkUQkxm94LAr7F4lAAVo/KvZg5v81fS2Auo622MuCoU8e\n+X6D7VngJl8W0OmVg/klLTzwWXOcYmSe/7fQIq2oqX/UbUZf6pcmVMoSA31R\nx8rK2wHqOeIjk/uPKukCqWAQ9snxrRJPOJP/m3J3Nc748EyTcAQEnG0FKZjS\nEzvjbVHqXsaFJmQsd3DGFOgF/P88GlAxThF57+Go5Zz5anp7AOxEIkFljoCB\nELA7wg46jP9Ich+L/0fcsK1ORJSuLIvCrId4DJ+PtLKxtXO0dDohRAq0enqw\nLKCO\r\n=+LTC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ5tqADG7ippZc2l0J6ymHBp2jQmC3pqDDVUZFLgAUVwIhAJ0bQ23hcLwb1vDPUH13BaSaQcPtOHuU4ka+hPXDhSEp"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a45fca8d_1544158406724_0.23433235042244283"},"_hasShrinkwrap":false},"1.1.0-alpha.21ea3e28":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.21ea3e28","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.21ea3e28","@crave/farmblocks-theme":"^1.7.0-alpha.21ea3e28","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.21ea3e28","dist":{"shasum":"59cd626ce539d34e0be391813240a2e62dbd3fa7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.21ea3e28.tgz","integrity":"sha512-XI2u4ZINXVMUP+sYXEGDVY1+c6vwBGsTWUbpE+zSTlpV3ttdlsgcymwehuSQjYvho35UCqk0jHjrj5fRemUNJw==","fileCount":15,"unpackedSize":30906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCf2TCRA9TVsSAnZWagAAE8MP/j+gDjGFk4kaau1Nav3k\nP3dM+1WF7dxfeK4GIffzsIexmlVwiMukAYvVMhF8l5Y2UhNXOsGlSARB23Am\ngdTKuj5QmvSAp9Ulg5bOogXN4HdVVtgO5XXuuQhdWayRy1G3iJpAhLYyU2qd\nEC+KrmVtO/h57veVL6Ev+169lL+HKPo+BUJYTJ5Mh4aceGFSoAXqxBTA+9YL\n5m7hYCrzg+62uSiRbVtT4dksCggXhBnDPuZRJPtv95euB56ooe+5bXy/q3aO\nM4dnLxXV121ywuCZzx8Til/LbKFKEDzaUJojxW6gA6Zio3DUYvhoiMqgzgUy\nKCMoXn2FOlPrfCsMv8ZyuM/1JsdefTpBiv4OYlT/kD//inC1vi4FM61GP9T9\nCOpU6JXBP7KdSmeVb6QO/eOgk6UVU7wXWpzzI1/IzCEwbPL1jr1BwEKAij5t\nrXusx/TNjbnOFMr049ukv2ZbAVXQOh5IdqDLoNPNaMjCJL8pg8kMccOUo07k\nZCsSLa/iMeUCcfPkJ0Gs3A4oNLk8HgnAlRm5nxrYFofc4Ec/aCuOYNoPrfA5\n7n+0DsFFoLwYWRXYFrwEd3ymd5gOmjc8lmPi4hGLILsGbOQO4PHWtL8w04Xl\n8CKuGOWV7pkqqRfiwEzS/Xz4xv0QNhScktqXbEZPUlZYtf7WDb5U9tD2dslk\nxrsq\r\n=h/sL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+zh9PR98GlAt/kOzg0rcsvZKxc5gSY1HgqFDDaGsJTgIgBLVVKV7Y/qnWK2OkbCloc0B1HpvMwtXX5l1WoD7wb/Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.21ea3e28_1544158611277_0.7195546107369855"},"_hasShrinkwrap":false},"1.1.0-alpha.95d46834":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.95d46834","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.95d46834","@crave/farmblocks-theme":"^1.7.0-alpha.95d46834","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.95d46834","dist":{"shasum":"7ae8f70829df9b5a393c3aeeaac3cc2f97750eab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.95d46834.tgz","integrity":"sha512-iPFridF9kusr8xri3Z+Gr/oDPA21jYahbzeeC/At7zURWc/bvAFqHIDbiYyeoEAxuLTd/YeONlXFsJv3g3UD0w==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcClryCRA9TVsSAnZWagAAkgcP/1h6gjiLGA//n/jMoXog\nzgEikpES78F0TIfxXqLZtXpXAWiwmPxYbeWjIFsWOOP/2vMbwzssyZKredIG\nBhICpwODFw2gTLHmcpFi4BliSZa81seyeziDB+VCQ1VqKLO7NrCDckkYXD4f\nDx4RWTu6gJZNYCGxYg2sIcR9ewi+V7UNkYv2A8h+G5ab2JBwwpRseZCz7VVr\nmPJ+l69K6MvjfMjmIjDvHVlAK1bGwJwWnlA8ltdzT5AzX0q0O7aphu7B71hh\nMp6aCbYeIIf8BxXEzr8u3Gb7VXGwSBJn1n7RS+rstm0psm8jturGVlQPFLat\n4eNQtLfDPY3T6SOJxtXOopY+Rff6/d6AWwRBRo8/+hi7VW3fhGwd+nJftvyI\nIjeDTIsJHRVvcBM7IjwPwkEb2nQh1W4Oly7Lv/yULWmeUl8iFYg9XN9aL+nF\nANwcZTO5OjAeRmeH84XBIrCdlNQUK2HJFCiEerMAISCYbChO779LZsSOaX5h\n1+SVLeIFwaJfpuzuGPySkn+HKcvCZD9txOgTWTdjH+2t0uRBauobvadO6uqq\nkr/Bo9qEOCMv0gsub1LGPaGQd5f4mrYQtBtsWm5WcLbQVTWeixT/ugYBu2Tg\nvWAC7M1DZlhVyqnlgLLV7LYeTUCCg7yZpXJAUR1Xw5hdGoQ+tGQKhfiteQow\n6so/\r\n=vhbA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvOLebvm9UWMP2QEVS+sJj1rUU5GglCUgm+Vnm4f6FaQIhAPq2nly3yIBrpBnrbXjTTQtTi37GMT8UIy6Vpx6ea6mV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.95d46834_1544182514047_0.8565368953493999"},"_hasShrinkwrap":false},"1.1.0-alpha.d8019062":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.d8019062","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.d8019062","@crave/farmblocks-theme":"^1.7.0-alpha.d8019062","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.d8019062","dist":{"shasum":"672654a624e31e1161247daa8774951e55f0d192","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.d8019062.tgz","integrity":"sha512-QSEBBk7mtzRnZVKmhYwor2HWb7a+QJNWDSyzH7xOHOvj+5TDDZeAKE+VoKRZkljMYGR0qMP4F3ZSXqW+4CRsEg==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDlXKCRA9TVsSAnZWagAA+jkP/ixCneXlxqKYK5cFkA5Z\n50T0hoJYPcs5yWRi2XESxX9BKKADgEro8Awu8trQvUgW18eadnJAGtP4FwIh\n35iWCH8zyNIEeIo8TDQDhIcSkrLMJ/8MtvGNc4QUTOUsueHjjkhbs+Gw3aLs\n6TWiA6yv/su0uRI9NwK8/UMv0GtSX5obgPFobbCq+ZEzML0krKOkXmF/GLzu\nGshXmAoN0uBUGa+ul5Qi9pVCKL+t9oBAAga3pG3jSZhkDwC5ttOBkwXfAMOZ\nC8l9UTPygAqmm++ilwSQPEQvXfF7/VWEx5/GBCp4iLBOWhvlbksU9+82onRI\nUMp1noYUe14SWhG8/3qoBdWwEZarOM3SfjGgQ3wwx/RY8wIrVpb6BZ326V1Y\n/9N7I6NeKMCclwr3oUpFYHyeoOQuklcA9yXznX4qlTXEw9KTlnXrCn3vzjlU\n1K/6bEmiB9qL461n3japT1uZYrIzzQ2qeSmpme7lfF5XapwwVJgY3NyTz5jK\n6h5SHVjZY/Ybl9dEYL3m+UtzTVCitRKT3kLztEHgE05X8J98HSCobGT0TAH+\nv0ufyaQ9vQsVGHttbai4YiJfc4qCJjoMDKy5lj84rD5YTc12oI5e9MWdVwEF\npfx7CULXiBAPy4bIoS5EvOiTZX+58TxBLnjpG5HZepJDVTZOhPldPpO3VAvb\nB3Nu\r\n=8RUz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAbMAADY2DiY2qu/JuYeyk6rOjrJNeh1c+EcSvDHyWNQIhAMLPny2oiYTtgxEBwR/XpeDXZ9/0c8i1aL9RfR9fS/Sd"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.d8019062_1544443337854_0.026782626332250148"},"_hasShrinkwrap":false},"1.1.0-alpha.cf417eeb":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.cf417eeb","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.cf417eeb","@crave/farmblocks-theme":"^1.7.0-alpha.cf417eeb","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.cf417eeb","dist":{"shasum":"0b04a020f0987c79674f38430ace10eb4c9e69f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.cf417eeb.tgz","integrity":"sha512-Fd7h2YOpOUJyMFv6J6TL1oDZlEqhWg9mwtYAe+Bc1w8CsBNMGSX9uNPnBJ5fiH2m3d5/9Kpj7DIheUC2EpEBGg==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDoxYCRA9TVsSAnZWagAA8EQQAJrvbcZYF7SuyW0k3xN6\nMNZ+c3pJ1seWVbETD84KJD6wERPCLKlwHxiUm+ycPoY7pjArsiicTTtPnHnf\n9umcNG3FgMWJ4BdZUP2w3zhPimAzo6CwQuywmvW0tGvgZR9iQ7Ft68p2vuu2\n6F8MFklKt0bj3ghxB/WGpOrowgqZV1q+HGLLUeycWDMhy3psgjN4L+DG5gDH\nGKJQLQhUA/OaXv3O2u12sdYVsa1umzitpm3n2XayyfoP8vTJN3qkqG1aX0HZ\nWcNQpLmUNWu0kbwb/HkKOEyvpdGUtgJBUBVPsQSzegwB7v0T1XJXIH1VoWxA\nrv+6B9nZdnlNApN+NveaBMxvrctlnkIUNs+7tv2CimZmgGuLdGBqgqr1ES4g\nNs9nUKhQFTu7L5/0kzsJZ4AZjPrYH2jM0cfNX7uUCwXxezv1qSyGboI8Bagc\nx4Lr+LuwdPq0p7Hjil2jqAavOMA9R6WG0DmVu9DF45unjddfFzIJCRkiTcqR\nLift8ZASpp5Mk9X4UG19jJTGQhdjBNTUigdTm6VL96nk5T4fd5KcV2yNJDRx\neHYKGuIcAtYkQHzlzx3OIpTuTD9ARkWGqrrW6fLRx+m9URDTiUV9wyK4bmy0\nwwnOfUh1AfbjpuLuVcTzCJKx9DWcDYXTaf0JEdLJyY0woRMQLDTfWlCqTPwE\nVWXE\r\n=iAkB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbm0r0du1m+mpWOkCnXioxdrFYhbLmrmspIlURbGYhFAIhAMLtLCoLaiWSkxjRFtzW1xX7yICvaK2rynIZZ9eknwO/"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.cf417eeb_1544457304245_0.4212660648644957"},"_hasShrinkwrap":false},"1.1.0-alpha.1c3402b5":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.1c3402b5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.1c3402b5","@crave/farmblocks-theme":"^1.7.0-alpha.1c3402b5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.1c3402b5","dist":{"shasum":"d032f8123b766b1a29c58e40f54654f93ce12ded","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.1c3402b5.tgz","integrity":"sha512-jUjT8crCQKgMC0fRj+5sBRtXY98uJfw+lRoZAod/phPuNSXDAvuMxKDU51u7Uy7mvnX76EoMkQ6s3Sn+t8wTfQ==","fileCount":15,"unpackedSize":30942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDsFbCRA9TVsSAnZWagAAOeAP/iztRKN6wl4d7jkhRCl9\nB3GPqW5u/dlvfC+DECVkSiqlPFc0OgJJBvxYfFgavYrpxV4OExTZNZpgggz8\nTgIgfcfcNXEAr5QIT6k8Bd2NnZ2XbXLJig0zECUp6h6WitjXMrqTyxgKBknO\niRGEh8IvE/ZKB+mNVT8uVRspnypHjnUKeo0QMD0YodcxlVR2uEiufQ131Ouw\n8BKWbXiAl73zySgvDtZwlYrpxlTDPwDO3gH4CAUGKnnFAt9IqCdTaJfQDEuN\nma9710ecSQFJYgs1rB9Rz6Gm0rkA12YzAxv0qcwWvFrQB4Mb7Hjyjr50i/vO\nT9uPX9+sqFyuwWp7ELhk6CMnMyKrNJ2JGrIxtLyPnvAStzrw6qfZrfnpUDF5\nrcV7oFQtGDjWUNEcuxtetJCcfImVLIF/V7za4k5WNF+LCLId8ss/HZipMUPa\nNyjvCfo6A0MArzLBYYvIzOIzP7/rIlqRFv63cG8DAHafCniZIhzDKdPFJ52M\nTHxZFlhKXEC9+MDT5qjXv1j2tUCaifFR2cJS76sjYxAMiIYo+K1b1fDQ3CXt\n6MnAgC+uJuIpg8L8uoJZFRnNdwd6WJle2W0IRvDCxFRsbBtsC7CNzrRC8FzG\nNQX1dhfPBVn8jYt+JBO+3MRR84nAtTNYY7SVOTpznxejTA9/BPlVMduTC35U\nkvxm\r\n=OFSp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUBMBGN+2uj1DkB8wx/r5FKiVhl9DzaHqRwoj8SjDdSwIhAMQU9NZ5Iu2oo7llqPTGJW1mYRoZR2OtQ+FljnOWMuM5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.1c3402b5_1544470874671_0.9887363460265906"},"_hasShrinkwrap":false},"1.0.6":{"name":"@crave/farmblocks-dropdown","version":"1.0.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.3","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.6","dist":{"shasum":"56e378cf53e75f7c042ab2bb791504306bbfbe89","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.6.tgz","integrity":"sha512-1jyQ2swBeU9uGxBhtLKQBDaZP5ghcdvxUtaqwy2xpjiejubwicpIppma75vVX0enSEY0L7dvMMKEmrTgTyXc9Q==","fileCount":15,"unpackedSize":30853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcERXWCRA9TVsSAnZWagAA9cAP/2nnsdG8ePOE8qa0TKs3\nMc+vDPEAyplfl/2H8+mwztZeEW0SacEVGCIfUxUIAZimwTGBROkXAYiqSlC/\nz/Nc2ysmJPeMDXOeaVcsaBbR5cLRQUpo0En2N2buE4rejWAnE3r/zzrqINag\n/F0mq40PSd4qjm94gXLKogGcI/hFw7++QFU83j0eCX4nMBeI45yKOStnbojn\nQODAq1pHXqwSx78YUJNhwEDPV7jdYtnC4KS8Zl+gt7dekqXckCXUJemcBeT5\nP8uHW200SlbhdBIQZRvNN5lmLSu0cnv5nbOKgVK7vcY4Kmi+DBrmjbCUH7mJ\nE1wLxKOgsM4uUYEoYauS3sbbLZzL7bOMZeH9a6qbFtdxwv5MOAsjQqyllDGU\n6YCW3MErBnF6bTjodT/i8UFe6yhA+xMBgBwGLtw5yMKptdDANfwCpC4U5wdc\nDJzTj/eryjZMgwwKGsOpNBlepoNBhHSL1hyWCvz2AcTyFMRE27iPlNAe/MeO\nzs6gf9T2lYVP6GQhkBUqu/0sff4pB+xwXOaNAe2ztbFzljsJPFAMSvV1MSWS\nBHoxBjPndB2TOCRntgaOIXblb9qLNECXjrnjsooh4IAlh1XSUOuxf4mbITXW\naF63EheNfLkge2hKMTUF9Cz/sKyp3lD9TGNT7DzASmVb45vRLfyTYX9N/q7s\n4P39\r\n=r8U3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM9A7bwmdB6ydyOnJf5YHyLcX5Nv2RsED/v0PxvngFLAIge9AIPwAmZHg4+a0gq2r0bEvYRcqNNJV0sVFq7XLyHF0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.6_1544623573282_0.5133325977521388"},"_hasShrinkwrap":false},"1.1.0-alpha.6a8363d5":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.6a8363d5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.6a8363d5","@crave/farmblocks-theme":"^1.7.0-alpha.6a8363d5","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.6a8363d5","dist":{"shasum":"e08089eaef33de5dd0876e2263befda4bc508a2a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.6a8363d5.tgz","integrity":"sha512-aoYXghZFUEqHBhBaKshUuc5f0T2MuJKR4kP5cEJkbdcOUFvUenSkVtBp21j4UhYfwdSIHnRvYP4KrfpBPy6okA==","fileCount":15,"unpackedSize":31176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcESZ/CRA9TVsSAnZWagAAwakP/RTFJ1415517GzgQ2EDO\nXL0noAZWQlONAeNSyR6Frjp8wlhJxnkrBSCHK0CKkrEtnWUo6/uXHq1YMRps\nELyU5tAgdVmUGMh+NV7vd3/VF+NhPsHy1WvJJZJVFcCIsAsMM/d21JeWPcpg\nsSSYWl8qegWYziUoCtFEyEmLTDdbxqQznP8RKwK2dq78SC1saV6bDNjRAQrI\n9TYOEK0hYmoZXRuzmXbVQz1KRbNdHuMur3mobZBiHFufYqDjThjhDJ4mruFK\nhhry720/yMkeqtfUEmfP+Pqx4lrmHIoLSEQoD1myyxwoZgSdPzVPg4i+xnSy\nhO+vlnMPgspFDeZMCqlFWBZZwAsXx/2aNwRl9mBxYb9cE/tYkQQ+DVvm097p\nXxU/mfVxf8mRvIcHSrA9VujTBVoivRfjTs7Fzvprh7NpWgmpkqbhewBd4e80\nvKBPjaUin9gms8aHGYCJGW5cmU/mKjWbLUswN2NPW6g736a/NAA2E94R40lo\nkvaLwp/emSj/4ju//PUVdqy5vCtYoSIC7xZE7PebJcnhTVARgmopZj4cMMJN\nhl4eg6Sj+O5GsgN3m6486Jxgm40e5EfvTDW6lW02mVR+BkfmNPsHEBDJbz2q\nq6Ft5TE65kxmZj3OrOedtfFwdHyUVSsak4MoRyLk2gajWnKuGfvv7uWTp+K8\n9vL+\r\n=Ckej\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPzPD/vaaC/Yp1PXL0doTFv6I/XhrrDSq5o5hXtyphWAIgHo7HqBhScyesZ9eeNfQ6UbITg9+WTWfHu6rXXfV0BqM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.6a8363d5_1544627838300_0.39361189818983755"},"_hasShrinkwrap":false},"1.0.7":{"name":"@crave/farmblocks-dropdown","version":"1.0.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.4","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.7","dist":{"shasum":"649f9935ff9652a14a1499d18b633cbe8a4da4b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.7.tgz","integrity":"sha512-Z0nxr6qBiJj+zHoOWqhuhEFNQ76Qt18lniQv+5SIP2GEBHD8l1W23pd3w+8oWRvsRh1kHkFVmP152UDidii+sw==","fileCount":15,"unpackedSize":31087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcET2hCRA9TVsSAnZWagAATjYP/34CIy4pogXOPOkmlRGY\n12xYdRuYsTAcFh/7XmViVty5yqcisQcyujjvyF5RXy2R7dg93TonIhmva/O/\nuHHf2sTgEt86OvoDOOs9mw8q8Iiw23c6sd2Qr+4uiG/P0f1T0XoqYIoYpm96\nODrZ972jkAmmO+5Yw01LlIIgTZu7eGaNJBI3xCPV4LHrNlaU7VcY4MY2FLvA\naLFMtHRR9uVhFwUqLZqQrz0v/ntREErks0O2KctoFyvuMR0o/aoKXv9eVEEH\n8ohKi3rLlFwtOYXZv4jKRJJ/PGjH5huXC9YbJR5ztwzAfh7nYmnkrUFu7QiR\nHnbVzsjtcIySX9QJoqfSvkMmuWK3KWcCT6bv8625kTg3pttL3pT7nnToE8xe\nT6NztKSHXt4ufSOeMV+OOeTCRZFXiQ1Yo+lDJrWtpQzWv1Jlxdt+EHp+Im+4\n/Dng8cXzOG0/Oubi4g44eV+sZYF9fVhhV+niXFPQpwzcnMwAd0ekh4NNI1P2\nQ9STCiJaRLUUXgCA/u+3gc7cQ+1fonXFI9uVsM/9rh94ZDje8gdH++Q8Ackr\ntgaGkxDMTk/zF91Kfq67QlsPnfFO7uWqrjeZ339PWjY7tPrgKM0fZZ3Zno9+\npdhtqDWRukWCss+IcyE2r0kN4gUFYpya6zmodB+Wo1TSN7/QSwdf5p9y0ukq\nJqep\r\n=Pyw3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDitrl9tarmu7JkBetpeFSlyNy2Rid3UoFzSVSR6rVjkgIhANRcjUg0QBzJ0drd0IuQoRn92rVTzT11qrYq8vD/OBQi"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.7_1544633761047_0.6658875862845175"},"_hasShrinkwrap":false},"1.1.0-alpha.b2379f6d":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.b2379f6d","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.b2379f6d","@crave/farmblocks-theme":"^1.7.0-alpha.b2379f6d","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.b2379f6d","dist":{"shasum":"4e2a70249d9ec9583d6152822395c61db43737c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.b2379f6d.tgz","integrity":"sha512-4PfL66BvtoWLDkHs3hLgCIESl4jchXZ1Cz7SgqA9BtNXHAks5IPNIA0hUPy9nCUvQIac+V9j/LwlIMrsEl9rDQ==","fileCount":15,"unpackedSize":31410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEmZuCRA9TVsSAnZWagAA6ycP/icsDmfVpInYwDlB3uM0\nNKEVZvdQxDfePt8QF1BiXr6PzpCMXsuJysYtPLUMywUpHZ7QZMC1mmbVxwmC\n1bwjiDn0J6kRgecSo22+r8ahWox+zhPFhzCMs8YZXaXNh6MQ568eEzeXfB4F\nyoJnEi6aDoCXyzRpMwGCdwOsudksx6P7mTRCyOK13HoLSXUvD5q3g775Fyjl\nrYCxk4BwvJgITCkheM8pUENt4/o7AqbDX+rHP8DYmhsbAPnpbhk0QtvpRoB7\nmSh7fhCuhJRKsDi5tJvA+uSgRsm0zvRHLb8t84rSTSbpQQzIFTGWx9OEI18R\nOdSzrjLi/hfqRfxwKUn99HHuupqHU7gruIWfB5R/EDN77c5hLna02m8gSLoS\nj6X4u2FUa+N1KNeVfLP5HaXR8c4NUWNeeOzFn24uMlDyIr0OCKWEgKQnJ59Z\nv5vvt7BS2qDWxhyVVySb2elj2IRILd60/RdsQJckbO/m1hN1GkchRgZug7Ls\njlt5M6XruaPAmgFqH5WliLqZ6NsnX1QjbCAZPI0aHqJy/IwBv49z7pthXkUi\nRQc1jFyPNADDoUgdK5B2expRxcuY/J0T5iOvLvGDwDoNGAB0uWaLnrZLTUDN\nJPsJgBYbafYzMQIcRb6krvSoe3S+R7usUj1OxXJH7CMi7vCvRAKXjTppp2Qu\nRAi7\r\n=e8Mr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz+6A8DrchkACnGvXeuFcJuV9itY6o7dg8BlM5ChYqfQIgHWjM4bjOZA7SVX6vpcmG+0DpmCY6lkHswAcn07Jf4dQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.b2379f6d_1544709741346_0.17172406526607098"},"_hasShrinkwrap":false},"1.0.8":{"name":"@crave/farmblocks-dropdown","version":"1.0.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.5","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.8","dist":{"shasum":"c281c3362e85b2efb20b00dad20eb192fe85d3e9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.8.tgz","integrity":"sha512-yz1mRorbHykiqF6uOZL2Y1CFOklvj4HqQVHIdwq1F2KL3eez1lrQ+zFC/aPQrpAHNB8h5AhVLEEZNUwpf3JyNQ==","fileCount":15,"unpackedSize":31321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE7mpCRA9TVsSAnZWagAAd5QP/Ru3KtcF9mMRvglMolI1\ni7FmF0vJJSAZY/HKlUPGMKIx9IJSbSA7C/UMqSUs4l0ykWLNLdWpzCVlbIqe\nM70hC+8yPhyEv0fIpuhDHd2dvg8Ic1kkrfri1cwUREK0p9R7rNpmnUGKEJBF\ndSNvyQDBTgY56ek6Vm2/m4fEWZkddYZLBlZcOUTG5s+W+vOqmX5JOAqYFtLU\n/UVscS3aLfB42V1Qsjghui8fez0oLk4fTLT4I5qo4pwBL0ZkCZ3Rj3k3i5sZ\nxmhPERjT/ESbOHWW6qQC7eII2ivWGH7cwsJO7rrN/AXg0Us07oXKgWPKA0qf\nZ9FKCCiqVyzI7rOQIfvxaj0n/Dg0LcH9Dc4xd7cYXiQYcIyaR4wlmZ1yEDKd\nWFwl4vT0QzrdeNz0wQF9n9Kw9Si5unznQVox3MFbCt38Vzc2xD5/USX0yW2l\nutrfJOgrjP//9K6u11a9R4Y248f++4Ekr1nSt7VVCnWuA8QivJ9dOwGyxUsU\nsiZASRmyVm5wphSxraktkWlrG3APqBHfTrYbmxPxQyiy8NUTu1s++CPQwYl+\nRJyiJWbAGR0Rg7u8BxDb8Z9hblXOugy+dPdZ97NZVCgJbq4Q8wWBm3uqzoVK\nskgS1qOQLzuLO+ord3j8mrsez0FOMWqKVI5lDpMT12e/SWAZ0CZQx4sNjzuo\n5Ah6\r\n=07El\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3ialHUgb1o6corDaYr9BTR9cYRQZiIoLGuWtAoPDElAIgaHV6Fe0hKiEqwfpjBKXcawRyAk0M75MLvOQi7DVBjMU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.8_1544796584487_0.17478108408305526"},"_hasShrinkwrap":false},"1.1.0-alpha.ebe764b9":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.ebe764b9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.ebe764b9","@crave/farmblocks-theme":"^1.7.0-alpha.ebe764b9","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.ebe764b9","dist":{"shasum":"ca3ffe1eedae396b6746f0bd811469521781e71b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.ebe764b9.tgz","integrity":"sha512-B0nj0C5BhP2UvTu/XEOfRwOitDmcdfk6I54gLYOj6dPsUHI1HzuCJgQWV2U3AXXBxmWLWzssNlrYDBBrGfvTbQ==","fileCount":15,"unpackedSize":31644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE9hoCRA9TVsSAnZWagAAzlMQAJkcu3Rfu/Iuz5hlJIzG\njpymcc9xQUzMHpLcixX01nzVQwTdig1fy5V0ZjqxFgwP59d8gT5g3QBhhY58\nLBecZ6EAd23oU7zpTwEXzfBiPgVK1OzwWb5pXQG9OmzLgjnWi9JXPi7aio5L\nDs61x/msl1YmCWezOHcjuZmV5C1Lk1nEY7F18fOn3pdL4Ws6E6W262eV/dAr\nejiv9r9A0L9IOI4wlqf9WUoFwcPntDFjCEmt7j4x+wPToJYZn6sndGvKr8zc\noR6bNcWuPCLIDt0zODjoVLpauJGDe9h5FuP1+p9OmM80lWgFmSGbs8cCl9hW\nV630GKuS0md7ymH308dNQSw1i+9GaSMdALewNQrnrwqnq7vXGMLYmf2qaPZD\n0AtA8AlVxB0NdnKZRlq6MlHIKpLHP7RqBD3u8rKbSto7ChyLvdT/K7O/9yJL\nBIE4ytt+G4dKex1i5jRh/CRk9ejVRi8gdjy5gCRDujcWETkaayn89xrJXk2H\nz/cFQvRgNba8bOEoWwR7jJfcipDbZQcZOWW1dN1HklLSXXqQVBc92ov0wXq/\nHZo1M2fJfefFw2B8+J4UaDj1beQ/S99/sS+2YCMWEXJ7XqfL+5yzaYbZUZ4D\nbH5CJ0Q9SdMmhHaW9zE1US1chibtRmeqs37H8XMZRlDRMhpWBNzdvr2lAcfT\n+8WD\r\n=r8dM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzSdT88GL7xjTiuYBli0KhynnTClki/vKZIMYDdFvP8QIgN6GtADbUfU+mksoYkC8ZKj0shSeJZC0ZKthDRwq1K8Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.ebe764b9_1544804455694_0.5377218763501592"},"_hasShrinkwrap":false},"1.1.0-alpha.d9cb31b4":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.d9cb31b4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.d9cb31b4","@crave/farmblocks-theme":"^1.7.0-alpha.d9cb31b4","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.d9cb31b4","dist":{"shasum":"74c4241c38a5acb5270de3dc72bb783efd3e9b1c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.d9cb31b4.tgz","integrity":"sha512-NCLKxiHLx41yqRsSsUFYenKD8F2qJCjp6zTFVMEAwlO+J1FdvBPvP/KuUgRcnWpcpo8ksyPGbVwxyLTC4nD+ZA==","fileCount":15,"unpackedSize":31644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF30ACRA9TVsSAnZWagAAp1oP/3ouEvEcrIbLB+wp8TNp\nwRQ+6x8RrkA4lh5E7YCLSsi/Mxk5DAaQtv3It8lLk04hKTOnlC/XY3Tv7ogs\nCOX24a30lNbxMF7TslwR9q/wbe8l2I7rEQ50BbKizBH/2pvQURah/GzaJ/G2\nGTI0EvoWlyZENoLnsCh+z62uFOhsY8JPo3PDJp7tWZE+mAKvdL9GGO5IgVsZ\nZNwap0nRWmHlBN3PAlD0Z3X80Fde4/25COr+Ib9u5sEpqrXwFYp6EntuZJ8h\nhCuna9lIPX6lv1l7hOgPcKsQsPnQZFy+CuKp3vJFg5dPoNh82U6MbQE6Zy/m\npiDCyQjFPaWUN5Z8ItdWyPYAuXPy6D4xUGjOcnF616ism++Qq4YuAG18sSYJ\nl6T761GazgtkQRiw8pYGhjgdOG/e/LURYR16Un2TplTFGoOlv4aqv8dt3NFl\nKQee0xk06xR5cm7MyHw0KFNJh12J2Iy72uS4ekzXEZfsAR882Ds+8RdSktOi\nGuJgwY7SHJA3Hv/vmrKlZmUwTpEgDBPLm9iIebGSeze+aFwUfR1GEfjaucGP\n4fhMpub5mfR69ndgBKWvmN6gbmn3/ZpZqYlVMpa+J/dC7O+yX/PGgPjDoXTP\nKN87+AUFuyPuYO7Bd5DBPNDFwpn8+Wr04Ag4Pcui29hPv448520PIOUM5VyS\n9r2c\r\n=y8K4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIGS4lbXcc0Oq27EG45SVJwgUY2pUk2QoH7J/px9MQTqyAh9aysWiUZIxqI0PItbPf85tI5dJm/kPEF1Q0zY27nO0"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.d9cb31b4_1545043200306_0.8384978288599232"},"_hasShrinkwrap":false},"1.0.9":{"name":"@crave/farmblocks-dropdown","version":"1.0.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.6","@crave/farmblocks-theme":"^1.6.0","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.9","dist":{"shasum":"adf21f5b3c2967754c4454ced4fc27cd254a88e7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.9.tgz","integrity":"sha512-rKL5LtdQJHQpTvXOzn9N4FChePeB2PKg24fUiUwATcMpGFSkT4WukEdztVmRSEFaXLgULWEAoyIGeMeLgdTfEA==","fileCount":15,"unpackedSize":31555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF/D7CRA9TVsSAnZWagAAVN4P/3t+KVsGdwWMGr7ZEWsN\n8/5DBuIaTwgX1xsREnUET+CTC6sA0KU/RWoV+09L+id8C8+olIiBukFiHuh3\n/cWOlEzGvIrZLOTiJqQ45zCG/M4pPHKeKgb+e70plC57xlIs4cZi5aZFphne\nhkCS/8RzptIqDcynQroSYtWKwvlgFgnYS01vUC7lGFzQLly1lBhUbWPXF9Ra\n04rSJioHO9OrjaaTl9tbfzNY/qEu2wvZs7GUq1947ywpUueRG/pSWbTOdx5z\n3V1X7NMbhskyuvF3ibFTA6iKH41iclwH5O0lmfTcClvlPrFX8QGCh/xHC1oA\nS2suKBnoiQyGpk3O+D7EXq55HSic+brj5aJyAe1zr1qQ94yctnvRiI5ZNoZD\ncv7W+jKaGRA63UP6hOiSrLYUQUG7ai7kTGGmikmaJhXKD7dp1RSDq9ig8H38\n7xyyWkPYReSq57IijUySt+Mvo+NYOpX6YolE04gl/CfN6W5og/qXbfNW47dv\nEMa8Fdn42V6vPzDcOWOnujLpPkjW/XhAwLtwe53AaXNcLWuW6OJ6W0XKMtg8\n2sp0Qdbr0CNQTUJq/r9ioaw5qCLEzN011axE86Bi/6mBmcMvHVDkw7mkB+qL\nWy/u/81F37OlZSoEPBFbwlfRy3b6kAQS0ZOlH/kYBoKO2guuRayD8Hlt0uUj\nXqI9\r\n=Bnza\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+ENIgR/XevvH8Rnxciw2ze0HV6r9hZ7t2V7Ja3D6JxAiEAqnXbwVZJD7TLUeiCFlnkTFImzkv2vEF3A/V/UWCzn8A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.9_1545072891072_0.16623830374195325"},"_hasShrinkwrap":false},"1.1.0-alpha.09169fcc":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.09169fcc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.09169fcc","@crave/farmblocks-theme":"^1.7.0-alpha.09169fcc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.09169fcc","dist":{"shasum":"5ab5dbfd5c958f519f6a938306ca00ee1b8d6c9f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.09169fcc.tgz","integrity":"sha512-Fzm6qO9KwvEp7ydAcOMrLXLq1vLo0Nb7y2+3RZFNWGon6zX5A4YEyCKZ9Nglk8lQhcshmOfwOuMy4QQfnSbuzA==","fileCount":15,"unpackedSize":31842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGD5ZCRA9TVsSAnZWagAAJLEQAIpYExmCsIz6DTnjYMZJ\nSq1a/QZeD0OXW2YJ8sk9V06Hi5VJyEWPdi/13W8rTYVpReoV1p+UzCmwudkq\n8W4aqN6FtGcEwXLTj9OwSdC5K1o9gUWkxxkvEENLetPjlZQPZilMNljIPIq/\nwIwkQ38jBqrzB6uUm5L2om1BzH91ALad1waXLcaMxdR6qe6V+t5YXt8cEdV4\nAubVEVRoOS1Mq3ThDrU8eOxcvSmjvTInnELTWPA3mNmH9YO/ExE+KPgx4TQX\nY8PV8iEKu+HsGvcPdQImRiocKHZelokgivEcjxbviamrl/3rtV0XUKUaXNnG\nQ+NN+z6gxz972BCHV2PFVuwjNEJrlgswbfabdUB9zuXpIqsJyfkiq5MwQ2JF\nHOBMHeEdFJ6RBQz1WDa+XoSuZZyPqpQ5qGXL9zBoWae1Umo2SXskBM9ZmZUx\nUqZpr7kmoysxbaZeG0DQTDXnXss+zsyl077HN8IhIZDCcELgx03NRcVTUKfy\n1aTgTz0BDKCFM6+mDvZ8bdsJU+5cBhp6r0lSAjKM4fau7JeCUDzaWw/GpGKY\nEmmnhXSjI3SoTTSAWanO/irDHRpUP5DL/B9aWS2IASLHkTfsODaQoPsOZ5H8\nAsEkiPIYx8OP6Ue5Ni3UtH0C9TPO4CdYOCE5KGanq0jxTTRc58jriDINwR6d\nvhk6\r\n=M4eJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYnA1AUerPIvpwQdDQiyPYYASq5zlL6WhhvlSkp25j9AiEArEzL3rQ0PAamdbF9BOGKeyIJGPfZk72+kizRiXRjk94="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.09169fcc_1545092696876_0.007578233570047388"},"_hasShrinkwrap":false},"1.1.0-alpha.a3d90946":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a3d90946","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.a3d90946","@crave/farmblocks-theme":"^1.7.0-alpha.a3d90946","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a3d90946","dist":{"shasum":"ac8fc5b515fec116609fee59278ee0372a4af491","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a3d90946.tgz","integrity":"sha512-fEEq8lHulYb2XXQzn8spjrdZqRu8vC67L1bfoGjyJ6SUittez8PiAcC0vpLXFCRWh8B4PPRJt6h+ozeq6QdGIw==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGOfNCRA9TVsSAnZWagAAZfcP+wZWyCR+EUTyGw5BGfr5\nWEpoy3MMEDBqAR3YRv/wp8apasY6WYs4LB2YRC3w4/hIl6229wwZVyno43sJ\nAFHVNwwH0oUuuZAbXxx9gndSXUmxrp5G6wzzVSGjc5BXDLkfzfWO+JLfSAOT\nZAe6hH0e1A8CxhSTIiz7MrGcN8K1fNhFtXSfYzb8KE8t8ye+uHRM1c10Wgw6\nkuQrI/zjcVQTK8Qq/0Yk8J7Zwoj6OLIURvrWgxU0F1udArZS9jqKqBOytrbX\nspUiUhDEAOdVcFb9DjnxNLy2q15NuviZdFD8bg9oPzJVqq8lbZ9n0hvgsFQ5\nL27JIZes0EeagEpqmsgTGlUnh3tTpg5fIh7QcXGx0CqSRm46rb7kUSt3FS4x\nE1cU5kqIfDwHMeIxk8uM3xCLa7g5TJwCUNk5W0AZWjBRyWu5ZMDxJ5TMZsPz\nwA7H0obJQnp7OvwnjvOrAhjgDnLFKZ565zmyNr1Pn+X18vliRj43g9O9IUZf\n+utYPUt6hyaVldHpfZCQmrvc+Cb+eZ9o7O0NEjBmtxE28Z8C32E5mse8WYLx\nCpKzgEAI9JAS7pqRyMl71VW0WRMdvefH5FhiqCkY90mkhD6wY2VjJMmnfJL2\ngZsvZeCABDFRwlxxbWI6V5/t2PC66TLYaMoCr5Pl8ddx0rPlUqZ6KdSYYFNd\nUJzX\r\n=ORiC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoeB9LLUcnzytgP+UC9K5i93FCGe4iGB2day0yuMaUZgIhAKN/HLGTS7Igl2Xjd+D3GhwgS3QHY0WGisNcqfLbeBMt"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a3d90946_1545136077151_0.2632244617994155"},"_hasShrinkwrap":false},"1.1.0-alpha.2496656c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.2496656c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.2496656c","@crave/farmblocks-theme":"^1.7.0-alpha.2496656c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.2496656c","dist":{"shasum":"13a1f47e56fc5a13bc21bf7e083cfa574bffc30e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.2496656c.tgz","integrity":"sha512-Kmw4XKb3ptO99oS0Y9S/vcWpEljrFR8Zvo/2GL0zy1sDG4Tn9oZcfNHTMCAq1hd4u1Teds3trtGSWrdOMWAOag==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGTeYCRA9TVsSAnZWagAAy9IP/ArNubFYBvLAYtIAFQTB\ngxTFB5CzcE6QS8vZ2uZeBa1Me2BpnFVqKnMip2SUTxi44PuXyKdMxSMueLE+\nOMVeWI28OiVCgC2f13Y3SA8jHQ3sIxTPiSLNoT1Pj09rE8bfE5d3Ly0ve9Ms\nSNxpOdRCLwP64QVKin71dqqtnQk/+/ocPKhKbtg8qR+53hlON/QEBzX/1fQq\n5kVoPKOnX8pZ/6FwWWw39gToU49TTh+cYSCkmO7o+Dl8zPxgFe1J2yabhDzV\nJ+PtamfhgRxlvqNj790bVi3QGR/vO2BsMIq6C5eizbHoi454ZdzaqTMq5IUx\nOHLTeoiF5OdvMr6p9iLHhjc6SdZprtkToWInh/HUS/vhRYy9ZJYl/hY1Z8Ob\ngh/QIfe3cah2E+Zau/xr75aNOaE2GU2grop/My5WDlCBn0Jon7iLFJirxp8L\n4/FcJgG74mh+gwH63iwNFEsKdB4+OIvmF+hOLvQhf7itkWkoVB2aC5vQjI3n\nBoo8nyeAWimKv+Qg9SwyZJGW2/UfMWA67sgm3f8AtAOQyFOQbhDituCpTvIF\n9e41uU/d7H5rIfbTiTF7kcnEd6Q2ISR6ytQ1FMhCQEWwAGw/OB+WLhoNSKCJ\nlJxpbw7EbUDUfKdvQfrEQF7Yum/CHiryaVJu9janZVNH5bhKRjYOcuHjnuoQ\nrpuu\r\n=JHBr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDM9/mdbHQql6irpnflUGa/NiWn1YM9KBRA0uRlADUCJAiEA7yUEAvXh87q7LJ/MeENo6AM8ozeLatfk4K9u6DXaJF0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.2496656c_1545156504173_0.4208883784189572"},"_hasShrinkwrap":false},"1.1.0-alpha.8a98f83c":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.8a98f83c","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.8a98f83c","@crave/farmblocks-theme":"^1.7.0-alpha.8a98f83c","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.8a98f83c","dist":{"shasum":"e4b45ab11b251d4c3eee586219b6bca7ebc347a2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.8a98f83c.tgz","integrity":"sha512-sbneKV8m6X0tD4ZmL/4PNlxk+GJEi65dneb9TTCLiqHvdXe7WOT6KepEqYKtIG+iuoh+Ymzrrm5vLLc/hXimnQ==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGnHbCRA9TVsSAnZWagAAG2AP/3q085uYI7YuXxOIY52w\nkP9CCKVmzLiYG8P5uiIKJWXseF6ofVtNw2OUlQvFaCpKf8n5jYiyYyk5FjNZ\nlZ2uKlU71t1BU+XFjBqkRCGKNbuSSHbThktr51Gx7PpC+0WcUVwE9lTZqNld\nbYf1CPTbqQJrn5tOXXK9RCNJO4UP/Bb5UiSoRag7ohwBXQ0QOn6RdGBOeFNO\nE/l1RfXyWlNbTzXtquh/Wi0NpW4iXXFTbeH5ukN7BcWy37DkvezDA1wOhkN8\nl6KcyRISNiQBK8pC56kvuMijgwuz52uIiqDR+haVcxZKZ6r2jiNi2zMVhQUx\n4a5GSNTMJek8gTky3fcLOJLwBiXV+gB6+KXoCWO9XfetyDrozEzJWV7HwcZx\npCGnSPV8Mw5aKF+8NO3khLuQTqD0I7UNqamqGSRatqzH8gsfakbPgVkjEbxF\n6W5o1mMzms390AavCjYV0dvg4BzjT2ZG6WknFmuQVoELofr6fklXhvZeFG9g\nZ0JlsT3FcsYxmk90axbjVsBWD64oMCuy4LOVcI9PAOFnQoAigO+XPV1A5gDu\nr4EbZQWbZ4jZ5GoLT41cgyo8lB0Jo4mtvkFq0x63oCZchO6Oy8pQS/IPhsvZ\nU5Rh9122UsOFeTAsGhJ/SlaVr217od9CfbtNRrJJlPlxdCJqIAcWU0UDxCDl\ncruH\r\n=jORA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFRLMEEnVLxV/akst1LYLO+rt6snJX5RCtLmECHd5zA5AiBiPSIq2+8i5Ir979ab+SnLRKdJwu2tHrfcJvaDocnaIg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.8a98f83c_1545236954795_0.850877495126807"},"_hasShrinkwrap":false},"1.1.0-alpha.7325588e":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.7325588e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.7325588e","@crave/farmblocks-theme":"^1.7.0-alpha.7325588e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.7325588e","dist":{"shasum":"115cd925f03c03bc9bf60394a1075341cb066add","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.7325588e.tgz","integrity":"sha512-HWAN6RXjFfGmZYGfbo38yQzfFf02BOS4gO39CyhFjc8C8utt4Lcqpw5YDkVd529gJKts1qr+ZTh6S3i3uAkUWA==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGw2uCRA9TVsSAnZWagAAzN0QAJYnlZOnjqGoRyOeI865\nfImACq9oaVTQivjCdrX1/IGBSkDHpl3MjyJt10TXjH5jFkLKqwzNp+ajUY6Z\ncjbMl1HuycuNRIEJXxCZq6Vv1jU/NL84MgYTXT3lCEeXpG6fnfXUkQTk3Z+I\nxWfZyLD0rGbSo+lXlkxOz5C/3puNc+kKPRLZA0SlDzMhPJI83nKLe5FEHvGF\njHAUVe7CGMXMizIyNAzBsxP7Swn4ygI5MsOXjfmTcnHKqsP7reNU+BP+6duZ\ngLoywvTl6u+pT4U99dbJgAsxVj4x/tC3Uh+SwJWUjKwtLCmA2wWfl9cSU27k\nrwiGF4pszHf8Jqw6istfLN+130HMctdfAT99lfDnWx6AnZ+wj5aJwtRhjRXF\nogtrSnrg04npnrseaXspG4XXCY/8TW7SqZh5owgjEsg6Nej+G6Ok2eKQqhD4\nB6RytnlD1esq6aKm57YQ1S1aXz7L8CztD5rhBXvbwceK4UVDJ281bLWRXcAU\ngLeR8xa0h8Nj+WPZ41nSs0mtz54UHEgJQ4fXybCl0L5of/IJAFcR4vls40c9\n0tmknrh85tv/41fiV1pVizKFMpO1rOzm3G4m+a6kKPGUAZb76+W/EJmNY+46\nJh8VA94WFHsxrmNPhapeQCC/6aKKKT1u1cUuUlv1QN/DvKWBG5yGPOoazgys\nEl8v\r\n=om9H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4p/m/XlJQ7IKqHMz3/vuMaxZ3JNILbv+K6g/kyl33+AiEAggliN8sh6bs/FzVZNVthAik65OEX3mGJheBOyhR04vM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.7325588e_1545276846391_0.7501994871743323"},"_hasShrinkwrap":false},"1.1.0-alpha.4a16a3c2":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.4a16a3c2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.4a16a3c2","@crave/farmblocks-theme":"^1.7.0-alpha.4a16a3c2","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.4a16a3c2","dist":{"shasum":"fa13555840748376891a34a1ef47c4addbd09b26","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.4a16a3c2.tgz","integrity":"sha512-Cxt+Xt9MKOBm25Q8z5XnGYBD2aVQWDgSLBESQ30k8Qmz1AgFQ7e2h0rrRbrN5869u6dIGjoQSlWVZpOFxQ282Q==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcG7kvCRA9TVsSAnZWagAApnQP/jg7kVgB8A3reWnCJ1sx\ncG9ynkA0ZLvFQiwUSohwaYYPGYlRZkhn0tRJXya6kY5lj34T0DoIlYtsOMr4\nrT8Wdv1bbBp7cXofpabqPaiyWkql9pvE3LZmfPf8DvLGxXm0fWKlP0o4yXIv\nZ59hazpEzs6+Lo8/kgg3S9vq3c6xRd6Dvz1w+g9+2zBMfavn3Px+b1DGr2QL\nXzxhxhZ3jhcazSH9crwanC7IJzGXudfCCXA/AJ15dhGrXu7JGTvm5k+UxijP\n2/vMw/xxZkMAwyaHsOC14yLvpJrmQtcp00yFjWm0LOlDRLpe39Bs9fOe8uhu\naTEybqF9qSUWCSXLh7wtFjoNU8cl+wa7P0+BX8gYpBhy1NjCoLlCmT8PYCn5\n7Mj2HWKZFb/ksqX+kRi20/Yq1fsm2GgY3Ua6YEVybogyLqUU7mAVfZWiR9Ke\nbgORYOlj4U4htc26WF2fCYe2whH2wV307KKXe5Yz19XveC/cA/afm3xXKWo4\nJ+XGXo3hyhN5uwtyjMzHiAWGAuLy55Kl8ezejZHARL55TVSrfoLzsjheHdoh\nrKPJpU2xoyVW8JnEyq4XfVQCIql6qVHPIU+CFWuMC9o7RG00XJtuOCJzxt6D\nBPgK0JuC/BQoGQHnmiwhBaanimA1IMf7BJEPeM8IDRHrE0bdY1Xjk2VrPhtw\ni2FV\r\n=mjKP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3SXxf4T1wN3E979x1FFIHzmwXa60zZn9DBTGvIetEcgIhAL6eQsnoig/krik74pgoCVkVmUf6AolU5itK6hov3dcV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.4a16a3c2_1545320751326_0.7404042587477402"},"_hasShrinkwrap":false},"1.1.0-alpha.b4f9d325":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.b4f9d325","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.b4f9d325","@crave/farmblocks-theme":"^1.7.0-alpha.b4f9d325","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.b4f9d325","dist":{"shasum":"5dc6b274d1f7c39fcf68b6d85d530e939917b2be","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.b4f9d325.tgz","integrity":"sha512-cpiaOLViIJP7bwWFVuvFL7Bfhy/swVrXC6+vAQQd7EQ3jTcYEM6EefBgH/cfwibnn78Q/upEtG16hYAswynV3g==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI21iCRA9TVsSAnZWagAA2qsP/RPi0JRhk1UkMmqMpeRe\nbytBd8p3m8eQtrmKFgSwDINXM4RmEBvn1CRYCM+njwNPdbiSSOEQgU+cTb9w\nIfuDrt5gtI3izkRLhWqX78beGMCPivqKy0p84Gxn7/j8BYDXADViWn71+NZp\nTZDLv9pieoyMoojzmDLUN8blYb9o61k+MEtYZGM/emzGBBgWflF+YGOdF5Ac\ng0/27OeM1hQUJJ6uiIb842LhZEy0o1kpZ+YXPaa7ggsQeTYRwMtW2UCt1k+y\nz07IqN21vnWb+NdDazGf0izRjKp+y27P0/ENZ9g49+B5ct3OfxoKpKW8i0j/\n7UrCFENPnES0MVPyrUJyC3ae/hNtXuo3iHINOyldT0EUr+QGNWrquAxZKIXR\npjAZ768jgnplF26IMKWca7wONay2ugx1jrNKeyZRzdHna41edHq3LyCV9Qdx\naNhV2d0/8YGJyiCC5L/C00KwGdZ/mYzLyTriuYzo6NMiTHh3BIUVQ7uyX7Mh\ntqA7R6KwK/ljOeS3KQCYj6fTL9dYbPpRScqBCyWDr+zP2xx+hifgJvqIdlPp\n7hXCTOXSXyoMNAFVlFcnnsvBVH5iABHKeZx2PZCemTTeDlbNpbwOadJoclJM\nJuK8YzKxWdaz3Is1P7rIeBXxZwQ9bxQsYwbqZyQS6F2b9S1iG94xL/6IfIFL\nYRUy\r\n=ZvN2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXHjO11eX2Fap/oXiojBkHhffhnhUyk3LLOxOZEPsJmAiEAhN9CzxR472D1tsvWewDkP9glXMasdadRAXtYgGXIX8A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.b4f9d325_1545825634164_0.14791336800380273"},"_hasShrinkwrap":false},"1.1.0-alpha.7c5cc223":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.7c5cc223","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.7c5cc223","@crave/farmblocks-theme":"^1.7.0-alpha.7c5cc223","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.7c5cc223","dist":{"shasum":"8e01aa880f74ae1a1ad979b0f33878f32d0b12e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.7c5cc223.tgz","integrity":"sha512-k6FO2mDFyoshW6UYzdgohqUp9rIp4rVIM/8fs6oPIQjuMdJ//nMkNsWPB94rvRj87PPtcby2GZQZPKQPONvHlg==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI4F5CRA9TVsSAnZWagAAoq4P/23x/ZuRH1lqRIwawfy6\nrd2awy5TZRyZ0Qstb13ZStonH3+DCWB9c+iw5+7VBiDnO09P3AyMm6lyLpn8\niBNv5ge/VxTVgbJgKo7TyeIZdlNwDTywhwp4/ZnYdpSOrXKMVnmeIcoI0QW+\nFknSP+QNTv3Xvb0a+gRTxcQSPJwF99zrlobQIYdYyDnUaVoNcDwLMQ9TmGxP\n2t9QOMqiF5kJmTDGETnzOXoI+mT1cUIBuh2FR71T5UATlOhMqpGaJexETK2m\nC4cgKEKSHMQi/Wj9ZqRIEwh5GZncCZsKjOJQnSm/N5DwuNBDcTfQH7O/lpp2\nyFklmrs8Fl9kUUlajw0pFG38izzZcnuWObcunP0Vb1YbAiVpe0krSwLx7UrT\nlDOQIPVC/MY1Dgad0M3Egb2DtYD9SESQ3eqZMjlsmb3mEuYJyj12aFcLcaZG\nJ70h5z2P/sO+q2n5We30pK6qLO7z87oV/nf64NLhv+r1zisOYAjeQfCVwv8W\n+S4ViB44VssChg5bJee5pLR/r4YdQRvGvEnPiLUNW9uN85ybpxmZxG0wt1Yg\ngKinDwN5J1GaxZfco67TczgQIJVeFSnQx7FXLZkpk2glI7PePdjndiOPbC1i\niZb33sMK9z1lk/8bcDqduYN7sAPMyR10Ri6pikpJDIse0RFbubNxqv0hRS/G\nu+OW\r\n=IxxA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcSBy+s3QkQNzONyJIasMoDOLiNruSCaEE3+vExPsKuAiEAt9Qt5QmB8+Tpfuwl3fGpofl2Hqb/Ay1nXKdlsTEemMo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.7c5cc223_1545830777331_0.6505369441125417"},"_hasShrinkwrap":false},"1.1.0-alpha.198f2331":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.198f2331","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.198f2331","@crave/farmblocks-theme":"^1.7.0-alpha.198f2331","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.198f2331","dist":{"shasum":"f77dd2d04ca6e7de58e78ac00a82f980cb521faa","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.198f2331.tgz","integrity":"sha512-uVYWf6ZxV9ywN20nMWee2PxRimTGylorYq+N1FkWIzV2m1y8ue4QFiWrtpx5/Wfw1ATUAus9Tt270wIGcG1saQ==","fileCount":15,"unpackedSize":31983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJM7rCRA9TVsSAnZWagAA6QsP+QE+a4JAlIKdyFg2niN8\ndu6CVx1OlZKbC97x/AXBxmXzFN6TFxEeQGJjjn/RG2fPKygY8NaFpAfZeJ5M\nwUftU0K9mntQMJCrBGpQwPdiAOBnsFv83Oh8f11Svr2JaXmrgjA7acHtcLBK\nOWGE8G8h1v8zTTcrQEb2nWpeT10ngTtJtCGANlyKYbYFkkfAz2pYnC/qmX6G\nr8iQGqU/kroDyO5Vi/kxQVouAGwmqXDcfc+e0C+EUJ77xeHn2buCY803yYoq\nioaqjAZRrmVI9tNUZ243dApqDBOPSw8HOy5RZBVxxTQUrj8FmNsjtAINdOnl\n1dkm04y5N44zw8zcQ6MeJv1i9t7x9/6JV2taw3EF++sWlk/uDrCfJcq8JkoW\nxKpIXdxzkvh633vSjCLhMSRFwk7z5t1CmHksS8Noem3gPtcn14oNpO3Sam+O\nwLsOcfZR3M5SJJkwQrIU77JvjP4+k/yv3u1yRYBG3EqplZdgKxoREfAGc9ax\nrF/7lH3JJUGzJ4AdwpVMST/EbKJHnfcytX4q/frMZv3iSNboewOKDSEXtPal\npEsAkDSPfnqXtAMXOLurpXRVdoKJH7SrSUlh+qH7jDh79VwQXML41Z99LU4h\neH9QTHH1uaHmAMbZSPkN1RKA7oQwjGwPTKsSwfVklE2a2vLC10QgO/bNEN5K\nzCwk\r\n=7VmY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7U+F/l9mDKd9YWrGbW2QkaBzV2bhM4FsybhYX9UxXYAiEA0begNiC+CyNkcxKcXPkj2w3B10MQPhbOg3JHmMH4Mgk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.198f2331_1545916139005_0.2986841953254211"},"_hasShrinkwrap":false},"1.1.0-alpha.20dc0302":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.20dc0302","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.20dc0302","@crave/farmblocks-theme":"^1.7.0-alpha.20dc0302","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.20dc0302","dist":{"shasum":"954bd7c500d9bf260ce37a749e4d5f8fb99d0b85","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.20dc0302.tgz","integrity":"sha512-RZjSL0Fxhg+L1ESS+INQ0gWUgs0kv9E5OYcyPjYNYXUlMZb7NGxANqI7VHCpzNkUIbfxNVVNcNdl+vSuCe7yEg==","fileCount":15,"unpackedSize":31983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJN34CRA9TVsSAnZWagAAGn0P/iBqi8IkXLB8JvaPbiNu\nslC/siQppWEinPq1VggY8hZYjldkTeoLFGRTJETb4g6euKM04ANBkh+BIzeH\nc9wrxpaGGJFiwC0qTONs/jfIXS94enUvZRR01fqrKroyahgdEyxc+dIlcLLT\nhVYEfA7jxvmNPrDuijQGEIuuQet/uDPAOQRLfXkt4EGtv5q0Kj3MTAHkODv5\ni/P3fU20018mb90sIxn71njw7xOvVDJ5l5pjVIm56kLdF3mpJgISOny8U3rm\nXE3/LATOUgLOON90wPirbJ3rcndbJHbj3l30FvXkt60msDQTur4nbg8oCv40\nIQh9B+Wr+iksLd8DkO1ZYcRQzhtmUrlcy/yFGRA737+fj6+tTftHHZOrH8GM\nPgA0dnhnT5P/CXCP1s3QtRFzWGR6FD7jqKQFAlrNpLrE1pouspPsYvA21GoV\ngg28OaRSmf8WC+5dMrXX9v87M29F5YTRlXhKuTn8jPpyI2VFSKqyLX1892Ye\nqmPOqOAkzA9+EnZq0kaEkJV0qx8r9xGrLUbxhdjMQGl6jKcYbzdqyGh2SXgl\nARr8P/RmjXLLAB3yhPHnpZs/Ds809l1lgerc+FkFpdfmnieamU6LH9Jt4ggW\nvpGXdM2oYfeeGZUZj3Mj7L6uvljahdPACrTE/+oaAEPMuFHtdf4+4mBWcdj9\nkIR7\r\n=+m02\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICF5Wzpa8p8TJKlCQw3f8MnEM77a1NBlwGd/qtvElF6ZAiAbUU5vQaWQxFbJphTwE8qsG9WItDTdkfAO7ilGADisHw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.20dc0302_1545919992393_0.5773910602037917"},"_hasShrinkwrap":false},"1.1.0-alpha.5ec96798":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.5ec96798","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.5ec96798","@crave/farmblocks-theme":"^1.7.0-alpha.5ec96798","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.5ec96798","dist":{"shasum":"602e920d0527d43426a0e43d4ae6aa84757bf2ee","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.5ec96798.tgz","integrity":"sha512-7PiqGMIs8NgUoqukcQ/ugZ2PMk0Dqw/dfMC/TyAJfV4In1ZBl/dSVxoL4lvy8SDFwlHU0YLzg/bvXVonEZBjzA==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJdtUCRA9TVsSAnZWagAAerQQAI6gpezlhDuTR/yFWEWb\nDgRtZHApjNhaZ6sEBEPuoyCp4mLuOqZkWoZPDqF3Q6ppoU7run9K/QxuvZ9z\ngaUeLcA5dLxIK3ZWAsQd/UbkLV6xD4dNvvJGmqyhlS/5YD/lP80SiVUHR7mJ\nPabSWAVYSUP0nkpv38iyrWBGb0B9W674Sg9dNbwKpkocJ80sSsvzhCK/FO0a\nbcT/TJamKa83CZwd4kwC4HpT+nYdIJ+EK7zsils9VdhbYAaj0h185++ugsXl\nsfGLiqqU9vZhTgTNWSueWMhlP5HBS1oDkfSjuOvh8q439Zi4SrLfMGFNwt7X\nqZsx01J74Vi6cSNjtvHmYScWMBOmhvzS2xRL0j08iwVEgcxEj7Gq6f8z5744\nH4unjXs44ILGuAUiuPiALYaHKZBRqZL9B8GWe4wK3s8zjytSZnRN3uwHES7o\n5XPFEgnjsN7CXLB1//DSh4OU9liZxaUcWuz1M6rQ0GoRmrGJRzQmUDxCHpto\n38lJO3z+QbHGTnwYl/BXk8f1A6gImi9tSrmUGA30o+ydTeUlDGiKaocebXvb\nX8OLpeQnFBSnMMeeFoXNktBtzSEpoDs/kktmnUc0QW3lWCdAIBRjXZLSEiMs\noZFX1rJBDtrRv4m9tJFyM1uoj9tfCsFUbym7owmqJCUeVt7MvhT1u2iUKhcY\nbMqu\r\n=MTEp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyNUht/2ORK/Pp8FzC+fhRwptGs9rcoD7oUoAyT8qyuAiBuUV8816siUOf4riPSgavC7BTZpD9h8uYaADC5ALAbiA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.5ec96798_1545984852109_0.3345333519411793"},"_hasShrinkwrap":false},"1.1.0-alpha.3152cff1":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.3152cff1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.3152cff1","@crave/farmblocks-theme":"^1.7.0-alpha.3152cff1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.3152cff1","dist":{"shasum":"519f4edb9f833980f492f5a8f09a94d7a6d894dd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.3152cff1.tgz","integrity":"sha512-zP6qABqtDqTehTiM09lUi4W5eldZ/7ahml1aebH5DiX5rA5+umjL0bgG2NLHEkDjd5J568RS4+N5esf0qIAm2w==","fileCount":15,"unpackedSize":31878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcK0fwCRA9TVsSAnZWagAAL18P/j/iW08NOjSt/AEX9OSv\nItIKt4OcPK6lKsX+Jacqr2qL4BsACc0EmI7jmJ3iRd2SaBm8Xk4ieIQ+WZ4f\nYVbeRNy9s6qQDLJ84tVzs+J+/efPhcv/6fXgfmpRoK5SOK7zN5OOqOnThEWS\nJkKvqX/SNkNtWb03VVTOHd/bLoFs84JTrH4IWRTt9H39UNKY4NipkKu0cA9H\n7G3b0XcTUVLt/+8gDwUrsaM+q4Gft7xmOrtqVfPjNX7yS2CFnF8VOnwd6OkA\nJcf6hggs1c+clHu+OfROMgZZ5SBbCzZTNSpHvgnh49LO6mScXonwXaWvDOjr\n1ZbCDAYZa80uKaqMJsfgRqllf66WkeCicDzqsn2xv40uXhcWjeNxn/138fpY\n3yp57pLZueO6nnijJ59kV6Xjd4ywYnPN4Smvj4XXa6n+Dz80nfYVbIHocm6d\nLbZyDRYIOBj7E8gjQ1AHs4YgkHDEsXPQFlvEhsc+qFxlgxaOkCfbBNozU3L8\ndYjCTAvBviZPEEjR3ENvGLZrLxY8YpDeFsoT3w/5lFZcZEFm0piVzTPerq1q\nnAn+9ek/YvneXsAIixL0OGrNqEn1kx9zkaw93mHT0OlilQmP+fIIL1pZOvK1\nt7XNZog4I9G6IEVr+jfdLTUNsIbg4+J9M8DK5uXHlK8n68JCOaZ3EXaYBwGO\n4Zat\r\n=6VTG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDdyNFizdB1po/rws6kjRKU20zKlpa4W+rdRJAXjCVrAiAdNe7c5n+DPlqg2+6MPC3tgsymMwGSxa9d09bxQ9mA1w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.3152cff1_1546340335451_0.4913420548132825"},"_hasShrinkwrap":false},"1.1.0-alpha.140e89fc":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.140e89fc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.140e89fc","@crave/farmblocks-theme":"^1.7.0-alpha.140e89fc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.140e89fc","dist":{"shasum":"849132a003b6bbd5965efa41a22f691a401a43ff","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.140e89fc.tgz","integrity":"sha512-Emrwap6eekam93qbvHAgIcm7MqLUYhJ7S8dNaQR+ve1xUGv+MfMQfcAFjtv0UUbu6bvPFylRnEvjItZotb/26Q==","fileCount":15,"unpackedSize":32316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLNRDCRA9TVsSAnZWagAA42cP/1HRaqK882hyMYo3Bhnv\n1Vd1ziSRyuQiRJKMieb08NKOsN/CvFlA6nO/h91DpAOQYsBJWzzpZ50dMFhB\nyS3Y/XQ7kB85BzqMp02cRoouf5cBoclVY3wuWmUG6X4gL3fXSkCk2YizuZTT\n5myy7v8lRw1nxTqKcLUhVAkUI1P4XZdZ+cBa/hoE1ajjDY0dOsctb8OjJ5tF\nBCz8zf/76X81WjkVRnLam4gqC/CvtprGpZrG+tDBqB8Vx+LeckNv/lv26Ps4\nMnaqw0wgoThM2LoQ2q6lGXipoaGK1BIcbCwea0GD+pvt9Ji042hYkWtrCAgZ\niA+O6sKQmdHR+AS3zwWFwntT6mv3YFLL/kPxbudi4GuqpFy1C+qG9jVJXe8t\nFm8mSlKfme6Uy+C7ikBbcCWFe++CTPGXizSV+ze6H77h++pcMt1rAnedByZt\nnlMbsYNSoAH81uvGdANWk6lEZhMsyrMvVSVvxQuHb6ciTt/7YXS9Q7SXsDBo\n7DvOWyuRUT0NjdWek6uU28mNVcWRFP1QDjPy+SbzeWsAFTjBV6htcpNjB8FL\nl3KRa73pZzZbBT6apKYJsjrglM9y2kVwJZqeashm6tE8FOld26QJcVHOi7hw\nnJrBYoJWooqDRy9xqwyVUZTAlKOATQ9CdnEw+fwM+iePkbgFCD/2fp+PFmLj\nq7E/\r\n=+LVL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDS9G1031vMFozn97qPz9r8e3g96udrga3XDiXaVJb0wIgdb8rY9EwdVZkNCbjC1HkF8Xzw6sMALtQWkuIY34Z8Uo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.140e89fc_1546441794803_0.7150911758638594"},"_hasShrinkwrap":false},"1.1.0-alpha.58cc129e":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.58cc129e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.58cc129e","@crave/farmblocks-theme":"^1.7.0-alpha.58cc129e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.58cc129e","dist":{"shasum":"e5b4b6271943e39d3437e8414136520e47ad61f1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.58cc129e.tgz","integrity":"sha512-ncxcRO5mEGg/98Xwqg13Vvad+BpTKq2d2hHhlBxMGaDCvLGAOdkJyWmQxaIFbN3ihdVRN3n2U9MTUyEhMcTWaA==","fileCount":15,"unpackedSize":32316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLRH/CRA9TVsSAnZWagAAiHIQAJeozPcAHt6stZ/vi+G+\nuFH5CeCDvzs522e7KpTP4lQSaz5CuIflYdvIUEstAF52vLAKHdVZhNTQO6ZF\nx4lm4usb3XT47E5hUCcU/AnyoaY1F1KSP9VgP3oG29yUZFpDUF10Af+9szq8\ni02hbj0IR4thnASO4THepzhsqxdqrS7kDx8gFw86kWGtV8oHfTkkYB8Hzcx9\nRSGP5WIq1URiYN3o2JpgSzNbE4YBF8xHCYLF/Ozm/F+8DG1OQ7chfGLgFwcM\nKIq94LNx6kpZ1R0Dkf8BuMAomKKihZb5a76REysPEfp/fd7iedUTRYUtYR5j\n7NWt3nieNUdQLfrPvSMBlfcRMIeAFoh+WjkZeX+lJ5+WxJwb3v04EHfn1BX2\ng/+2lRaBHriRB24QtU2rP12R3q93tdljqfk/WN8QBd+zUj4j6W6rqD0G6Zrn\n9sZp5EJFunW4h4Lt8dkdK6LRhwdoN4yeR0OPbhHOOJepzzQ5jJsKuSoo90ja\nmzDiXK2eWXO4OIAZ+5xbaRJJns2y61K2N0AfrQSlgRvgytKHpWDMpMkBkHpz\nmJLE50HoC7KvAbpwdbKB5h7kL5fG4pxy04GmMrbozAprEjU1WLjnuZXtqwpW\nHWYL2b4ZV2nW2FpR8DKff8ZymtyLie/hjet8lxZAYXKRFGnFz76TQXWaqqgs\nK9Az\r\n=JuJJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOlyEj2RmDEJ7VJgoEvsuDIpzAk9MXrmyVXyibJgNEfQIgenz6aSMsz5cqOcPE+uvlQu74ejqJ9dcyJgM7uDUPnkc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.58cc129e_1546457598671_0.5071659276717926"},"_hasShrinkwrap":false},"1.1.0-alpha.b06c364f":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.b06c364f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.b06c364f","@crave/farmblocks-theme":"^1.7.0-alpha.b06c364f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.b06c364f","dist":{"shasum":"1f6334d5b1d1e13eebd4340789ab178bcc4808ca","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.b06c364f.tgz","integrity":"sha512-cVNFRVPbVOlT11HpIRqjs7BeDgHh8uVBkCiN1ccpgVpUB5uuxhJCf2bLM1zuJ8e6WbCyaJN6Cnf3tPXg6VClbQ==","fileCount":15,"unpackedSize":32316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLflsCRA9TVsSAnZWagAALX0QAJDxE8agaPcPKDMN5f8O\nsJnI5Yd73uhQIWH/1jsqiWtfUzVPLhytG1Gw2zSdMDuxpHJbvsPES+eCe3C1\nxGTwcgg5R+I9nQCTwDNJEc918OQHBrqfBc8iHpL//ir+14CU4Y8hR6MNEThB\nDgQysb6uoziWQmi8WrwJ8fqdS0zIVQ560SiJEZ7dBzMyAq3gswTozvIitwBh\niI7QdW+8JiUroFj+5aUNlpd/5Ey66M83D9IZobI2qGmxbXSI3eSewl84aA8K\nQEO4Bop9+0j9JXiCN+kaMyDhgGo9DVGjLxP/GiByqpirjpuyge0sK5OVk4Ur\nSdg5O/X1YdwpSXfAvDui2/2z+yIViF+jU3XphDWYaSFzJOjCYgewqPFFDSwI\ntCtAipxEfMQfO9H9WhZcZncmJ5B5lWdYbnELK3cQ7NANg1eBZGSwxWVmvQkp\nAPtVAebZ2NRal2CitpuyKJ7D5vWSQ+JQpzWhXljeoh0Dg42HyJUKSZRyPPCj\nP4oAlc4gRF1O2clr8BVO/SpW+tnRzH1+rJRI1IAzB8TGAf472ZBGSIaU/BXL\nMRgGSfmKMz3r2U8FDCt2lFI4q8VbqnvLWfojTujgz5uHytvFMZjL8Pk/y6Dj\nsmG/532UkGLmGMipItobFkP1jII/awZJeNoGswRZ+Kiy1JuLA+JmqbUAQmEU\n7A1h\r\n=sBwj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN0DqHabOv6KUO0jWJ8XHKOux4+MNyD3mAoKJudnwqzwIgArC7gfnPVXDci/QfMFXQ1LSRtBQpTMxFF6D9qiMWf8c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.b06c364f_1546516842683_0.7366410670002068"},"_hasShrinkwrap":false},"1.0.10":{"name":"@crave/farmblocks-dropdown","version":"1.0.10","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.7","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.0.10","dist":{"shasum":"a8b876d69a9a899644af6fc0e9644d15dceaee81","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.10.tgz","integrity":"sha512-3O6N8dIApWK44DxDI9vGWJqcC64QgMuJXQg+q9v3PmRHuU12MwD0fazQ9gGe0UTqrAXJjwJTmjd+bMJ7ES0AZQ==","fileCount":15,"unpackedSize":32231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLf1vCRA9TVsSAnZWagAAEb8P/jg8MjAuj7ZeWcpHFSHq\nVxwcg3bJ+RC0FFlxNVoWZk+xdQ26eWzgOcpBHfw0EhEzgLb44pRlwv+q4qzS\nQadga1OAeK9EmUSUR8YjgyEWd/gnzWPSmmvZbbnwTA5trr+GFAZK2HUUvul3\n58u31R3XwBYBz0NCSOY34affzrB5wn644hC1uFIm2wTj664VsmROFx5hQt1w\nE024huGJk9TQyTY5DLJJ1tDJk/XmirFJC23r0YS+nOKv9Gf3QPwQHFvYTvyP\n/LFQnyE+mpJE/9My45hjYW7dXd68zJ2TR6Oipm8nz75DitaYjwJdzY4q7a6A\ntFX4mADP5Rg/UdZ1D+NW8Aha3fE60HRJJbWjXx/5lvpKhZH9GtE/KqwmKiMp\n32RUVl/x4IeefOFcyX/lEy31MlUK47AOIOw4oOPPk1EBzvirjALGLDfPKZ4u\nvXiyvRMGaxHFvG0EviLOmj5K9JulNzU+iCtsxkPS5+VI9z2oQzZ3H2ATMxLO\n7RBFC6JvqQktwt62DCc/ApVBQjDKv1ovTf7e0qzGYRawF2VhjL5rJmng9FYT\nFrMkNuHi5Fa2V/Cz+/Ph1E4KQXPgFEUfY8LlrawdtRhDfA5wsejOzSxP0DTY\nlg+swrfQ9pKTQJn5eXCg00IePO3NthgKCO6IJSXafujOOoT80M8hXWpFUTpK\n/NBo\r\n=sA7U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIHM1bfRTis/IpdiZhJEzu/KZ7j4tojeXe4PbK4hdNfSuAh9VAUqFxIsjOpQJE2MC5C09LZJrUe3a8iRTxf7stUaf"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.10_1546517870876_0.5101702700142949"},"_hasShrinkwrap":false},"1.1.0-alpha.52295049":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.52295049","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.52295049","@crave/farmblocks-theme":"^1.7.0-alpha.52295049","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.52295049","dist":{"shasum":"94c0322ac227e4250ba92db880aa239896394ba8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.52295049.tgz","integrity":"sha512-tq5RWZ78PP9HGtnxAotyZn8PLU7nykqWSHXDFkimWau/iYog1a0LioBQuiBh5UDvIRfv7+BSaNvLc+EzjbqgvA==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLf/8CRA9TVsSAnZWagAARc4P/3hO94umBIzi+LHOlxtx\nQ7cUsZosFL5WkRVxunWaWQeSdW6EAFGLR7cddqDOPaGQuR5B67Zkaupc01BO\nIDvQd05hO3wp0yicdjedu3f3SGxV29G+lb+zz44VSGvzffebY4NHfHi+xPCP\nsw+w3+0vkzScW5sihtg8Bo06jQpA9dDLJopLqZwL0dtFSv0cGpBZxzjagH2d\nfgt1tAVHUFbgAfm0wnH0y2VgYVhUIW2uyZu8NhorV/dAQwyqShgbmEoakvsG\nJf32YPiygYojzcZQYL56qSNJ5cl+N6I88Mdox+nLMKkAbkY4zZ0bhKwnwrgA\n8wHA8O3lKVGK5bw8IMGiLYEOBHzH9Tfz7Sk+Yz+4ealc7S1+GiKB77i5m/4W\nBbA5XocHw1Fi+3M0j8reKs03ft3re0TglJdqftm9qyW+i3af3HM59P1duLRu\nMhsfckhYXdBOCZO+tOSpuIMPRyUhnG1/mZE42EaxtyjxbXnH6HFTlWzv5sQO\nYrcdwCvP8Vjn8gQnpiV50n1ggM54ZNid26VDB1E9dK2BoJstpPQZz2wBz5fD\nfv1NBZ6fArbLyLyOqwGYlsY5s12ysC7jahDRBuU555+FAV1GkY4wojyD4W/0\nMBP3P2uhmm7zbW2wbx1Ud1MEYe7CwbvII7K4UR33H9X5iHRQSomN2N2spE2b\n0FdX\r\n=z920\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASzpRaeA7b/5twTv8HW7nATYr04UenHHsITS9xpS3YYAiAQK3ey8X/lbLr3QxRRNLEpBgt+GEYb+r8tVZvf2wfOuQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.52295049_1546518523853_0.5777053177850626"},"_hasShrinkwrap":false},"1.1.0-alpha.ce9dd01e":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.ce9dd01e","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.ce9dd01e","@crave/farmblocks-theme":"^1.7.0-alpha.ce9dd01e","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.ce9dd01e","dist":{"shasum":"b61abb678dfe13b49612100f9a990143ff87cb56","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.ce9dd01e.tgz","integrity":"sha512-IKCqTwH1hvlCuJDykEV7ywZ35u8ny/ON1Lf3uDcCP+zhFh/JzEOclAQ5L7fak3gOvSFO/qzmD0g6RKLSVV0WRg==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLkouCRA9TVsSAnZWagAAIosP/1IsRUPexK8HF8eJJw9I\nqeAtvRTln+S6LtPJi8Gp/UuLzgXPWutyO7cwOmD+AjqnHOq2D2yUQSh4ejaO\nuYkVxTAqy+GzlBMR25o5QhKGsRsGrjOHccbAHJHpQ3sNTIpcOgrfkivgPML9\njEpsoB7ONRteFmsJF2W1WG2W3RVa6NycszeklI6UFpdA7gg0aAMo53WB9ZDd\noN415hWHB9pLWFbeKqW1ls6WOq81r8Ae4T1pWc4Gq8FiWKcWPuhZ+lQqi9RY\nHPns/aR+Zbnx8YSmEqlv3weJhQDTcaIbMbcEq5e24eUP5aAXnDVIVtcAoZ11\nbWCg8XPkZeLZrcwCPNTpmtcR7jin9rHGKII5TnNkw2EgazY0Ygi6eu359gUI\nxQsDeGKkp6fiKeGjmiuTwE87PjOYptcVVpSF6yIZdNh5zEHfa6BCsOuvhNNl\nQeW29xk0PPp8EGiBWLbYebDJ7HEf2koYuwdYeY51tIKXXUepOfeM9jK2a9ZD\nTdEecm6GlbrgNFOQShvXOAD1b53Xxk42AAtwl8q2jq0iWUAOAS+q8T267mYx\nY78NbhzVMoLDysuDXhp1EI7WsNjvOvqKHoTPd41izGDO/3Yj2NXb9R1WYqs8\nRUO+G9SunZLjlXcJsJVufX90ds2Bgf+RYIHyIBXbI+hp9VuFItJgAwmXhR+C\n5luu\r\n=SLL2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDby/CbbPqZCAx/zngtHh6LsMQE167YsCLLgERbyS98cAiEAtqhqWHFknoGfh5hnMRg2Mzj1oCBr/6ZeZiu5VaveE+Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.ce9dd01e_1546537518035_0.7308582078725077"},"_hasShrinkwrap":false},"1.1.0-alpha.9eea1bd7":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.9eea1bd7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.9eea1bd7","@crave/farmblocks-theme":"^1.7.0-alpha.9eea1bd7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.9eea1bd7","dist":{"shasum":"70c8c8d2a0efe185d858c0db9d5e8d938d79e5ba","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.9eea1bd7.tgz","integrity":"sha512-Pwv0dtj/eyatYTZuhLV+XXbsq3Qcn5wbA97zx/8GeyhBOR1YBz/Bf8NkF3KFH/lYCJ56mrIKFPeBf3mnEzrqWQ==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcL3FSCRA9TVsSAnZWagAAJswP/AiCXShq7dLg79jKIHFO\nK3GZaatizZZIAUYeInUiyX28TjBQ+/mETQEFCuFUPjhZr2MxsDK3EHsqweEr\nYxrFV/HscX0XL3euf1K5rRFhMXyA9dBZzqei5z4gJx9YkFzb37oEj0XSAqzD\nd3rKNmQfzWNKKbZwptWaI46KaWUlTaXMncdpRtoIuD9nDVs9BL9gAgr7mZN3\nLexwx9/7BteoCI3BYjB3mBuyqfJuB4mms1qlrffSq6S5bG6v/A4yy/ancX7v\nH4oXONBmm/RuAP8MwglWcGpzFsA7DQYZyFexWH0JL5GDxDCWEKfMaLat9bDs\nAis1/0P6DxbVj8+0fWvg7h/7S+OMrh1Q+p1wQdyQVo1aA6ognITqwIDcXcNp\nnWxx0uwu3407n5EgWQYqB8dt3aAVo9I/OSSnG1IQPJRLHAFDW3FQqYcurffG\n/FAkxA5cgeMWCQrGn1aS6VdFQuHKR5fF3Ndh9U5a+mdA40EwHZI2RQzcMrZz\nBWd51kwfyDGforGwWxuYt8dTyS3B5OlSdADeX2OTMwSU1lI2EFTCvCIwkoWT\nD8NZRRIk6lwWNRDprybPxSnccslCNU+R8VBt6Km5F0bp28syXXWMwGK44X3Y\nIo2aIS0nlqVNV1N5QW9zVPmo6MFmkdRbrObWiVYGVM8TWw8IzrzobzNndABh\ngtye\r\n=o6Lm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgo4xJ31iobDDG9pAEMGKD68pVpLJ6lw9H13K7tOxhnQIhAM49djg1ahwMOlFazQp2+3PoZRHUF76xC/mGUyV3eh7c"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.9eea1bd7_1546613073727_0.8955873048970708"},"_hasShrinkwrap":false},"1.0.11-alpha.7":{"name":"@crave/farmblocks-dropdown","version":"1.0.11-alpha.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.8-alpha.7+21fd7096","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"gitHead":"21fd70963d5010bd89ee7d0e27d9a63d8469d433","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.0.11-alpha.7","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.8.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-YPNjbOVbe1gmVPdM4GIUqhisqr1hc1jD52OPPZ9WP6uYJ/uRs6Iu31j5WEY0pwi4kazNPSvmpZDWhLbIoXrfoA==","shasum":"3d8fd4afd21c4978a0dabba7d3ffcd3cd1b41204","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.11-alpha.7.tgz","fileCount":11,"unpackedSize":32322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM3UCCRA9TVsSAnZWagAAVYIP/2QyCrPIJ5c5C/bg8vEx\n9I617720EYqlufBqCoLJqA4XOuX4BnY/EYUju0mfvPswoNIViBscBh+SLlxf\n8VI+4i7dpgAv8zPA5hW2pkwChIeJjwEOP3ARmy1NBG0AjgE4QPcvjqFGAg97\nTMWhS4xW2IhHQVrsy0hSrFLzrRU9UG96Ejwtl2rDI1cBv9GjvkLqDUhnUB2f\ngbCUyDRkCbJZkYYK9EEOT+TREijQU2pIdYg6a2q0ihAp+Gqi3Zbr3GjdVUEf\nd3Yzm3uKfHFqkTxmVXt99FC3qrBuyxp7QjBpP4aGyVURA0NUfZNXEjSfVR0D\n/YxoW4s6eTsky5QFsjPeu4dl1d13bNV4UyrQZCEMo55E0ocr7BldJKxSdpNa\nPbKTBPSVbDu4aOXgZm4bl7emS+VoDNqj9ZbGbljv4AZmIv7RUemvLVvbMQTx\nXi48+cC5k7yV2S5uZoA9/KxpfYnjDoXOiYXFTvAQS2dVy2yM3Ri/nDxB469T\nkTox2YaOnl78nhvXm3D4G34OJ5F9u2fhIlBUMrC6v0GrTpScGV5g1BDDa1c/\nYjtGbu2u0a+609gvH+/Q9d12Qx8SyPuY8JSo2/sw2FuDd532WPZ+teQoAE6b\nli8oDKeIDxuvC+Nb9oe45U16muKyumH234nL7tUmYmnUBk+jDOt7XLT4tb8E\nVS1U\r\n=pjTd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsBR5tKoN/TmMC/jrXmnz29xNsPScAvyhUpKIWQtOqzAiEA29JaX8k5aqQS7WvXt7TT76nmw7b5D61iIgjmZKliA3g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.11-alpha.7_1546876161299_0.8610666716585169"},"_hasShrinkwrap":false},"1.0.11-alpha.9":{"name":"@crave/farmblocks-dropdown","version":"1.0.11-alpha.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.8-alpha.9+bf641f0e","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"gitHead":"bf641f0ec7171653c944b547e0cab1bbf384d9af","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.0.11-alpha.9","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.8.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-uFzXd4WI1wGivY+9JrS/9eC8xFxda1PU46DNfOFQ1ppWDDxQ8ax5ewJ70kEg2IA3//5LcZ5sYN5jOXH+P1TJMQ==","shasum":"b613d07f4a319af81527a366b3c1d36a20b370ba","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.11-alpha.9.tgz","fileCount":11,"unpackedSize":32322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM31dCRA9TVsSAnZWagAAp54QAKQ4dDYJO9nQBwmCN4Cr\nLy7wsORROpx5K5wvDYPhkgvoEWDJysZ1I4MP2gBaWy1fbt6I9/ngMmi0jh83\niYV3sDWuKPwmUpyi4U7iwJehVMxRRl4Bv9Kk+aNMvYwYUG/QT3h/JLSUkcUI\ndtArOpgTEU8Wt/c92HcL0yrPx72PVUPvGKqt3zFG2l24iESID5tz2z58SeqW\nnJQ87RnvvDyU3/5DWp3NwqyGz9PaBuSkoH70F8eoJXFIFWgJia2MK88UG4LZ\nWhPQ4vr7km4Hjn29i4RwzRKXJiFncra/UnjijJwBaKC2MjUqkAX5MlDcgFv3\ndOuu+IhQzn6gvAl60WmPlwlmywcezkaWJFnxOTt0GftiU+nLeb7yVkoBv0tT\nNy3sjdZ005pYVFUrVYcu27sRbjhF+ywzUgwE6XMvdhO6Y4LJZQOAbQkJYw0J\nMwx4cDSDr0c/pRE5tGVPLRZRoyBL8UgNd0AoiQIk34V3gmq1Z8FkA9BoBOla\nCkhXd37TLmDcjYipTvk/Tq0ztInh3qL5kmk43Ln+rHYOmffpYa06GUKM2T8N\nV9+KDK1/oY7C9qaXic1DW9rI5QAmlSBI6eQ7VAK/1e8GbxU1YFNrYofCnMUV\nbXxuzky77ja752rca2H3Ds7mbA2693hJ8krupRAR29pT3xQRfeOmyUCXPcPd\nM8k5\r\n=I9Ov\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDetL5Jm09RMZvZO3BRq8yh/+vFPNeHQisYm781JXEqtAiEAmrs6sfUw9F51xHH0ZE2pc2nWDnUEpqTSTUcO6te/tHY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.11-alpha.9_1546878301022_0.6051568251306816"},"_hasShrinkwrap":false},"1.1.0-alpha.b56b7743":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.b56b7743","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.b56b7743","@crave/farmblocks-theme":"^1.7.0-alpha.b56b7743","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.b56b7743","dist":{"shasum":"195d1165ef4269d66aa808fdc3750eb5d50c7b9b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.b56b7743.tgz","integrity":"sha512-GLscHhquiAKbUFMoyhsOdgjqNs2wvcfk6jjxiomn7QFHkeaKyqX1nnG0xYpv7Ve8saClmtAvZrNlVaDHxvIZEQ==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM5O2CRA9TVsSAnZWagAAoP8QAKDnNiY0HRtWnPeb2XyE\nVe4qJKNSo0erLLDrtl6yuVkYqisP2E0G74N7aTT6DvWJLZKeaGTvrtZKN6Yc\nyVpInm4TrR5y7+5sJDjsS8PLJqbnorZLMIDSahy8NgTgTI7PzPR2wDaneogN\nroFlg4cqbofrk5wxbxVv7lqQASt8oZrAiZlS1QVAZ7zZ68xugvb+4EIKKVwo\nxEnGd/WrEg1oRCbMpvfFYttyuT938bOLrRXZuJ2bcDkEmLeSGzApgVLVmUEJ\nNSG9vN9+RHil8tfnsbg1qUwB0+gl/0wP76JV6Ae8W9psBDbALlZTN0VcJ3Mo\nYQq8LsmeS//9rPaJW3lfU9rnZvEzWr6Hi2vzA+qEWjdDHQcgs54awuzAVZYe\nxu/VtAk9D3c2ipz9XQJxehErzJzb4oekf7H7K7xEZnHVVnFKFLx2AP/oFZqE\n/fgR2AyEyMI9M5mSoc4vUqGx/L/+tiMaNXKJ4Ohbpcd9HIDgark34ed2LUKI\nK/EoYTMgndR6PVasEQd+60XpNRLUj/nYGpVJjeXGL+Sne4Q3r+ElNrqV9hvk\nJCYLTuGRHUDtP7sSXbWB/mLW90hc8f0vg5gDGw2gvnximiWNqkqeDboUAVGG\nf3n6bX8EvuNDetAt0mVGNAZ1wOz8+FychDFxjnpBGlU+9DoFH1hG1swOxM14\nT+FD\r\n=pDul\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4Zbicvz8vZIEX/wPlXPrpfKyALrd5junn6Da3N1UuMAiEAwmyX2zDnhd5x6ggFVwgJmq6WjXNifnVcRtBhVWOlj94="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.b56b7743_1546884021363_0.5374217479528149"},"_hasShrinkwrap":false},"1.1.0-alpha.a89d5ae7":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.a89d5ae7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.a89d5ae7","@crave/farmblocks-theme":"^1.7.0-alpha.a89d5ae7","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.a89d5ae7","dist":{"shasum":"7e3531c290aedbea106067a00f0b49d6adc96945","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.a89d5ae7.tgz","integrity":"sha512-zVuVIj4JSTSK5P1lHlzY5WHBvI2RcKAVfeVgHjDKyEp90BvnhNaKNQWXvt1UfrU14auAlYVEbrs6OXc2M8QJbA==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM5e9CRA9TVsSAnZWagAAJlEP/RwaoO8kluS84CAqrkaL\nk3ae5gT9NAH+GTqFbJ9jGoYL/3tXY41aNbIbEcdcnJUkC+gP1j/vZHCrHf/3\n+J7OWbe74PlYLhSwx7yVljfz7wYer46apEr7W0X+wev5It0qqiY8IVT/wlTV\n4rOZqI1w6DgvxmWARRhxbQSY0ZAi+v04bwnrg3/RpPXqDiDag1Fmh5uYyEVv\n8iyc0HqhnedrgwTRUpfOm9io9VJpV9QeZHDxJDrWJNYvJbWMhEoWy6FGHfwa\n/DqGJkz8VVTnqydjT6tbbTZJ/cnPgIQdrM8E/M3lpRX6M9alavJ8vQlxIY61\nSPnCMxf5AfyPdH0yu8gb35tGlIWO0DP0t0NCFcI6d76rt8gBg0T0mk9CgU9Y\nelglI72QXdh+acPX/eSfs7E/J2vo9B/8ayXdHMy4j+kTftPFRoW4W2cMCM82\nuyeAfagy45/C1MAc4qkrKP/vFHOZY9q2BbJ2D9+JxlSSbnHX6Td7k6c9U1kV\nASrRcUPkQAfi+jTmZuCluDQz3d3/sG3+CLBW3Y6dbiVz1ga/NY353I4UjZRX\nZ5IzQ0KVp59Ir/PSPlxFb3SI/8e4PtpHmI3vGh8q3g3tA28aXiO/77cQRTJS\nuh6wHW4D7hqfoxU/IGHqKmbvgZFDJCYOotwS/IcRu6Qg49YYHpBKAXwwhq0X\nXG+j\r\n=2TOf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDd3mxwAjmckU4csx7+KG+2ebRoYoev4Mq4VOo4BHdG0gIgcbMPXQ9GryiZr3IOaOUzmNFX5yAXwDrQld7NnYJf+TM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.a89d5ae7_1546885053074_0.22677640322107218"},"_hasShrinkwrap":false},"1.1.0-alpha.d20ca3cc":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.d20ca3cc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.d20ca3cc","@crave/farmblocks-theme":"^1.7.0-alpha.d20ca3cc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.d20ca3cc","dist":{"shasum":"8546d644bd2c7f882b1aa0507bb3bdbf03471ebb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.d20ca3cc.tgz","integrity":"sha512-K1fHOzAQVdzUT22RDb0Cc3uYo4gxXyA9nnUUH+Fz1hBgYk0dADJSW+skX4ldG+LG43UWFD42ldZcN8EJw6+Lhg==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNJ+qCRA9TVsSAnZWagAAt0sP/jTEHeiGiyZ4CU+acRIN\nCr4IvJw9KQW7R9NeDYNiBSM6EpLaIkiN34zNwQLGdhIIZWJnc4L29ml1fFdf\nj7+D729d/6ci0fT6rtMMb6AE8/H9mdKNaQTf8ZxAs3rNZyHFj+UgAMAd+YnZ\nSO7HOWQvxoEpnxYmpt5XbUK+hp4lzjME3JfTq5S4g2iQzNPv/PjG4/bu4eWe\nFXZM1JvzRURvn3F20fCxj+613luQ2V0wLOphfQxPzZqQZ0J9lBvk+y1/rOON\nLAXyuy7St+rQ/Mj3mQE+/wjUHrWpRbuwt9pijfcwDUjGphLmBglBV4yetqFB\nL4rL78j54q+Kd6AnHxpoxIWToPrcTiU5On/IPXKfp+m8t33O7h13pUkBr1o6\nbyrXm9ugy2pT6yekRb+OjvHcOGXDEqgTACjlvA3qyRZ1qnIAQ9cBb0XhNSxh\nEig8FrO/jByBBarRvfkhAiw24Jd1jC9DXvoEXiKX5PsELUHkUdhomhHgdTx/\nukCeo2TPXz9OZ9KpZmsypL5qsdYN8SRakbtxFSsmeq5yZk7MI5CULUWUovgq\nlBvIU7aWGnrkbe659XvhtwUbLaDEPwJrl+I0q4ZDR3joVEWG4q74CSow9XRd\n/Jph1pm8WF9j+ZWxdDLMXBeiU7BmsLGGupOEtlrbE7ld1PVRxfaIwVkV5XIR\nACP3\r\n=LL/j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDVmKaa405P7yPFaM1RPaDmy1PPRPC4niujQRQ3n9m9AIgFo48HLmIPVVkMYILqow5i6oCTSCG0twbY01jRBq+4Bw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.d20ca3cc_1546952617586_0.10420466590445643"},"_hasShrinkwrap":false},"1.1.0-alpha.d17918c6":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.d17918c6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.d17918c6","@crave/farmblocks-theme":"^1.7.0-alpha.d17918c6","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.d17918c6","dist":{"shasum":"5b18736c77b52f79b255f89725f21246629503f1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.d17918c6.tgz","integrity":"sha512-h0GC75NliIeVU5kI6VmzD26dNz/VEggGQ++3fGp6+lPGhPpGNUWU7wpUCQAPAubiprjsy0a2csibj7/8XA55bw==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNNILCRA9TVsSAnZWagAAhuAQAIw4h6pe0u+frirEY+tD\nPFKZwsAq3f8IK87/yJ03FqNLqaggNtBNtv5IxQ97CthA5RmLaTRw890volpQ\nSVt4vhI3E5IIdfteEyUHXPMgQH1Kp503zRYjIjSKEMW9MglFd042s1sNlCWJ\nikKMhTj/6C5UvML3cvqSALDFVM15xg9KgZpCLTQryld+GnHHKVYd7d8LpuWq\nmmIihol/naSwhTFd7L7cK4//3JzSd42RYNz9Ubytvo+/QN3NyOOXCvN0ZwNm\n9vYRol4mK6wR5e6M1yULZWgSk9m4codCNIlF2aB/80xD2aX2q6T+Cz0/xqYX\n9DuODA6XEE+HggcAplGjqm0NfcnNCMw+eTSyJoRQrftjmFVT/PPYJxixqX8y\njz6vj5kGB/uV1pI6h9pBen3CXx6MFX0vyRh1ZuMlso5WJNtyyPeNrArM5Fdx\ntqTI4TpZYI4XGTiNEzurv/HGP0cFgpmzgrPRjLj+DfgDgZPvYmH+wBap1dQB\n63Fh/YNWWVoL8YUClERkw6h8birjm+7rED4bEYIuMBOayJWgkc1wohHAwb+J\nhmrUryJ6GN6OVgX2UxyYRU/mxTT0RMBU5fdNj47/0EbU6ytT+V9ZuWNCI+JR\nKOsexHUsB7tO0MnNByfbwxkvqYh1D3wyj/1actRJlETDmAfQsU74gsrTaDmG\nS8uV\r\n=BBOB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0CBgfnn1SJnKlsFl6Thmi0XtdDTEobnSzTyl9LlzoTQIgVFODJyDg18MDFq0knlgrYllIl73PSlzuZZGGi1RoRMY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.d17918c6_1546965514677_0.8667569576227891"},"_hasShrinkwrap":false},"1.0.11-alpha.4":{"name":"@crave/farmblocks-dropdown","version":"1.0.11-alpha.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.1.8-alpha.4+2eca861d","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"gitHead":"2eca861d212761a486508751104a6db9e20b04ce","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.0.11-alpha.4","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.8.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-V/oyJByhLJp+N1V5hQOEGbz6xuTRRvLp9VQo6VmebCGMUudFcKl0iRSUqzm+jaLpHItMRYln00gcpWTfARKV0A==","shasum":"9e0c1fa9843de1bf6e1ece68089b7c1756b32bc0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.0.11-alpha.4.tgz","fileCount":11,"unpackedSize":32322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNOWYCRA9TVsSAnZWagAAo44QAJMK8+3ctlpU9w3v4Ls2\nN7QqmNQ4NyT+6I+ag/e8iFZX/KjeSP2DaDsQdHbxjU+MCH6SLRvyyxP/c+G+\nMYQ1yj4Q7ZcDgpwrQwlRtIYFrErqakvBzaVjHdYqvT1NWZm3w/NaJtgmes7d\nCHOXVPVBlRSVJ8aL1zZh67a3hHKV6nWR4BEdorS2YJTIyQL3+50umds692pL\nqbRe9sPcK5MsRFU5eu7DM9TTXL2jWo3sMdU8T7XJB9N+tTHtk5k+mcKltznA\nJky6A6cijYIJZItclObszSoH2wnQCDzRKXkhL8wEsziyouY/VawYhXCxAEsU\nwM2IZo5oPkYKOBvBAuae5hjswWc+7k4kTU3xi6AaGzazWWL+yWrgFb1XETPa\nONFucQWp7mmDGImfFhw01s2U4h1jSHEWGV4sZsCAeJz0qiXPFZBt0+lONnun\nnC8rQLnPkgDmgbHe7yAQSypHFevmJ8ZxMNmx0kLTSF94CarWC+NckimTmVeC\nLqlhXV+Ta2P+dLgV3HScVaPFtW6tr7oGPiel+UNxss1yuAEOdXEpyM0aLhxV\ng/gp1hWTEcNPFq796VprCxPnSfUMgekiQLdBMOYtdLzBmwIo5m5JQzohXbjt\n94DPpPmanKvxtPCLg7DYZ2GzwW+46kt4KmIe3MrRYE6T/1zMXlD0xcqd+yM8\n+tDu\r\n=wEg3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyant3KHSBxqkTT4DfgDTiKFZnEaMlECzlSVdP22Br8AiAE48LwDIZrEPDl9hFyxyjEbcKiG20UjrOIZBH1mWI58A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.0.11-alpha.4_1546970519792_0.7896563639008813"},"_hasShrinkwrap":false},"1.1.0-alpha.9772d56f":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.9772d56f","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.9772d56f","@crave/farmblocks-theme":"^1.7.0-alpha.9772d56f","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.9772d56f","dist":{"shasum":"26a8f9e0076005358bc69e247419ccdf8f2b04de","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.9772d56f.tgz","integrity":"sha512-aSLpI2Ai97gW5zXONBezq7pNvC+Ao+dVRupecPcpaMW6dwww9/a6LZ7qmJtBNVFwa45ZnXQmLtIGT+EkmL/Fbg==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNaOuCRA9TVsSAnZWagAAJvsP/08pF1MCDb+n3kXirgji\npXMq1VQz0LudHg0+b3f3WXr5CWjvjCo9Nh7/ZQImFbzd0oFt/may7R4khfKn\nYbTqYX0WWW+upL1OBSlmC5oKU6+ouOMvqfIOG49BNJycAYEhksX3gkoYaRW6\nLB3JQWaHyACbxTiEvlSU15OLwTJ1LJ72IMmuqLx0ohSxxGSeKLTNSvSapzi5\nr9KfjNzt12P5D2a4lO8YnbRZ3WeAFKy1W40GczhDhS8PQ9DdiGySXrbggbXZ\nxmz6xdHoQa5V6u7gCi5ZTklSgAprF5y74PtaGgMU4emyGMk70Xv3vHux2dkZ\nAuqifX8axG2YL9k+BeEISH/f08sHxH91jb6HM7ov7n7X6deudB84ZEUnW1Hi\nASljq6oIyowm01YOmTTGHnO8w3BbrfGEPBeT/jqDx9dgZQde9wmIa9CLdz8p\np8gvcJpk+et9aOTaonLB6zPpBiErLqvw8UuuVrnkIt+VUV/csCDW+AYTE7sn\nl/X5z61XwEEOpoPKbd97ES05nm7zChxN8jIbvRXnhmYPhT7+7BG8wV4cp+eQ\nPeyvFLN1uDU5MDAm1uctX+jWBN+KGcm5gLi8O9S2N0NNCOi6XY7b2fqO3iCp\ndcuwWIJ1aDEmB2IogqBsPCR7KlNmagPv2zHuUEIMeWIsn1knxh/7uAo9g7L0\n07bw\r\n=AAJM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAU+kXL9K6alEOt/G/E2LwjP5jDSO/x13vpBXTG67iE+AiEAh3gtASRLRgZk69eoiAPvBYbIUPxMOHAZf3g7P9x0OeU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.9772d56f_1547019182139_0.22694310447460242"},"_hasShrinkwrap":false},"1.1.0-alpha.46063efc":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.46063efc","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.46063efc","@crave/farmblocks-theme":"^1.7.0-alpha.46063efc","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.46063efc","dist":{"shasum":"e0a5367a1c1b52b6c675791fcb183fddf7fa79cc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.46063efc.tgz","integrity":"sha512-kSZqWIHRAgY2Xg6cGpSoD0HQ7Jph3njXFU4S95gpKFOdAtclTRDqcA58uIw5rRwTE0oQ0iWIKj5as4zc4TDirA==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNafICRA9TVsSAnZWagAA438P+wSQcwaGYplRtZ7FFg9g\nf+s2WOsZUITnttFFt8IvqlKmNWHQ1OfD/17uTXrMrP5Hw51tVM+YvtTVz0Vn\nh5NL8BuwbW1vu5TW0qteWpIPALlZhma2DnWL5Z2isVyCPUz1eBrfL8mljPJ3\nF5HwmQYW4AAyFORvmAMS0HT/uXTHoVPtd3x/5TBz6UNP1WnKLP32mU5reM3K\ncJUoypIbLNB/A8hLwDpCUa8ctCFqBxEMCbJu591SQpBRLqWehbk7tOCzt/8k\nputHfphCaSwf54D5/dWTkvgQ6Z4F90nBsJMMVpKmAqxrwXa2nV/7xTuSQO+S\neHlORGer/94XgFkYRsOiz/c37nvTsC9BPXzSHM8ptiaKf7cm8jTkazy2Vo7p\n7kYaRKDi3MH9oo6uLWnS9vG/eo8XBHfjwOeygvbRZLlIb6Yq6fomQ4YoIqK2\nUuoGkZb1uc+3qPBACByhAVNMFXnm6YPJRB0+QKlHEZ1D/xrU8txJ7h9uE31q\nz1z8EVHvFzXUL3+WcNnQbXrRiF8g9WefSh//7vEBA2oj7gip450YAxVFTIN9\n1QFE3YB0AgKnqZP+bhFZJJsQwc6xLJakdC44q8nmwPrKbsSjuV4R7p9QiAd4\noaqDL8ZZKaDKlqmuq54cgKVP6GZ4vcO4j4MA4lUl9OHGp+1x3OKHa/v4BYBe\nn+zb\r\n=bKh7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEFRQzZvWm02pioc3Ip18Av4mf3zDkbmO1/olsJmKjBAiEA6lLwkaV6g7+Mvb1Mahx7NO1w5cenrvH6sJcJn1QqazI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.46063efc_1547020231909_0.037521094841420854"},"_hasShrinkwrap":false},"1.1.0-alpha.e40864c2":{"name":"@crave/farmblocks-dropdown","version":"1.1.0-alpha.e40864c2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-button":"^6.2.0-alpha.e40864c2","@crave/farmblocks-theme":"^1.7.0-alpha.e40864c2","object.values":"^1.0.4","react-aria-menubutton":"^6.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-dropdown@1.1.0-alpha.e40864c2","dist":{"shasum":"40229029e07826aa51b8df6d33da4dd76697730f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0-alpha.e40864c2.tgz","integrity":"sha512-SNs4ktG3+zCeeZT2GahvqJigdU7XQftXSGyvNMTI6wHGe3UM1vGtp7LizxeaK8UVGRMteT4Ku+rZ91HoiY3GMg==","fileCount":15,"unpackedSize":32554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNbD1CRA9TVsSAnZWagAAHBoP/3rS6RfxX3SR1GrqSwu6\nrZWg6CDx8luIMeqp92sSd6ZtyYfBeUIVw+v3Jyl6G8I19GXp5Zac5SmARjgm\nHkLdec2c5bSbTBNkttgrfW+8m1G5qijVeBu3UlVlCtFSTwKGdD1TdKpfYv7h\nIXiVp0704opm4/flcAaHvn++hwJ76/L1pJl2SApH/A+ngcEIjJ9xBNOAMmxu\nojymFHGYWGkOJXzgSgFi3mXS1S108sC3MEqPdqvzlq+rXL1XdDgXdA3WpfUe\njC8iO2ngh5UsDMdw80ux5jDL+GFsOCP/Eosi+bAk/dv5avMU3vbBgCAfDnoV\nrDrduJ3+hwnqfdjFdARodsNvpQdX3D8pToPPJH6XQe4c0gWXbmCyNEyLcJj9\n8hKSWdm4PTCenSt20YNQ7xx2qam5xR6GnaWD9v1VyVQKP+I5mQn5be9LpVAk\nBwtrPOfaJcC8sHET1MZnqd95IbsrOhsMUrMvouIeATsQNsnsEH/RnoNGHvhZ\nTJHSr6ZPmr9HBE8D+Cs1nzDMwI2G30dXwmQUTJsG488O0c9IbgGCjoTfole1\nHpRIA/BYC6j/txDvAtfT4thwDhZ+vmdESDaRrQPIa6fyfRkH54p3FL5A8m3M\nspcoXq9vFvp3U1xF6J+nCoHTusyoBs+/FCWg+AgGVc4RlmIiJrAWev/VDcsZ\nzrID\r\n=2Thd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMhPG8kff3rEtSloky0IktdOYUViTh6hHm1O0YQsZGrAiEA8uxvBVzvUcCna5dySNuWbWgsvbCzziYVwMQfDx/rXpo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0-alpha.e40864c2_1547022581294_0.302197685775186"},"_hasShrinkwrap":false},"1.1.0":{"name":"@crave/farmblocks-dropdown","version":"1.1.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.0","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"594568c769383d03fb1d99245686afce996b653c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.1.0","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-GwhBLjXi+saMq1atewtAMXDLRLrGnQMs/ppVc2u+sjG2VaEFO4BxsrXL4UIDDjCCZbFHd4Jp6Q0FunA4BPkAKA==","shasum":"f47d33bddbbe67e0c512f77fb35e1e02547e3bde","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.0.tgz","fileCount":11,"unpackedSize":32636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPNj2CRA9TVsSAnZWagAAGkAP/0Nxx7UHM3p5Bf1B07pW\nIKpRWLMvHqUiF/1Eq8g7R5mvEg92AxGg6s5/cPn70ppO8BL+YM12YqlcRy+C\nsoNvh/ICVmvWX0BuN8jT1ndC8ipDZb6Mk6dHhbt7cnlyyGMHvs8f58ggq/G/\nVl6eYbqsOpGZhlJ08At0nHyfDyCCZv4x9aSXCNoZwqjkwEgmocQ+6mhT4YfZ\nGdvfFlK9nps6XaWNuoc5VsneGIa5dkwGw8tYCJlxsjzaRSjUMk8JKmXVye0T\n3d09T98xojqCkNBZXVESSzb1nxlSXZcthLT2peTjDPUDLjqLVdTakcWmGFIA\n0ofJIh9tfVRnqh5dgqnMOvYBSJ0FrxoYL3ws324/N9LMGzMeDYjdy4IDsog0\n5IbPXIIPTpoN0Hn2kWYK4xCkYH5d5XOAxw/v4n/45BTDCXPw8PmDIBYPsRV2\nerSW2PBo8HQGlWofrzi1fn+o7lUkhNy8nU02758bIvnA8uzIUY4yIFxxezwY\nAu0TN0qXpK8vVSyKN1SD1p91/ASn1ud4/v11o/HqnVuhTB11xPUqix6Y2dGF\ngwLrGzsWflORFOHM3SNaajOYw4IlHaTPICvDogxnV3tbYlSq4epFlDB2q/Lx\nUgTJaUVkRrBAARD34zppHCU4sWhN2BK8LsSMRNJH/lV3r0fXpevJjtXjVJuB\nTd/R\r\n=x/M5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWKCmwbmST1JS+xlIBYrDhlGwkyzBVw08EOcCYhMVREQIhAJdu3SEWNvWTWO4B8OKl/4uV+XePKuIPQVEzo2FXZ1OC"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.0_1547491573423_0.17030386833456457"},"_hasShrinkwrap":false},"1.1.1-alpha.5":{"name":"@crave/farmblocks-dropdown","version":"1.1.1-alpha.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.0","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"2f4b8328c5d1e3d762dc748789a4a81a359e05c6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.1.1-alpha.5","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-bNYdHaemQDup7NcNG5W+lJ+4/lDpxAtehQnUR5lIZwjUjSD1E5qwJbql0Z/JzTsy8dz00wr1oGHOB6xE+kV8hQ==","shasum":"7657dcafbf5441ccc401f57de955c3a9ecee2d83","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.1.1-alpha.5.tgz","fileCount":11,"unpackedSize":32725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT0h3CRA9TVsSAnZWagAAtn8P/0ZjgSx6x7DRPRofchLP\nUTCJuLTGNxbHzJe7fw2eOENl9I2IeUt8+MP54Lcvznv6xZiLDDcI25oGmf5i\nrmKtHZyxpyrxCAxozejl4KQ+biddtonTwKewHlxK8pEkXA5f4n6Y5Y8LLtLz\nFWONgFck66tT7VstJdRoKXwtZL06K4mm2/VRPnfWyXu/MAx5/ZlVAFcz8PS6\nw+2yNwrw4D2fXXh9ROBCj7Pf2Cz3set/+0UIPkwDCFUMJtSTQoRw97Zpnl6h\nJI17ERMzO9Yu7c1puYbui8sThrR0XVmHUExdCBcvPMqpMcm1TICkf+gwQwpR\nRif26Np8bi5BKsrZ9iJjPNC9BAfgPOPHFLP0eyj6nv/Ofw4N9G/G1rl7PJUG\n9tuqxRC3DGJnRdPeOzAdQ1gJ77nmBF4M10k6SbnNtLmY19wFy9Wjh9Ui+fFt\nppNQ3WMfyM1fbCwp4ANkJYbAW2X5va70PKWbTnfTB6u9m+svHtuRcc5RD9U+\n4xE2FkrCinG4mk8hAsuQQ/AB+w0nWyMONh6WAHOovHvrk9jlxqntD9L70Dlu\neETDWrHJuOByIwlFzTY1ajguow+c5jYPPQt8LZvobQyUkj0Audp7NGodybD7\n24jTw69Cq+FzyNdwlQAnw0fj1xPMXdHvA44dS5pu66vZY2D9Liv5OG1EcMoP\n2Ys2\r\n=5G5T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjxasTLk+1woa/0KAa3JaJYsOH/Plf4cnButjgIiDHKAiBIqrpFsLg9yKnd1cbgg5d5b5YLKNiSI9+dNxaCpwvcOQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.1.1-alpha.5_1548699766372_0.18329411381140615"},"_hasShrinkwrap":false},"1.2.0":{"name":"@crave/farmblocks-dropdown","version":"1.2.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.0","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"a52e42963353073cc408b0a6abb6f586570ff799","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.2.0","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-fVtV3h+fB1myyYwXYKSzh2Jflt2wrd6NTwU6A2SYJlGLeVApvocYelXi+qd6qPHzQS9wVqlzpkiqnE/Jz6z3Ug==","shasum":"6ef9f11e3f0bcc088360d6dffe714ae9f0d1621c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.2.0.tgz","fileCount":11,"unpackedSize":32976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUHnqCRA9TVsSAnZWagAAKBUP/0ubTAN/6arPotdjPtCP\nlLsG9wNvJqptuagIx2Vp3rZNikns3HsSeSEZcUZ3+Ss4FjHtWjDbuNC9GNHD\njSVdL/NTMbYsycIMonq9h1ZM7E1JnjHesHUAFOx7exWu8W5WPFJ3rBdpPdq3\nbPceV2IkL1pFkS79Pe52T32x8MzjkixvPMyuEjRgosL8Ggx26lgz1xQfhlfZ\n8q2eYSpgVoKEEXpPsgEA2fD5nOgG8KdE5sQEZnhIrF/9KNR+qK/T08KJHl0Y\nyk3l6wlhmiYN8xSv/HOJTJdGeg6KG0s3e9aFtBAMDORZZFTy7P92AuzRsHzl\nB/RiOCYClEgcI2JgoPJ2/Y5fofizJ+xX5uFKwxwPqnwkY9eQKPh9vJOBq23B\n6tM0BvT3kehcyxFSJN5mjh53UbGAoK8KUhPkl4gb8XCKXu6zAnsAWirvBuqO\nR2JR6xFhx7heei40+HcV1PucaDR2HyU4Ir/htppJMITGp9cX6P1Ej1RN+bZ4\n6HXhSvMF0i2R2ifTT7Gpuxw+Nqw0kQMDaB/HrZpCllhaQToC26n7uml10oKP\ngTXZiYZ3Gdhu/cH+w6CcDH/5gvroKmBZUZLQE5yCrc9xbwpwdCrU3nk6BQ/R\ntX8bDwwFFYZGybeRHxtHRB9SAUpKUfQU8yerTRh2mxbZnxi9eJ4F/Z/CGKaj\nYkoq\r\n=Y62c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICASl2BmCqkWPyftAHPQh1XjKvdw6WrvncwxJGPb7Ma9AiAZgYvwA75C6lQ3t4Awtj3fhkpz0kO53AZ0TR9s8bKdEQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.2.0_1548777961815_0.7476155111470968"},"_hasShrinkwrap":false},"1.2.1-alpha.6":{"name":"@crave/farmblocks-dropdown","version":"1.2.1-alpha.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.8.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.1-alpha.12+540725d0","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"540725d0fd556848460dee04fa2d15d1f6103665","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.2.1-alpha.6","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-FSWjxgyYccWCPSlgOtOzox/NGJy8cB7V+/54nlDfNUIYVc302UZ2BeUjHBa1Edwf+flDeaSYAgyTO57MM67V1A==","shasum":"ea143b24e8f6741d6055bc01d774adc419ee4ef5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.2.1-alpha.6.tgz","fileCount":11,"unpackedSize":33011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYrOrCRA9TVsSAnZWagAAJdAP/3msO3UAd5rMtYq70JUq\nZP2LPYnES05u/i2AqwB+2EFKszNYSEy8wkb3QAgT7x2Ukfi3deqwS5bCLNI/\nnkSjnbEG2ycRJzwrpje+Vxgk6WNDuX46HNG9paMFDbq+2LA7Xhv6Y6l+Sxp7\nQE/MnLYcscsLkTs0JtGZYo88UK+rEX9Bqdiu0oBRlFzjXJQvy89QcIDAAbc/\nDHzS7JyujRp9v7PDmUCDZ2Bs/X6V0s0T8omL+Pvtm3qRQXwq3ytxclSiOzpN\nPmCBvGvVEjpBf0eBwjC3IK6Ipy0+MD15Mnl98RvIAE+uSQwkiVJn+CimO5DE\ny2Puw9yfroqOcK825p1vdXWuAwa4oXTayn1aSyIh8UWkYQjE/hYCutnA49mA\ntIyuquTip6L9tmQoNdYflUQYkxnYaB+si/hXkq9JQgMAlDngMVOduSQrn40Y\nAAmc8ahKlV0M/cpChsZSy3Q/NkN46hP58PRwar5r4qwSsiwVB49aS19GuEBH\nKAWPJNH4ZmZNmmT/ZsDfGUAhAol9mgWZw3kEkROsX9aBrx0Gm9BXVwCQK942\nci4vHGRzS/KaUGx8ptcQ1VKKnZB8eT+oWlTL/fbqBmvN6YqWOWgW0YaWBMwb\nc/0kKa0GaoJ0cDuFv0PRWKvabLf+H61x8dROx3q4NUylpT2EXJ6WSmrHyzij\nLIgd\r\n=4YSh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKkv590eCxxqyKr7iaFojT6n+h1RSDKCeDsqzACLdD9QIhAJcRcH4SnIlupbJtC4SqjxkDlB3Yn7jlLQGbyyv8T5Oz"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.2.1-alpha.6_1549972394436_0.7567101313929752"},"_hasShrinkwrap":false},"1.2.1-alpha.7":{"name":"@crave/farmblocks-dropdown","version":"1.2.1-alpha.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.1","react":"^16.8.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.1-alpha.13+1fc1894e","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"1fc1894e0d8ff88d18e5f2839ca03d1fc054eaa2","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.2.1-alpha.7","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-aar7UzIetDmORCVQXK2VS1vi5UUa0zV4jA/71bWlOMjZ/aHwUohjQ2El08OV/31pZIQs0sdWICEDwcWVDYudfQ==","shasum":"68eff4d179c2b49bef233913812f8205d81448dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.2.1-alpha.7.tgz","fileCount":11,"unpackedSize":33011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYtnJCRA9TVsSAnZWagAActMP/jvyq05F+sAnd4doH3Nf\nixwfNcTXyzd6E0zaxVgdIKDt+wrzqkwkXFHuRQi7kAvW4toRn8wDg0uInscL\n4nUUCtqhiUYOscdpIeMTBDDns1XKIkkTc2/oqHLTuaSWqAoERQwzJ+uWJy0o\n/ZMQMcds4v6Yg5KMcncH+PgpebqbUwTCm85oehNf6/Nt1aCNkXKxiJ5RXRuL\nivgtDzbn4qRMH8H/yOJBQbeUN8frdR/KIaxG7CfO2xxKElnQUCq3GU/U1jTj\na5ogzbMHRTl30W6o4au88bdf30Y/qdG2CwyQ1Z+Ci0KO5/YUmE8cpUsdZav3\ndgmNY03Yv/CaW+0VROd/jUe7XTxyuZMlKlo5oyHvzq++qT3Jk8hQQLvyVLwn\nKMduKWDVKBoVq0hYzDtdmSltrs0hrn/0w9ViUMrSLitNUGLbmh6spjehCt0n\nq8a+bmA1jR4hYauG9tKTlBES97qYaJ94cPVjCqx1oZDtUUQK16ZG6tLegSh4\n6A1jTTXNU0tNBKQDqITQ0mpmOvBjXKg/cGaMVzo8pIqNziFhDYQbIzGTcP3v\nLuuet7O2DNbkH2F/d9yAqw3hfA334M5vXi4ETpFsYTphYNP6WDuyoDLWuabA\nAh8PFZjbcwCYqwRYZ+tdYKSJD4QGqrD0xHLqw0dzurYYhvxvfU1K8OYXWPYs\ni4DT\r\n=GiJ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQvYVgoUutXo5LIDV8EgzlLlSTh+dW89RZzACDHQ8A2QIhAOeqdGjdZT7Hz4yJ5fZlKo1lykEim6Fv6kXf/5jxRhuh"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.2.1-alpha.7_1549982152710_0.5359556168087334"},"_hasShrinkwrap":false},"1.2.1":{"name":"@crave/farmblocks-dropdown","version":"1.2.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.1","react":"^16.8.1","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.1","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"7d11725fa98c0521a018d547329717e9345ed243","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.2.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-P/pBs55vbfDvMsaQaGFhDJ/5aAScGCYn6j1Xw6IsrnGPDxnkCE+oVFEVzsJaoLLW0Zi9Pl8SbbaB0s83k4oA3g==","shasum":"12485eb7bbb15dca83ab2d6e079b9c0b65f2e862","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.2.1.tgz","fileCount":11,"unpackedSize":33190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZADKCRA9TVsSAnZWagAACTMP/AlklC9YdN7nWRvrklKV\nBvpVuIKZQvuEGqq6qX4qeSjRa+vPYvvThno0wys7gbSHGzmoFhb4tm+HOU/X\nSWz4Rr9fbhP9QiOR64kCv9pQ/VobwsLNbGGFu0Wb7gEidEgQ5w+7n8nDVSrb\nuw4/gMmS+U//FJatxDeeHv8xCMnploDruOkBEn6T9dsNORN4h69Pnjehj6sy\nkYe4RsmGaNyjzVoiS4U+Glaa3KtOUjxrHY4oUBJLN2iw9qakCP5sbS9WHcWv\nSnW+u2rvUQ2wwYlcQl+uyvv7k2N4PqE938knbLQWIx3UZlp9TAz8NugYb1QG\nvpOZOhR1i7+cZa5eB7G3vsYTACsCktajwvCKUcjqXVxllxx9bRdmGTbc5vgu\nKnLw88WY6cVSHiV620YHFclt9ov+aAP9VOU3xjt5YOL3XJNHvCoVph3t7tc/\nVaczn/1wv8VGI7VwQHyyASc5+WP4shuNbbP0EujOqWSklid0KhYbRBa+SBSN\nKLb/EsiQwSHzCDHqh6P7CZfBvkmNZTOkKG29pdpRb0xndBxpizVyrCBDCqQy\niz1Wyvq1wBjg6E5kn9OJEM5XVWQAefWM3+GdxmhuJal0egGIMhrO8N+zKFLF\n9vi+jzYj2/vroH/9kZVK9znxxT88KG5LlOd8tsibWSM+6nOES6gTpXNVYGMB\nZ25l\r\n=95fp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJzj2NpFG0umleyzcelW6Pk7C88g5/Ov53VeJhRFfPUAiEAmq+Xg58XkjYMd+v+mNrvU8nA6hwvtBV6ftFM3XSrDxw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.2.1_1550057673479_0.3121972653644667"},"_hasShrinkwrap":false},"1.2.2-alpha.1":{"name":"@crave/farmblocks-dropdown","version":"1.2.2-alpha.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.2.2-alpha.1+b34fbeee","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"b34fbeeef715f07d3af525e113932897260dd673","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.2.2-alpha.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-a5ZPzlA/BUbv/sUEsAFBynTxlQ7C5jhqvnwh7IWaTkVLa40EA86Sb5eglpKYxxf0bxxz9VK9yPoKiIT6sQhFiA==","shasum":"22898fcec3e41a8f3f542ad91148e08084e6bafd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.2.2-alpha.1.tgz","fileCount":11,"unpackedSize":33224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZxtBCRA9TVsSAnZWagAASM8P/R0n5aV/AhZBV6EfB8Iq\neigWZFxIi04MSdNYgzVsFgQLMxi7gBW4DI5/bEfwax1YePHu0mQ8/7AbFPTl\nUYhvwHDJt33/ilNbnzT32rH9qWeFZy/EKdwPRU67hKOlyISEKbJtol9+wR5l\nwALI4BoKNvYFehMxSlaWQI8bzIRotgMCOw6Fbq4bpewBlfodLqN+sgj8seg/\nNx7g+cll11mGCmdTqmPX9yxgiSpLSTDwfZw1yp0ap/pgVtUpQTwbYdnJhpiS\nVyPXgEDOrypYSCSGSbcHyi27Ux42OS9cUfOjY1LnVEh4RfBmFpKzDvOEo2K0\nxmD4p4ZBFuTNh7QR6+adjxGNa4mQvDJT9M7wJRoIxjvifh7vc/bN1RZb5gXG\nuLkHonNg1AidP1gwEfAOpjLhhrE30b5pskVaNe73tMbQXDcYGq4isIh1eGiI\nL7p7jKkwgfoYVZzqz60jHyxRLSV0Wbj5q9Sa08BeESgdRV1C71XfwqQJDCJI\nAdgMTtDRR4OQskk07vwgUpaSXnT6o8GOJSxMSPuOtX/rwB+P7n0NEyiJp2ye\nmSdVtdjKIGBK3+xKLQa77kZ7S/U5tA/A9mnlApVax5QRvLLqzSj226YVf71C\nqFRqeQxhEf4qvqnFuockhkESrWBXs4IpXyg3Xcvru9LwgNt6siVcj2h1fSfW\n/olP\r\n=arRa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXV+vmci/lNTD90Wc4mumXNrEDClTE2dcArnwNH46WDgIhANt2DYxsNj99xw78e3uaDdhBmZlSAFH6ec53InwJoQVj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.2.2-alpha.1_1550261057264_0.3323056065225156"},"_hasShrinkwrap":false},"1.3.0":{"name":"@crave/farmblocks-dropdown","version":"1.3.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.0","@crave/farmblocks-theme":"^1.6.1","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"053a06119029b5b8bb00a4f52d1b7085c465dd68","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.3.0","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-eAUT0d+/DKLVmkBYezuucLyAoGqxz14Euanz5AXk3a1DzL6utgL0C/ETTtnVwEQ/8RkRWjj194whREt+kX03jA==","shasum":"2f0fd50f522a618d5bc27191a67355997ef96daf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.0.tgz","fileCount":11,"unpackedSize":33540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaumxCRA9TVsSAnZWagAAo2UQAJ6Ggl4oxPO99fkRairl\nO4vRY5GyVy6PCT36WYXkESUOQV4SsBIByXo0cIxU62lLi+0lceZ104LcCDVX\nBw3u2PoPjvPNpjI7tUclrw2zWjupho0nZgNgEGlyynCWbsZ+idvvaeaUdvBM\nOt//MEF1pJuWRqN9rgSyrl9Ynjhi9tV/sw756mT1h7cFizZ7Q2SQ3WLlbxPL\nCUcN/4O6l6jptfGNFEdY89xO9ozm7p4myoWA/M5gs3wu6PQFJchrDCWoGag7\nv9vS188WkpfwGQCgSNwTfMIWD99v0itCXxbfPaw89cLHQiv0t9D4jcQG2ok6\nthbvv2Ej669VPuB82/hM4ISqh4NnQ3YIFidzMZUhgkUuyX4BNHZU2PtlB4Zj\n9bbmyHSDDSh0vJNUS9Dwb4TJ1K58XfkfFgjiHfHBYWa3WKDahokW4LcSiRoU\nncC3a1Pytb3+1N54aL0+em9MFH/1PRBEWF+4pcJP9e+tZ+hNvOD8KIiMvkBK\ny9G071dQ+5vQ47RVCJXn65Iv9Tz8017bQXZCfvhkcvon7WDyoEHDhmuxf5uj\n8nyeVev0WY1hBbrDojlYp4CmeoUoCOEnKd/xkiiDxUF744TXxuB3M6gI1F3h\nGeqAvTzjCzOm3p0GkB3DioRv7FIoH2DgUK/G2OLZdyE65+VrUohmQj5Ze77s\nXmOp\r\n=cni1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAq6gwwdRadQeJrMrNL/Du8hdDzlssJibAkrjZpVHH4jAiAHXk94SAqhBj4kbFoXT918Sfka+M3SKvUPdOOVkcpGyw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.0_1550510512866_0.9284899866227141"},"_hasShrinkwrap":false},"1.3.1":{"name":"@crave/farmblocks-dropdown","version":"1.3.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.1","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"2d87472315fc24367777d93da878db31127c2fd3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.3.1","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-YdoCX3dUYfTVLFecU6AadrOEsm2zBjAXW0xZQFyv/iz2JdUNcC8yq8eomMHYx85gYL9kqse86ZHQZxFr0nEsJA==","shasum":"a5353f8c7116b60e8ec300dabeb99fa6f2612b83","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.1.tgz","fileCount":11,"unpackedSize":33792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgSCvCRA9TVsSAnZWagAAuiAQAIJXVwgDmeSophKP9BTw\nO4h6UjuGDCqOoiVkyW+SdeFf2h3vq4/Hu+TwsGMHrkZj5NOzTE/vZrjMwEUJ\np44PpXz7K55exGc+rnSmPV+0DrYFE7Bs84YDcypdueCuLJX/9gzrXnRDOYCx\nJ5Yjs+cnwlVIH0+g6hA44wFVjW5SP0N0iko7SDMGxWy5jQ5C0CIBWT909y9x\nr5WzLU/QVnt+9BkrvipdaOnDvVwIS0fzpCfNXJ8vLInu4/ZEuOZQ6VU7573x\nS872j1q5cz2iJwZHdT53ZLp6SFnY+XFSaFJzIfWdTVzumL8R7XH71vQLIbJI\ncwplw63vbaQNmZWvGadfqvT4RsSiNMjrWg+RM4aQOtvUf/qJKKePB8Jt3hD1\ngCSroSOB+qX2OXUN+qYdMZ8khgZ9yGMR6mTzEubZONizYagWhdBmEZEiTSh/\nAgzY1o5nr2Htar7dkBDvP6PVepjXoKdTzp5sY6BzRRiQSaPWLqHc3EYWTDpN\nN5ACeQMfRCDivhkUajaN4Ax1UErhjZ0b5d4927+7JvBpRpnugq5HoZCbmmkv\nzcTmCHKtmVQVJVx+3qiF7IQlOQGTLA9ZQY4mhP8qKte/83NteQHFcCspnxJH\n4DZyRjJDOljcOCKeOM6MZWVlRwARze5Jz3unBilefqO2+dgGV50N9nPkLFGz\nfwMr\r\n=s0dO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8WI3kbJuDsgLpvFYWn12fXMDfdRkA75vC94w6kYbLlAiBUuY/3hnECWC7l8sZUCwqAhNUpW5/g4XZLHmTiKTp18Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.1_1551966382474_0.8101221738540039"},"_hasShrinkwrap":false},"1.3.2-alpha.26":{"name":"@crave/farmblocks-dropdown","version":"1.3.2-alpha.26","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.2-alpha.26+184f3c0d","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"184f3c0d3a49c40b4a735671940b0bf708ba3b05","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.2-alpha.26","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-YDRfZEC2ej2W74etMmcz5jTDNVRb/69wLL+uGQ/Ib4TC51fh6/BT41ReZFsZjXRyWHHskoiWYScWgbxNLAZgUQ==","shasum":"f3a202d3dd4c43f4ef48ee41ad7d8043838cb0d2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.2-alpha.26.tgz","fileCount":11,"unpackedSize":33828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgpUMCRA9TVsSAnZWagAAOdAQAIswRiRqVTcUGFlfC+sE\nN7pjGIIRcaeo4QRC2PCVWaSj79Yb5/7axp+J53R7mEaf3tmyGf8/j3ku5bTU\nxBWKnnxRXoM7WkNOO+R1ZaPeHzCvnkKYyjBfkXxjd8OT+4CNrjRxnSh77utV\nemkO/zJdBY3ZflQl6XRA4aGmvytGaI8epbhLR7ZQVD7LWx/qox4KNCL9Sg9H\nrNo5MShSVU+gZGKSHQ+uRhA/ai0tgBRJC5Nv8pISkIac0f1OeQev58sDp7aw\nlhMpmLN9ig+Aak6tR5PZjyk8kXVBrYyDAexoclcdNcczuGnk2uhOITuXFUKa\nV8Jf2NOAoC1ogwCjifL3yUxsdKsiE4uL+f66uX/ZhkGuyFi/dljIJFBN8JAD\ndHUjePSecl//HLuBnl2NmK+cPxQtBZ+7tj3N1Tl34kx7DwOpmNUGt+9JK3Lx\nVgbY7JptKplSVtAX9CTWsSUilGLzVytmGiqbAqRec7sR887tXInXHEYo/mA+\n/g/1PGvCx4uDHTI/Tl5U9KU7Mo4roWb03E0GBCuk+1pDbkmNy6X1n1GXyjpt\nagj8SbNWTOJlrA1B6dgm6OgjUYgR25Kheokog7srcEYSbN/vUoLSiaO5lrfM\nt8hrY+zWCmxuYpo8lSyuJ9C9ZyO1pBUwowjrtyghseJqbiYRpS2rUlpzxE5J\nBDsR\r\n=hVCe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/ztTGGNRYPKL7Qyrmf4TpQo6EQ5TczQW2kepXmiqI8AiEAqUGZ47hAUpKFbyDx6+TiBXfZ7gn3XbbAZFud3ymyeuw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.2-alpha.26_1552061708108_0.11219698681033785"},"_hasShrinkwrap":false},"1.3.2":{"name":"@crave/farmblocks-dropdown","version":"1.3.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.2","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"e8d65024129435d2cd9e52580a36fe51c8a10c88","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.3.2","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-dfCAqrIAoap4Tcq3AF+qRL0dbswgf/C2F9kFH9vcOCyoObM2B3yheUkO9qep8uLNHNP92eciIvdJUr8ZrVKXsg==","shasum":"33d5a99d8e39a65e54e25f0a9aed42af6c26202c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.2.tgz","fileCount":11,"unpackedSize":34006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgqh1CRA9TVsSAnZWagAAJtoP/At1O3zag+kMl5/etRZD\nq4EgqyAbeP+KKU+Tq3S4eEZip3KRWN9XQvK7b6AonDJUsx6Uqrs/3Gh5bIeD\nYh74N6zjhvb2eivxrqheyIiEg++UrYNfs6/WUdN4aadWYFtPPzMnfSJ4lhXE\nkiVmS2jJ56FEH3IatSa+aJZgTEFfL7aW2Y8qYNihQzccr12S4sbhg5DpH+wS\nAuN2vMyg9QBCQn8/G5yhB4q2mdG6TOozy1SM5YIKL93w7jVc/bXdLoX3YMSb\nrXvj0Rk0pzlgdG2MJK8zIC1O8re+moNCc/AccT46flsh+s0p+XwXBBR9IgFk\nUDYRLQDSyVFz1o7gNFooPt4tYXKgIA9aR1YbjGOfULRmK4CcX9/QpJgHBU0y\nrd5voUiOzNXHswN97pH9l0sVo4UCpTjvTRtOSt4BGHW1q//yxRlWjG1tdfMs\nX2MS8hqMofXTVuyqlQ4BSom0meusTHZ2tc8016bPDR9IeZH3G288S2Z4PvcJ\nCZlJzu6YqNvTFbH00xwFMhYOmQDg/cALcs0hJzWs0+i0OSjbvHbQLxB3tecF\nCs2Ha1iFNKq9mnpv3bdldZm2ZJWnQjCZJigx41litAwYEQzlpDeZ3xtwhC8Q\nnfojMEN7hPup83ZpdEgxrwhanXexxOe62+Sks3jzfAGuz4qfN8OZVapLmGMw\nIhKO\r\n=7w1l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICv2CQ9VED8WjPmGf6wEPXt7kKdK7FroffMIOPuPn/jdAiEAlpgBgGyecGE6gwn165Q1fU0e/igpi01f2ban9yqyzis="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.2_1552066676484_0.6063701621492936"},"_hasShrinkwrap":false},"1.3.3-setup-percy.8":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-setup-percy.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-setup-percy.8+6ab5bf0a","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"6ab5bf0a07e4ac0da59a68f0b67a50a99512af1a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-setup-percy.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-Hv5LUerF7r3FxKdtsnnVkHU1Y376cFet5i1g4qi2B5m5fJUhZzpywXQqoGJejS9ufKo6KxYtJRM0TDU073YyNg==","shasum":"a40ff236a6eec952846c551c5a23f279a360339a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-setup-percy.8.tgz","fileCount":11,"unpackedSize":34052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciUZgCRA9TVsSAnZWagAAbuIP/2KxLsY992WktCSe2ofJ\nBc+sZgGxtWwF+exeE1klJazkZu7CQqGKOF0BxNvU+k2TaUe83Khxh6ZQXhoB\nh0HeiYE++gLcguPQ1rEyOI+Ra1Q6w5sgYYY7CsHBN/vrhR6N1qdJtkacRRb5\ntRTM4gc+kydM4gQXGFIxHpkOfZ2OqBCGWvDZ5sNvyWaVMr9GwuMNh4EkluT+\nrBYNLl/r/ImejKROfxi5PvmaW5KVOS3rDB5eIR7NUPMe1iOjS4F8t5dQFMK6\njCdq/8vi0WRaBVkqi46ULlAT8OFPP11x0s51t0RIVGtfHpYHQKxcv8TLnu02\nx51PvFLAUynfVbUWdavcH8xyiteUGx12KeVSDkyfLaJIz1QP6GNeJY9zADzq\nOeAUzkmYKjGbb3gtr8wat3ir0s2ndJoXJVYqF0+g69mMSaQSGzN+T30qvmOu\ndi8wfRkKVIxsiwDFy7wUgX6oSPhDsom3i7gnJVfHWXR8xUZ+jDXjGdMjmuZh\nfLJCWOqeyaEvMs4nMQM+IRvJd7uBlssGJWLR7lhzc2gpfdUBEQOdKi82f4i6\nE17JrkFLLZphkzZFpDZMlOsQNgbxVATD3rgOHUzXEoQJcaeJS4OmG8Kgba5z\n49dy2PsFuTI/tsjPbaJ/Mnica6sA0WCY3hR855R4yanh451RWRkxbAnOfNRp\nb8LK\r\n=dX2x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMo6/C3oJidwWCSFncoTb5v1iSX8gg97lbpO/OE8NmiAiBa+c3yQ29K6lPiJ8aHvk1lPLhULAAUL/2Jx1Es+2wtAA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-setup-percy.8_1552500317105_0.9211565324907416"},"_hasShrinkwrap":false},"1.3.3-4208.1.8":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-4208.1.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-4208.1.8+381557c4","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"381557c41244c16c6f7cdebe365aeb20be9304a0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-4208.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-+zQbPkkcM5qs7O2h1S3MKgiprTwqgeLrCo+mfEQUpICxOpnoxxVaqy5/wjp/0OMdLSkSYpL/mulkt5goNzb9BA==","shasum":"7bfc85b6c5479364fcc068d86b1faab53d6dc1f7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-4208.1.8.tgz","fileCount":11,"unpackedSize":34042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVkOCRA9TVsSAnZWagAAJCYQAICi/a55OlshEyLhRvjy\nr6L9InoG6sORZzx78fKlVRenCk63+wWYsfUZuhqnCIHLqmCT4e3YTYhZhP5M\nX1iaxpdJDPq6JOO7Fvqig21L5kjWOmaLIHr3FfgtjAwLsgJf3cbz8weiZu95\nad1lhn6oqOtRFKj13rL8akYTnnxyrGQKWg9FRDHkaWAkvsTgzsGBGfGHZbCF\nqiEarwpKV7dbk7RhGlHYoxbg5y1RwNBtjTyQnUE2/fKDmT/aUnu/LJmHyijp\nsIa/z7Q5wiNz5VABLoRpaSn6gFhhF1wFSsS6CQl8ICf2eSvN7AOOEoet9mZS\njGdxjXs9qYQuaVrB03bkQ6T61RzY8+eDC8TCqSXTXm3t2s+ajkvnaTLjTiE9\nCrpmEE8OTWo5V0F/acJinfzaz2muNiOhOhlKEbaO9eYwMxeZNCVFUuiT682j\ns7kvBiZeFjk3luq7D6cwB9xFBuwda5Yke0j7uQ74MSgnR3BIYyc4xggdlOT4\nop3S0TXaJXJjuH9zKPqP7yO5QhaLyvcFPv4sh9GKqWMTzsvY2+uHg2N0mrSH\ntxnHh72ATs4Z+7dqQQ5o4pSWpBtTcLR01U34DJwTyIYCK301gKpbssWxN5rC\nVx0kIRhz+RofTBjv7xg5X7p/wFC3VBzVJIq9r2k6OI/yzccbu/P0z8+VVPrc\nqmmS\r\n=SPME\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNUd+iicKDs5rsqLKSO+Zm3P9xOVzxQvUAtGDwPYYM5AIhAOM4kHIqECq83ucBX/qxLJqGHNNZ1sTFIcbPJXW/eRHK"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-4208.1.8_1552505101517_0.689182238285847"},"_hasShrinkwrap":false},"1.3.3-4209.1.8":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-4209.1.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-4209.1.8+381557c4","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"381557c41244c16c6f7cdebe365aeb20be9304a0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-4209.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-2oKR8KT93jRlLJyCAjRbPSnOrnGdjsg0/innqnyjx0RNor0v/Gb1xgta1nHl8G8Zd3sO/m+DVZit3ZhlcgyN8Q==","shasum":"d97c0307f65630a9d937351fd063dfbd3f3d774f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-4209.1.8.tgz","fileCount":11,"unpackedSize":34042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVkqCRA9TVsSAnZWagAArAkP+QCmdLVNaC8tfSWnkOV5\n0xh7O1morWuxBfPIQsLrzZPlpLxGwye/3sNwmu+GbhhPi92o/GBwYOYRYgIX\nergYwsVkKj+BnDzCX5eplcX2pEY9cfY46xEH6GCQDoqT6kSswXTP8IUTN99q\nverlwK1+/kv0R/0nPX7nvbMi7ziC5LvLXluDepsa284jzDtuwRpgWDg/yCVb\nSORO93jIU/rtBey6xE8mGw7XjxkokeZSVEq4RVJlkNldhAQJYT5lXWUs6olw\ngMvJ6jETXiCqKnHklZ4gtlY7SevmWFWGBP9KlFvEkF0wMkr5BerqKCNU5oQ4\nChEc89KZSmjrT8dL8PuaopQK9wMmSMz2abblx+6X5oAS8MS9nw4Ji1BE7VpQ\nyjPdA/jRgXwe4gYer3LCpQgIsiLQ5JkStjujHAKFbGiQvaviKIYA+ASdWNwr\nqqCC9wm5trjDg7r8qLuqZ9J4NzLsm1snf1U3E07AuEQ4F7jnqJQuFD98N4xU\nFNrLWnY4/R8AWOxM5cMud1oiuAAMpqk284CAHIV2GIFWc03mCBFxBF6U1gX2\nxpmVlP93uxWX3N5L0MNpd313nFYUf/cmmDd5416nC3nUgxkOazBqRdNERlwp\nvOINdAid6QcGg8vdbBp/ID+zvVXCxUntJcnCUFs/eiTl8Y+gOhqrDUA0En2g\nRAc6\r\n=NNkC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTQMbHD2SykfX1ALLfDTZ9KxQMN6tjNCKvVnnujraTJAiAfGWnoliVsvSaxE8W66XQGghBWxW21Y7qmqFwaR8dQGQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-4209.1.8_1552505129925_0.3854614034568653"},"_hasShrinkwrap":false},"1.3.3-4212.1.8":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-4212.1.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-4212.1.8+5104953e","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"5104953e901c95498476fd7c33bc1eb0f3343eb6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-4212.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-ra1IMl7e+IxT4poY39Ne6qHep+SABqnHcWIfsk2FX86sBDKH8gTq728KGw9sGNOn/O94Byxu2yRqshAvAnq6Jg==","shasum":"f38052830d3422ab3ab69b0679c831f22c6ce5cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-4212.1.8.tgz","fileCount":11,"unpackedSize":34042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVxvCRA9TVsSAnZWagAAUZgP/0DH/NcS+gxPq/MHUMce\nR7NITn2tcb4+tKsMiyNrrUv90QNgqFuMDI8xHhuMNmp87ZUJC66SEC6A7kRS\nU33Ndmd6zCwPmiBAe+FMOPxNK7AMtlhJbWWIyNK6rcF7KbxQsdcs3dMUV9dw\nbkepATv092SeHjEdCmGnvoCt+OpTZB7aBOxqrgKacO0i4MLCOljzBxhJ3uGI\nXDewqB/XtUDwjVV4aznGYslJKdj+Ak/qZ2JUNwaDUcLbBZ38h9T+1UsHua5/\nBSJq79Qkq2+q8uCpQBjanYHO1OnWuefdiVJNh//JLT/BOSlKz4hOVb/eXhuR\nhe5aixV7MkG70JCXogo2EpGaKmeUGAvY8GB5Rx+k/fZpJ+5z7XX3Bu4RHneA\n+t/aSHYWCZRXEufa0I/T+513c5oEyGL1i7WFJ4EYlT63GzSwzYAWUNtzLbbX\nMftdDKTHFJbe9QO6LqU5hmflqggkHrt9oFnwGcrD50JPVbrOIi+pCv5xZrDL\n28hJkpiiqKBgDNyYVl/yg2uxh8xYl4djKcyawcgHpGfcDl6wg0u3gwpCCmBW\nAYUUsyjD5PnmQrTICf6SUy5VaGXT3A9sq80QN+TYLr9b0yvV7i/9njjfXQK0\nmTNRro0W7Jgfryv1P+rprSMXuG1OSoyHgmlLoA9sGFAP8eRB503ADmf8IsYz\n1wL3\r\n=f2jn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxQGhVtbH2KR+LQ+AVNUMiQugC5Kx8luc2RSPVg7nY2wIhAOjMKk7rik1I5parL1HLM1teKmn/a1bVS/fqMM7Gk8LU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-4212.1.8_1552505966378_0.8518802681162334"},"_hasShrinkwrap":false},"1.3.3-4211.1.8":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-4211.1.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-4211.1.8+5104953e","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"5104953e901c95498476fd7c33bc1eb0f3343eb6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-4211.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-StMNxeepMnUh6Nwh79E6SmZTTscPMlhgdIJrCkd7noi/+YRpFR6hKirk9NcrUbGdMGtt07WzHzguYHVX9IrbUg==","shasum":"27c97c9731ab3371e44fb5b2ac339fb6bf367093","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-4211.1.8.tgz","fileCount":11,"unpackedSize":34042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVyNCRA9TVsSAnZWagAASssP/j4iq4vdoeeNPX7j8QZ1\nm+iMU+AjQdHeNN70/02VFK4UwVYx974UsYgNIOB1mQBvObNMlt9LBFu8trlx\n3300JRv8BWw7YUNBiTV81ZUVXmfVCo19wK4fq138sG+QuaZ3oyTu0ddScQa6\n1NKbKgCPyyPGXSEb1HHIVQ/m5v422gHJ75ZIgRFyS7AtVh4ynRQTvN8jvQGo\nTVoiHFK/qvowVt+x0UZeO3FZNh4i2vtd/eohRMB4/dW2nC5cVQhSIW22sopW\nckQJMAFhjVuuz+y5rDpKh3s0s4/C47fKZy1KJ9S4s49SdsPwhiaFlVxpQfmb\ncV7L8RgvgXrnu+/aFTTlKkJbGwXY2xaLrm3B2RGYLk9JOsh3QIXraIaoP23C\nRwD2gd6fLtxT7FTcVYwBwohOhi+ppDr927bqNLVfFVNcJhqr2qEooazLuVV3\nZFxnyO3PmjaWSSb62hz4nWQ0nDlpwxXXBI/uMGlkS34Dv7uJdx6ZI+nQp9UM\ns7R4A19e21HgH5rvcqx9ZA2zNIC9yHHNdSlh2Yt3ZJTd04rPMXL25Jpc9zGt\nqe3aB6qVN8lnysCzbjh/GqVpiWvntaih/q7ykVQ4mQqWUFAg5tyr2PsDOphR\n0GbcNcs+xBGFXjn+FGWB6JnYIC00/Kh8kk9VX43Dxtd7u1kYfK5QlwMcXqq3\nDKvP\r\n=6aD8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHQcLKFZwJM4+jNnTbMr0xIvvC5IeHlq114YvjGcTifQIhAIo1zV5qbh9iDNHLxjyjC/rTm4ULjtRJRyslODXr3U0s"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-4211.1.8_1552505997079_0.41964433089805486"},"_hasShrinkwrap":false},"1.3.3-alpha.9":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-alpha.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-alpha.9+7ab5e1ac","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"7ab5e1ac0fa100bbdac8bb0a811a180ab977e838","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-alpha.9","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-etw3OSBhcRuiVljmjiRrKYhAEIcr3PF8TdcltAfZn9+X6dcG3LlQUOzNfSi8D9ACkt23ZUvV052088OM4qShqQ==","shasum":"9ba8e42e5346d16a160bfd402022d7b7db97af6b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-alpha.9.tgz","fileCount":11,"unpackedSize":34040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci5tRCRA9TVsSAnZWagAA+1MP/2S2MrejtkGM30l91SUu\nSxXGxGtz8vsY8WUMMSR70x2ACzdudQsrYJbS0KPnKMH5bJIpCDpdRNR1yLUe\npv2mJ9xpKwoMH6fSvVKP2yZW7JcHX2CIPl37uLqAZrNRyog0YWu9JJmhLo8C\nTmaqhzZmMaOKgI4mPtM+859z/b7mcNOcxrauqzSwCmpqoW7J2N0lHQLU3aEj\n0nxPR4s/jHGxfsKlXqbqvqI7tbbTt8hsXdakxAfwp3Vb6X/0Uu3DLCe2RP2X\naYwGZ8LcEjKK6Blzzlzox4vwHPgYXQmY9GKGglzPUhtQ04frZhRYGhfhbqYZ\nvCiNx6wV4llI2u43+fBddM6GFDD+lgJ0HvZI8gYVtcyNVu4TWsF47psHEhrB\nO4MV55Dzra0cH8G5WLs0hD31eHtL7z7NWHbcAVqAEKFon9Gp2tHpuGjBE36Z\nCq0NEWS5tbAKjrGSsJW3dqWPQ4QPytPiBAAXw4nzd6IRVY2uR34MoCGfgWeu\nXMoRQeqUliGzxZs3MPTdGg5wq39LevfRHm5cr6qG5d2XA4ctpi5czteD577d\n2ei5JPZ3uRNMsmKK7tPLnGIoI+2KAOatRwS6wLrkppRn7/BmFfmXp2MewVDl\nd53YbUBkjCJxMlbhmOoCDxrIxmSFmiyenmfztPB00x2ZGbvMMZ9wKUxkxIV+\n7srK\r\n=bPld\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNhXOJ2r+foMZtLUGhJf4YGf5OrrROv7qM5D2aZNIR1gIgL+jA2Nw7AyR/qM3l8XMgqSCVo7DZb+g8tpbgi8DHhhM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-alpha.9_1552653136441_0.4502934499671478"},"_hasShrinkwrap":false},"1.3.3-alpha-percy-andre.13":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-alpha-percy-andre.13","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-alpha-percy-andre.13+978112b0","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"978112b08f58ba075f78492837aed4b87c6c7b82","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-alpha-percy-andre.13","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-L/WRMAQzoYFYvDL4auodOLuXwOoRss9LT5XksNXFMoJgmuZtlBMVW2Y3tQkLgvm07LmrWGpn/RR218KMkqFhGg==","shasum":"86f80aa446be2dacbf0ab3b77e2d3de93b8f16f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-alpha-percy-andre.13.tgz","fileCount":11,"unpackedSize":34066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckAkiCRA9TVsSAnZWagAA0ccP/AmFxIR3Gpnb4kQWKson\ngdkwazacInlKZtHIN/1g3uAE5i2RAEThJC5gkUisVLpYgvBsNZrWY2/3083s\n/PskD5d5x0beptK42E7oShJMb0NKWj1tfnSD4n0AG/Dx0Q00In3BKT2zcWH2\nbLNoI9UnegRa9QAjwcgn30G1SkVFX2MEBatDgPk4Ax+9GEDbsa3GAJ1LRcNL\nHzuvT3CtQ2oSRah3Etb1pwpapoBuL2kYwb5oe1A1Hxmw78yzXEMWpDunJDF5\nCG26zax05kAQtnz/VyEm8SYSLaonKzJCbIiBLs6qEwCQ2573RAljWg0yeBL+\ns6ljrQcIBjdXsEwZGQmcV3rhL5L+gYnSOHaSAbUKruXbnE8KzpxTNR2KUGF0\ntw0EU6zMzj46+kZX9p3oS7tagaoqqM3OEyokea8mNQYwKjSnP2aydQALQW8i\nsiY9a0GPsMM9EW9xemsfRxAif0tAwUVAZ5fLcKgbzPYc8fIGQIEeBJeIQxYr\n38Ej3wJJt5SbFbwHb59v9Pm7UgyJIE4adZSxlU4ltYc6QW8VECb8wi53D/Cy\nFdYjqC4m3UTnUtIdQKVYV/tAQ0YKMLBMqJOHBw5a9dw6I7CITKIgeg35oZYg\nHwR8issG8tA394jqKtWoWrCIBoQsXje6BBQe4vwGRNRY/kzuOC2BzQs4KwXI\nbWeW\r\n=kIB7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRETzBz2WlNuLSIUlUC7tkpzHAcx+18EZJFEcNEcZq4AIgEz4q+L+w+cw9FYz4gw65VhGEY+T+MgPJA7NhkF3TYqA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-alpha-percy-andre.13_1552943393734_0.01414280864168349"},"_hasShrinkwrap":false},"1.3.3-alpha-percy-andre.14":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-alpha-percy-andre.14","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-alpha-percy-andre.14+c37a3600","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"c37a360060bec1979a829c76bf07620a365e3d1f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-alpha-percy-andre.14","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-OhqUQKhEslzHoSo1vhSjDnvGJ6UUvrFDqNGznAkmLjBZNvt0EHpQ7uUkOeEV//ClESEDpc5dabREQMQrhk7w6g==","shasum":"43a68bc490743ca0fc3cfa40161d678976aadce4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-alpha-percy-andre.14.tgz","fileCount":11,"unpackedSize":34066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckN7JCRA9TVsSAnZWagAAAbgP/Ro90yeInz0MCessQ5so\nNTj0is3b2g7Ol3NyIaVkzCVGaB3puvt9SQMO+faEMFhDJKSPra2r9ZUfGBX1\ntsJ6KWbJY/U4CzoG3yrhVilFg/57PNuAkgq9VRzgChn8ydlM/EcpDb7hR5qL\nTct9NSs+r8Y0di/NbR1EZSchcoOOsQAilwy94RvagNcaa8U+uG99Vk893Dwa\nsKkrogMkiGPvGEMJ0H0l8JyAAwWr6+TI6lP95BMqblrcC3Axq4eVhaSFFFuK\nh+XbdpMv9ghUU3LwvEk7+AMCijjYOPt/UDcwy4f1NaNWZ+3jT3eDhpMcMes6\nOUEe7XgbHLOKGiFBsfH9iiLiRRS4Zq+PkglfR+DP1prz/jorViqVsgMLrudP\n/kVpjU/x+sOZbzgfYx9q/uY2ASuYfWdyBj7aD//yVom188YiYSajNcYuDhyP\nj79hXroGuNbcMFQXISUwQgZHtvthG/dwiYm6hhQ7CrMb3noz+c3svQ18fZ9R\nlQ2CFTX/krEbPjK8Ey7p7N9NeUmCseeG9MFYr3JJmfqFiIySrMmUCKkrNG1X\nfsDWhheKaIlTWbmqZt6yx8WFoKtTY/HRPTdfvb+8X128nv9PzVuSMl9XR/i/\nslVAzANu/BVC8vdr34l3b40gYattvmzgilws0SZukmxx9zWwuM3YipLWNA+M\n+rSG\r\n=vTT0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVVQc0i+wjHHzpjcENt6XeJYF74AiYYaB9URbrZHBdPwIgR7TDqfRunsC2WVKnlyGt3Vdd6vgu63GBQFekYtUrB34="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-alpha-percy-andre.14_1552998089033_0.03229714993608401"},"_hasShrinkwrap":false},"1.3.3-alpha-multi-select.19":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-alpha-multi-select.19","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-alpha-multi-select.19+e3c075b3","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"e3c075b3d1913194909523307f39ba73e389119a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-alpha-multi-select.19","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-F8IVAGZQV6NNawRTuXa0lm//S87dzgJAxP8eplZoXQ+OBCshqIBxzlJc7VuvkxkUR2ZP1VjEUmrkgqR5y3U+nA==","shasum":"e6d59a3626fe5d8914fd6c5585c54a1ee9c6829e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-alpha-multi-select.19.tgz","fileCount":11,"unpackedSize":34068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckUEnCRA9TVsSAnZWagAAd+sQAIcIop5HwSHzqs1HZPbw\ng6IoMkpUD/o2uKwmWIyxRl/+yh979QAOZXHj5NtLf5owDvXaElJX3SvatSbH\nAJPnBCI94Wtl9kYYn2SMwzURdx9O9iaQ3NfJYxq4r2llp/ow6kWNl/ZMUfJb\n+ZmIBzwzBrVwMyR5OmCLb++HJvmt8WSef55WiCLVr57lPydcgtwqM3YjHaU1\nN6V19y4+6kl/CJvxQbQzSLlUTFHbh6EPzlpCrxgvzrkIPx69DeNMeYs/pV8Z\nRvZ5/Kq3YTYSdZMrU7tEX6BLBY1n/7yHapRirv2gV7Vl1ugyiiL5w6g9kVRc\nKLT2wYKqRApc6fICM5HAoLRG4oBYVz4v1tkS11beZJCuEAwxccqj9DKRAj1d\njtWaid2cOZtPE1x1/YbGhSmXIl+FQhpN3qc3DqiIJkZuZluSgs3+J3ZLMe5p\n7KytmfImI00ENZw9vNC64Q8s/Pm4hAkvKlDE1TILXM2KafBQAlWI5UmtYYKa\nrcC9CkkZB8jYk6B1eYi407pXBaRrCg5eq9iUqANIegitQcaDZGXOmqxyOv/X\nzqgR2bOZToyzHe0ZLXIfFC+7VOLUBxS5H49Mc8boHBuu+Lits907Dd+tHRZM\nlMzLWsfprsUgxYUG1s8TrdXIOQk5KtxEwlLh0WTdtHCO6iSUBlNlUI8RUjiH\nVFiD\r\n=hDBS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF06xH4Yu16FiFY0l2U0jzqor/1vJnnF8LBWWkuFqKBKAiBaj5GbmMGGYUnKXPFh3Fw6MAPleIh0hoAe+ZZkdBptGw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-alpha-multi-select.19_1553023270311_0.7789721602326631"},"_hasShrinkwrap":false},"1.3.3-alpha-multi-select.25":{"name":"@crave/farmblocks-dropdown","version":"1.3.3-alpha-multi-select.25","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3-alpha-multi-select.25+4519a5d2","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"4519a5d27ea7594f0b9b2ccde1b0bcccdc7b3411","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.3-alpha-multi-select.25","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-KnRiNEahaRyDE0ZSxdnD1BSiW4dSALJKBeX+svu7gW/B5NHC5cMLIquJtv3imB17C2eh/9WjX/CZyJDGtXJgtQ==","shasum":"675f549c760811644aff42ba23ce9fa7423e94c2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3-alpha-multi-select.25.tgz","fileCount":11,"unpackedSize":34068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck8iRCRA9TVsSAnZWagAAscgP/0XgZOsWg43uJavxL6h6\nGs2iAtsW2E5i2OcMF3Pi0vZKBx9Ca0yamrHktRy/7dGJ0IP8TLvZSLYkrinx\n9huxQeAeeuAdrKCHPoVdPEPAzQSftoUZeM1K9CaJVY7q3QHVHTQYTlSQi7gm\nV/8gBhBGUOsBTT4mjyXrYqAs7vD99Jos3slGKfvQ3YCpBvGkaY4shwR4ciV8\nItJObs3XdezcG4boX9Fe/q8HnZ0AdEwAvo7EteAIo3/FIAdugusXbiG9FkKe\n2xNvuxU/5IhfBb8Zvb9bC7xuRddtPB0SjW0gJ6HtTUvK/beBytyXMCyvua/I\nSfYWe95cknnvhRCXyG+vSrAtSvOhrwYBgLavK6CZ08nuJ74Xm504HJRdqMli\nLy2yITEOPM70AKwlp8/Hlsqsr5wnH+jCcdRFu/xURbB82AU23tVFqGsGdPxy\nu3tkS/nPFo9ZNZetwrRuI0MMPXpfKwWTHkg/jBnZGjN63ga24jVnoIDoaBh8\nunpE5CduiSMXxhgJdKwprkDr+zIYzlzK5ic9DNooWvgiAI+i7Gw8vDD7Q0OT\nO6MlkCj6lqOxq8LN5cJFPYYbsxs8Tf9dfi0gfUyMuh3OHsgn6R8yevxkaIIS\n1iUx2Pykh3mtSATWFfw6XH0f9WXiIUqe8TPNDLI3EK6F6Z+bT/wsxllwV6Qo\n6Jk+\r\n=Odm9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjfkkUIF7VqvmgEB75k5amOiOegD8cOR0K/mRdaeF+twIgRpr9rCDVAB/BxNYVrWYWvnFmCxqFbuBn/HyI3vtM1vY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3-alpha-multi-select.25_1553189008341_0.5074840140348498"},"_hasShrinkwrap":false},"1.3.3":{"name":"@crave/farmblocks-dropdown","version":"1.3.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.3","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"8b6552d219554ed3a3747d01e8a7bf02e0156988","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.3.3","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-q6CjhVeqPng4zRPbbrM0hgrqsDUU1/evfvAr/wRZTVy4zyyvBfAR0+Zxn910KUpj5kRVYYPcRMwR6FjB8q2gjw==","shasum":"6e627c8ed56a83a894f537d503494d017cf83519","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.3.tgz","fileCount":11,"unpackedSize":34220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck8u4CRA9TVsSAnZWagAAF/UQAJaW7hkk4HfFHwC8RV+m\nGaGBj31cEqILZksBeU3x6t3d8NZev+J6Ie6F3QA008y/byW2fw1Q8gix2SVn\noA5ayB60ZY0YMCrtNt/fHrCIMcMuabGgNQp6Gz+kjYGmMQ2htg/oRtitaOHh\nIXWwSk0ZAlb0nSNjwB7uMWeZn01c/TMdS4lxdgQv1n3i1Vjr4flLlzZsnTWA\nODa/OPjI9lURcdTxUWZJ1Z7Hp9p+UQHTizHXdEJ+1bjWEShCYiQ9+duhCfES\nkmirkSiJ1/S7JryzHJC8MEuwqPIY1CI3QBDECh02hHuXLsJDLmEhZoWR1mjV\ncI2Gl5AzIyvXrVsGV7lJ1RJSQUlFO1jXHI+m7hBdVnw5ID6HnrRAtMdEtslL\nSBm0s+aStotdTy43NlprTLnN11fTS/Chb2fhtfI2pKYKmau2G4co2mxE0YpQ\n0PVJgPPQptNCqSLR3tL2mVhFX+Lajdf2yPGXuDVCoKalj7/CUJB/51cknSeo\nAzqx+famAaRMlKGEiLrONMqX+UsJ9827i3sY6udQfYb63wzM6o63/zas/W4h\ngr4SK0SCui6t6rwNjamwuvRtIz8G37NhC3wMMtPwRqLF1pU7VRIh8bkwcXYS\nM2yg7DLYjNvG32CTHZkfDZIrqQKAVPflfWSUdSXB+Zp7sf0VoYUlQuloNtQv\nZym6\r\n=vqwQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2GQ/ezJxiI8iryo90pJQbnksVCJMyn9s5QcX7m0xFAAiEA2XseAl37rDVPZgQZsrTTtoPtcQpjBq/4kM7Q/8xe5VU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.3_1553189815653_0.6402259237907286"},"_hasShrinkwrap":false},"1.3.4-alpha-storybook-images.12":{"name":"@crave/farmblocks-dropdown","version":"1.3.4-alpha-storybook-images.12","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.4-alpha-storybook-images.12+887a0405","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"887a04051ba39e2ef43d9efcac2386bdf5a9afe5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.4-alpha-storybook-images.12","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-+A3Otk2RolveYTSdIvy+uouATnhiDLQz5NzK5oh5DR3leDRgEW1xedJVJrzISt2FxC8I+w3IdJlUNxkAmtW+Qg==","shasum":"55f1f041c2a3c7f45cfce894cf1c3d8696c4e9c6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.4-alpha-storybook-images.12.tgz","fileCount":11,"unpackedSize":34290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcolefCRA9TVsSAnZWagAAUPQP/RiLd3gKp+MP+1EVcGfu\nWouhoNY7tsnP20S4n17KQ5wxzf2XxSF9vStoltnIaKbRZhGUlAWyc/pcS9pD\nju2axPRSlNrPNlZEyO0kIjYYNUn/4vs/t//f/SkjMcSl8MUZ1xii1U1zQ7VC\n7CiB9YWYfiS47h0UvGm+cFwZZ5CjJhHP9cw5I/kwRbE/f63WPu3tQmDUw8kA\nwluOXdjpMqnfQ6EiYGI9hsyPw/pODBpbDzMcKsHNISEyWcKC9GtTsV1xOaGv\n6lCiJjdhLtVjvNHPkGnsytJjqn3JYDqBedfCf5fDewgp0eKnsJLOPIWo+4gj\nsNFHW4emCUuRGYhNtc6TS4r4vVSJT4SEawoPSFdLsWmzQe0JMCS1VIo9YPf+\niQSW6Low7psCETWmKZV1N/92ikwXbhNPaqf4rfa8yqJKXUR7Hfix4zKGOEDQ\nfqQecENsN5MzX0F7gLPiZl39kTJYVlELLb8pAO3UTU6wX3om3mA/4Gl1JeGM\nhe0PdAay6R2SafxUmXYLbgyKGYPGJ5s3UX4a2qqZWaepXyQ+3p2fxb90ZHjz\nzAHwpKkJXMhPqZJ1odGZMDOhctSRAzHruSfb+XDU7AFleGSh6EjN05EA8B0/\n6GHCKLf7rd5O0dq0IZCKRMQCeCgcPQLcoDcCXhd12wU3Ai6IsCljwW9CiyST\nOyAL\r\n=68l3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGyBTcC6Z/uodVMSOmB6U5zUnDcLnwjYvvP7wq71vCosAiEAkSQeShQHvtDzIn3z6A578HnacFQzUrnrQmTXv0c/tqc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.4-alpha-storybook-images.12_1554143135069_0.6273186408873617"},"_hasShrinkwrap":false},"1.3.4":{"name":"@crave/farmblocks-dropdown","version":"1.3.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.4","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"f8b6ed3d651f95e2b4bee780a244c409feb5a7f3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.3.4","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-zo5lhytvgvz4vNf8JdtZNNmDY+ZO/Fs0RfLJNigyiLPUPSvGO88m9k8r1ySmRlGAFZzrufMpFirygVyW+ha36g==","shasum":"5f7785ecc684104e3e871c7fc0e3af3dea9e2e8e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.4.tgz","fileCount":11,"unpackedSize":34434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpLqBCRA9TVsSAnZWagAAvX0P/2WhL20yB+m3IKu5I/Zq\ngv1Ug1po4X9nyUfr4UeOiv9aD5Du/I+4FQd9PdJT5vtyy2IV7dR+7m85XhII\nIIEo7oOq4Ux3FllpA4mAR15EqUOnhRTCKeMt6IrGaXRPEm6TXE5w+h/KRq46\nr0lvnE4F48VcmHia0JGmmEAaCQG7yRe2QpKtlHg6tg855KZJrlI32yPQl6hV\nogSCq1ILUbVGSwCvaufth0ecT/s1c5M4NThnhoxfzTXOwd/aBkhczK+FIBvI\nE5n/+iSf56yNnhtgqMgiHPs4T3BOeOLkvla6GIWm/ZNhmImyLp5PSxQ6wshc\nDlc+VW8hbLVZ97NBz4khGxE+FcLYnnXHUhaPf7Wdf8j/DRaYje6vf0rsx968\nOV4Y2GNHxl3pIWyyh38iP+L/xb5iy9Mdoh1JkZgTHz/XP1r36/p2T+v1kAnw\nfisSgzEC2P7S9HGYxwSYKJty0enU1jRZa2VZZNzin2SNdOFzQKrSi0tdIMOT\npz2ic36K/n+QWD5NefnqDPqd+v0dfc1/EutOLtAr9kaS6DGX8mmmPBc5bgzd\nBQ0Qyz2dXJuG43j6qdCyYoPiweG6pH24tMS+FAMwu3tvf+S5qGju30Cnpivu\ny5eyTePHD4DWzcJ077MjDKYSTA2vFO63Pq4aBN3gvpz9icdbxlSScKdM1/qQ\nIkuz\r\n=vLLx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECcbmQjji7J0l52wb6kOjkSnKT4tVl/4M0JK8Qeo6P+AiEA05JEnnmTByaqGPT8BnLqDDjcX2nlYKAblEqm4Nh/1L8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.4_1554299521017_0.9192878946067975"},"_hasShrinkwrap":false},"1.3.5-alpha-extendable.34":{"name":"@crave/farmblocks-dropdown","version":"1.3.5-alpha-extendable.34","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.5-alpha-extendable.34+a9405fdd","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"a9405fdd8870094f5fd2cbef603aa49f09ed83eb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.5-alpha-extendable.34","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-RfflgWIA0gPim/KTXbxKAjpL5iymkDDTlBjh0oejjQPI7agwUEgT7B9mZy2FInfczDVkaWVU6hMQeL58YryCAg==","shasum":"6926469f7a97b0aa4f6dd593bff219167f50a31d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.5-alpha-extendable.34.tgz","fileCount":11,"unpackedSize":33361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct4PhCRA9TVsSAnZWagAAB0gP/0m+8TOxWSFzfCojFD6N\nMxSxWS63hoBlPp1T3aBMhisRHv9CdSHUJdY/jr3jHNf0RVMh39U4JZa2zuSq\neHJbgU81hV4EgD1PBufsjBft9kLEHUyWb9LN7JF5LGfCrkIbueuwUivPhwya\nWWju+8NU1rpy6hJ7mFLgWRoQoVLA7wyNQpFgjFWFHk3nhSJCNDSYzRTrEMj0\nIN/+4UHlJetyISaBJ54e6fhPi5tJcFdtVaJHEQEpmVSQ9ZUrvd3YcQYs4dc7\nORDdxBk0iIQGw/AtraigbOCMuSTd8MSE5aOywXqLHEUPFNHCrdhockPhU+62\nYyKG544zvNnfXcLIO4cgtrSubX1cWhXedf2H+SIG14Sm3UffyvLmhuerhxMg\nNiFdhPHBzyAwB9gkz8VX4dj/U5RDUxNkPXPnFCXWMrRc7MkHmzZL2JItRuJY\nDXmrkcWAapi6Dw739Ek7l1PwY9mLWvW9sO+z+MUsZ6HKFqzR52RYX6TMXEkG\nrymOXwMmpxGfnN6A3hX2lPZzXFWwvsZLEAknFyYG8soGyOuh/5rIY/aIIWI8\nIufJ0WKMlVeYN4gIjUI7g3KiNxlWnrTQ20ALwyaC/r43rfam5sFqFofeHmdJ\n3XC8w0ggjk7Fr3r6QNKFBcg4WnHSIkad1ga4GtsfTKWboUIa4Nj0E1VpNFle\nmdtO\r\n=vPKq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkl8/h54ointY10ve6yfKByjrdPKVipW9Hry5EbFQoJgIgdpWPLguozfGMlh/z1BAW1vEbHwbM/auc1PL0uo3iWbI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.5-alpha-extendable.34_1555530720907_0.8259649267741218"},"_hasShrinkwrap":false},"1.3.5-alpha-extendable.39":{"name":"@crave/farmblocks-dropdown","version":"1.3.5-alpha-extendable.39","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.5-alpha-extendable.39+557a9bc6","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"557a9bc63b02a1a85995cba2e2cc1307e71cf12f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.5-alpha-extendable.39","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-AgGkGqmYEStr7SXe8zI7OaUpGtYJJ9TOlTEj/3s72dEdR9lvonI9c86j0wZG4zzFdS3La31qJcI4EXy+isRKJg==","shasum":"b1351d50b2871c2e192fd2e9bed6f80b88ad4498","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.5-alpha-extendable.39.tgz","fileCount":11,"unpackedSize":33361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvwpeCRA9TVsSAnZWagAABmIP/3vu9Rfof2W/N5a7Rtr3\n1zYFWVqj52uU6SDkVqfiu2YsRF+054LpDhV89tLp6shQpvTEmBeWHYSEUpyo\n85gE1n6jOJkYh6DxwuADASZtduS88cWH+dTSbp+E+GbH5LnXLyGvTGUhgf8U\nVY5edRTQSIBPIU0vN4y0RvXhI829Nz8SbqKyMZM53MfDBDwihm0fMEdZ8Dn9\nrVwFZxXWGSC02QOkWhAeJAdTEJhmz9xxkWax9eBC7jKWuaf7KPP7oDU2OWnu\n175YLampR/dDxXKdpvKHxti7GJkUlzalrNr7HfbJvXRB4SejhiFogKXPsus5\nmZZnkl3B4+hMWoPAkggYzn46yKEecTLnUWMAq5lCmh8BMdRY2xViQCqnKDOH\n8kbDjnVa1HanlDqx5rB1iOMGwBlOyp8fqqCdBBkOkuxEpqhhW+CAQ1yBfC8Z\nV8LkYVnsbJPFaqyIUQpJwie/lFOxngl094sTX+KAvhXGMj45rqUTsLqkvaGo\nFmQ2/wcfPE1yhimvtQyopjN9lECguxG87AJ7G2OjHtHS7dPyuTQgPyS0YAEU\n4wnts8KqtWs3zUoO7VnWq98OTXMRkwtYSfRJsM/13rmGH7YQLBtMwnsSuO22\nItn6dnz3DRrfsBVMS027tX49L4qqX5huSZfKZwoyHvx1FO5PbCmilLVWgvFn\nVkBm\r\n=UJVM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZhpAPP8TUInzlI8dKwf7UkUUfCXZ8fszzpdBo+LAKRwIhAKcas+E5lbEjncNHaXuqx1S5ljJvaD8J1STA3rxeuSoT"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.5-alpha-extendable.39_1556023901645_0.33489692379718683"},"_hasShrinkwrap":false},"1.3.5-alpha-extendable.37":{"name":"@crave/farmblocks-dropdown","version":"1.3.5-alpha-extendable.37","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.5-alpha-extendable.37+708e641f","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"708e641f927003602f2bdcf2cbbcbc1dc000a6a0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.3.5-alpha-extendable.37","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-JzMxUZ5J9pPk9k6s50jyOENk1i1asMy/SfO0lR+Xf+0k2PQF/DmQng6oVnItLyiso+jGZ0dIt3E01PkP899r8A==","shasum":"18ae4dee4514b90387773fea02de9fdbe2478a9c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.3.5-alpha-extendable.37.tgz","fileCount":11,"unpackedSize":33361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwa6eCRA9TVsSAnZWagAA+vkP+wYBGsVrj+5BnEQiQ9oZ\nHpO77Ifudl8UGJViG5XmxlxVdIrqRCZf6P1SzYuha2n3tdd82X5g4Stj7/R1\nvsafVBVrLJ5+ipBmtsOi39Fr7Ma7lKA7rd3WyoiSgju0sQyqyh7eqFJSxOXK\nXiJg2A/t4RNNVRSzXT3Ecw+Tq3e7xZiIbuFpIxzjqz9SLzgrMEmpJ7iVpMka\n5Tg3R5GY2iSjmYgkV65lxnNmZhk4R45QVDmCqv8G/qH1/NykWLLPTixh14Zw\n8ZUKZoWT1dIJIq/WzOG6zOjyW+OPQaATmJLzrgGbm3KWyvy9nlHQyHjo53rJ\n9UN23cKdPE8EK1Axj90+r1PDe+YALJMnXuUJzU0z8vOlJdKMdUaZp4OoqM1l\nfdyfWAKYL28Sl/7hMKvVvJ9abttvwgIkbLqBCl4ynLQpApatgFVdEg+lvjXg\ny1/TQ7PhqibvlQs+K90vudGKjA0Zg/BINDOsfNMjXVqXZkQ8JoIjHr2D3JJ6\nz00jAhvF/yWFoVjk0dkOv4bFuTlt/qPh28gClCaKqprwhibw0LdsnPRpdYj9\noVKkirFe9OhUnJbEKsfCn8qA9szsXT08ZNlwVl/UjkKIdv8RE67scN3Y9H4E\nM8TKj3My/GKXNdwb0YDBe+vbm/jPEPpCFl5zmcRJRCXy6IjPUPWg4P0zsl8G\nN6BF\r\n=lwyt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7BdNPZWtjlbHJQ6qfs3XquW6CCDKp5NghtYYDa+SmcAiAE+3boJ9d/PwI/eMDgTAJsmhBtNT4L3C1YGHNsj7Z0JA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.3.5-alpha-extendable.37_1556197021314_0.20163269531640804"},"_hasShrinkwrap":false},"1.4.0":{"name":"@crave/farmblocks-dropdown","version":"1.4.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.5","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"e5e93f94aa1d543f514b4df7c4173b0e7a7f42c3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.0","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-qFWLkJVYLoicRulOGXEUJfLy3AUxY5gw7sq0D+ZtKnLFWyR+Uf46BUNjKVMGD5Lj923Dw+FTtp9q/oH0J3Q8+g==","shasum":"399ac5c6ffb7257891baae31c807930e5c647221","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.0.tgz","fileCount":11,"unpackedSize":33579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwbNWCRA9TVsSAnZWagAAI0oP+QEqlVtPczHttKFwP14D\n8lpAbE+3CyLbv9E66lQUJIvoba0xc7uEFYJLxd8tdffEBbPJNt8Z7pJyMDD2\nyL+d5HoQ0rKYQA3arXG3a1B1K32HY1ZB+RnGCLDAl78ElAoUMgHamxk8QpI2\ntPotOTY7HgYdef+2Fl6mxjMRi2K9QOhxOaVwBna2ki/t/usZ/N0zQ042Pnt1\n3Z9OH8PPFzi5ZPFnpPpyyA2d/iTdo3DpFzp98J8/KyJJNLUHbyRimJCg1KHg\nrSIjg7MUtP+/00+RJvhjXth5f/sjySdsJalyX/eHGtVYifBAsShvJ29wgbqc\nZ91/2f4xcJQiKURVt+1tzxILSOWjqrwoNeC6skdy0foKTHyRX/0jOahOyKsa\nMhfihZFNv0aakBrV6Kyt9YSZmfKWavUk2PZogbWz+WQdd3XKadwqKj9j2r0T\nl3dvBZk2V/ONWnzvwMFPnK+1ue0Kgi0gFkcJNBb1dDym9RON4/8xHxtVIevK\n0BOOd7Pvl97nDQzH/AcTDmXmalrK1MnR+dp9tarr+V3mTZGhVQXmRIWTpP+A\nJSOuDzcR8a2oGnsyEnArpxolvSp9Ko9DVyB1iPI417fQQyIyuNO3z9cKfTCQ\nd/4ydSvDrknrEmOl/ms58BmI88sFDYvWQg32vkerKj6gRi3OX+qeX4y9miGx\ny31Y\r\n=wVJZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkBiymqo7nRvn98ujGdVsXqQHQCFOIBeRlOVAqWbj1RAiEAuwEiN5uUZURg6M8U+ebGo2CJzx4oOqir7bhOnAUhSVQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.0_1556198229254_0.12552720991152233"},"_hasShrinkwrap":false},"1.4.1-alpha-modal-tweaks-4662.1.12":{"name":"@crave/farmblocks-dropdown","version":"1.4.1-alpha-modal-tweaks-4662.1.12","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.6-alpha-modal-tweaks-4662.1.12+cd48bb4f","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"cd48bb4fef90ee64e73d62d2aff7a9400171efe6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.1-alpha-modal-tweaks-4662.1.12","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-2ljBtvKkVk0FG661D/GbaBEBf6G2j0pM5mj1Kth5htMYbQPkWbaNGmtQ6uuspMlUh268DoU0oVtoAEnSCCtBAA==","shasum":"e0d1f89ee420e4420248e51c2906a21a49f2e7bc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.1-alpha-modal-tweaks-4662.1.12.tgz","fileCount":11,"unpackedSize":33655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+qG1CRA9TVsSAnZWagAAyOsP/ixhA6yFyweHd1+BsU8H\nx07Le7EUy2rio63WufpExLEAjNvmlJR+31kFgghyLgPauFnUj6+5T7hs7gFG\nza6J2sy381+7+UdSnuP7rGqEvBGPNJx1o8iHdXIelZQTy1Ua0bHep+/R9Km2\nyZjcggopDfJpP9OE8P3SMlY/utzUMIAY327YZnp0c8UxgHKPNjSrPyePWX7P\nbojWAbFoNJeB6huP73ocim/RqbrUNL5oxQjhHYptIU9UuVxnniVMKeWsKXpG\ndSWF4dIJQsFaywryfRRAgXgulRDsE9/dmCk52Gl/kd2K7laXTClCNLMx8jfK\nH1oOPPzLbUVQbQt8S90+c9PHS49hOKXnJhsjOcOSBHMgnXdbM2n6AJuArhws\nKqsyFErVgdBYZ+FbFeE1ZbFLteDNPGP4GRmohA0TkAO32KNZu/nnEEO+1tnj\noiDfw7C4l2U6we+WUake+CkV0ETwDKQXXtaH7PBVWCZ5MFHCGAee9rc5tD6z\n7dSSrbk9CvAUWJR+1QdXsVhFK+VJk+otsDrNC1IDktCm5UEqDVT9mjmLH/Pg\nSVlzYqOhfdzJ7uKynK3cgNr3mGvPhxU1I5zcaGqQ13gIcWDsKXj4Ay9ibOzI\np6FrVeLqdSuygEnvLUTnaRUmMbKa9FNcaNySnOIc5Tgx3Kd3oFFtfQGxtdNS\nfv9A\r\n=hGfH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4YO5MdKPFQiN7lQgW6YPLeJhTpNoQIPfH1k39ZRlMSAIgFRRi4YRlJfIcJK6obMAX/YefFWFOdIk8dX5mNhRuN7Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.1-alpha-modal-tweaks-4662.1.12_1559929268404_0.7383903221279391"},"_hasShrinkwrap":false},"1.4.1":{"name":"@crave/farmblocks-dropdown","version":"1.4.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.6","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"432c92c13fdea8659a9407c66183c774dc8df502","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.1","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-G7+CCWkcZjCX6Z17A4u5G4JySX/kBiFvkHf103uGLSicIkIony+7KS7ysPCm8B9/yMBZOojf6QzQLUOW/s0X0g==","shasum":"ee15a8b4ff7d3aa19ed4a76fd35fc6d7ff82e46e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.1.tgz","fileCount":11,"unpackedSize":33793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAAUJCRA9TVsSAnZWagAAPKMP/11XRW3JGh0RSPxz7Ovp\nnhM9ap55dz9Y4MlSOq5xe14QYEJjEFmqvhX9kJ7p715FAp3ejMHzf1ntZ4Yg\ndAYQwO1qfzIjuP+QJr9xO9SHWqrjLEXu2vtAOWFWzrECwO+9+JCLeZwvbRvR\nHyt1rXBPAx7m1deEVTP8A2VJiL6vkGVHgto2HyZ6Efg8R/Bf/B0GGk8vtO3A\nBYPPgBvkKjlBOwOmMLdYEWlb+mPxQAQYVUK2Pmj+or2yczDMCYk4H+sMGJ18\nDN1tlcoI1I0Cii2e+VxqFLj/vIsCuvzoxpabMBxETdxmUqdf3ZHzDGDbUNu+\n2XpVWEMj2Uoz7++WxR+2C4k9IuX/MtAlk2W3H3OmOeC3Y0Mo9HwPelGaBuZ2\nLjgFuk6IlXXvj3GBdVHnrcLNzddznw6rmJC81CreCIeTm/ZuJ6KwNPdp8MZe\nHEpt4OltErKG+XpWSTNBHztZ/DZVr4jZY9b8Y/pxOxb8fQhwquPaNGoXl8Un\ncpPO3Qcj1B7QEvdVQsqdDcpoGhiII0jx9o0X7dq/yjFbuuHYnxnDu4FSyiSY\nVADVguNV2EyhOInoITUtgrknlYPEazG530wLVqvhzdwvOuXdYcUFB3nIPnNg\nIKK8yIXYhMIPwkTVWuLRMkhWoMxBQ3mI1H92TmHzR5n6zb5IkyIk1Hy3dH1x\nSjyY\r\n=OmEQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEd6cGXo9Rv/JapfUSev7SkKN4/lvQ4ZT+d0LdXxvm/oAiEA7Q9vMCY60DjtPfMAnRf1HHHq0ddyxiueNDPgCV7e/0k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.1_1560282376319_0.06216548961275503"},"_hasShrinkwrap":false},"1.4.2-alpha-text-truncate-4709.1.4":{"name":"@crave/farmblocks-dropdown","version":"1.4.2-alpha-text-truncate-4709.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.7-alpha-text-truncate-4709.1.4+6ff71573","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"6ff71573420e828075048f712fc799252f5e3df7","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.2-alpha-text-truncate-4709.1.4","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-sTy5bkzzSK4KDyfXueQBooQ4zaeKtXEzoKKWg0TnJWPHMKdDerSA6P4FRIzcDl7k23YVBBX3Q5vZ1lf9NwYaVw==","shasum":"800ff6f342370bfc6db007749acdd5e3ec5e6a5f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.2-alpha-text-truncate-4709.1.4.tgz","fileCount":11,"unpackedSize":33869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjnPCRA9TVsSAnZWagAA+DgQAIVuTPZ1B4PEHb2CVHgs\nQqyS4Yd5t7Pw8ZirZ/NvjaG9fQnJwTF+8T4HocquTSSDvEX1EPWb8bapk1iq\naZRDgr4iAQuNATG+XL3Dhd5XH2YAjuUmR3uHfIZ0fJcZxPtthkFBbtxQXLDb\nrxpY6VPmleB+Y4SjBJSwoX5i6LkPp6cJXTTacdOBgoSG3NZffpj/3GZ8NonN\nP6jK6ZK4frLChV96w2f0S9418DMTIekMM8DnEllj7njD1eVCbYiEu0x8kM3J\n/2Y2T1bHYNbVB93nMZuGLoi1OJKAivOXb6hpcy5ZG8jfoiLHfbxQoeqiuuGz\nV2SRJmEhfdKPlWFrGhP7XVQQA1qR2MGmCAOWYX4zybtHEDF3hTFT0dtzae8f\nviHM87cqz340mGOp31WkFvh21lhWdp5YfSQ4r4b+Umo8k64e24BK50rw+Wrt\nUUxQ4bK/r6/mRg8wf7WKJeRwvLzqTwuEkMGF6XAuH3Mi1ow3wVyoJ1MxcM2p\nrThnWXlPRrN0+kY0ZvH6NeVJPlfV+SVtYOlw1f7/RBR9HX9J+aeIyuOcLVqV\nhJqYbIOHHn/LcG9g3S+BKcxMnNFunw7NVg+VLTi6+5tUvht3WCzTodoXaFhM\nTUrnKJZegUstQkSU8n0uFDiR5Py7HLB/10lIs97YFEzWhzVpDbOrwzWP4VPq\nml+2\r\n=qXn4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0CIC0HaQ6EuHxv/uqWtWRoQSzDip+kBsSgl7TzPARYAiAlcw1QDT+TYwYQT2yYxo/FVUBG8h74+0v+yPaUKqJOTg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.2-alpha-text-truncate-4709.1.4_1560951246759_0.2750374249748233"},"_hasShrinkwrap":false},"1.4.2-alpha-text-truncate-4713.1.6":{"name":"@crave/farmblocks-dropdown","version":"1.4.2-alpha-text-truncate-4713.1.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.7-alpha-text-truncate-4713.1.6+e6782892","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"e67828922572b7c3280fcc9ecc184fd5fef95ca3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.2-alpha-text-truncate-4713.1.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-zkt+qyQCV9LZc4JdQz5iy547TVkJttOaPXvJkMTANccfFrvc6HNLZpd/ZJXgEvVCJVQXXc6894bHmddotzkX2A==","shasum":"4519a2e68c944b6e5a0a68ee4a67d36c7549164c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.2-alpha-text-truncate-4713.1.6.tgz","fileCount":11,"unpackedSize":33869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCm1ECRA9TVsSAnZWagAAbnMP/0pTgAiSv535/UdivmHX\nz46CjRMhy6YPEE12acM/yrRhXfA4VrQylgU0O1RBtWgURJYRMqRau4yI12Ka\nUSek8O3uuPVnPPOMuNoZK6EcdVzy3eXzxoXSQPSMufjodQnqNI2cVA+Zg0s7\nCLPMbrTPfnBcPhhOrFpCM0b+toTXyNM/D6k0enRTDrtHvNA9XbFBMaoTX9Ce\nHCRnSyrZuNQVSHbtZZdPmwfmub7eagfPPjhiYPM+VZDteRtxgzPLUX/BylZ4\nM7k4Mf5kiVi8hq1Zqf26NuKmNowsWoi7oCOKq1YfoH9AbDXMhYMGdNBHOxCV\neCwAOy48MFRCCYtdHwRRnAKzpxDsZixRotVUw48FfdywOm8azGBUSVNLbigd\nPP0o1mMsCPFPXN4GN7+ntf6Efhp2ucjl5esesxOxHMZjs5K/epFEWQAAeLb/\nu0989Es54Q0iJmMe2TvYxNMpl4TXJ5nk8DDeAvI6omN0XB0ITtw0sQSMh/e0\nio7uQWEbDyg8kO4r3gD/23lFxfJ9R0JHM4uSGZPsAH3Wacn/593FhhumzuiE\nlGkEN9avIQ/0XB8dXGfM1za2MQnpUo6zfn7mVAj2QmShPg52Niq5lIH2qAOb\nqQbvuG3d5dsErEOWv2FG38m+cUyOyTYnMKkeqJc1RKLQB3satvn/Ddyl1aKA\nYNqj\r\n=hVM3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIf4uBLB1nHrPjxkGjPJm37SeUSnMnHhzI58n9KbtecAiEAknx0gssjWcF+I/eJV6mnIIlGFUVJOOH8eJXXEaEcS8s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.2-alpha-text-truncate-4713.1.6_1560964419719_0.636798153228058"},"_hasShrinkwrap":false},"1.4.2-alpha-text-truncate-4715.1.6":{"name":"@crave/farmblocks-dropdown","version":"1.4.2-alpha-text-truncate-4715.1.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.7-alpha-text-truncate-4715.1.6+3c69ac72","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"3c69ac72b30705a04ce154d2148d07d35628c01e","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.2-alpha-text-truncate-4715.1.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-4UeMzM3/c+vs0+eGoQvQK4bSD7netLLPvkgAoK4LzGLOv46z1xH7DLKPuEFGZpKcmofelesg3V/NLKJl1wzvaQ==","shasum":"f5dcf5c3d17a0c4071d8da7677f21672a05a683b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.2-alpha-text-truncate-4715.1.6.tgz","fileCount":11,"unpackedSize":33869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCnFwCRA9TVsSAnZWagAA2MgP/0QBDmeMuYYn4VHHSb4Q\no5JUGOyxK4m1yBV/MG4ulrfPGzM6w+vQnyMrXijOwZoDpsExY+V49r/5YYzc\nCCWBjk3AW5QlpP5zW3vNNiSnv58RaFuOYdiEL3NNjfaP2t2gZwc+rRBB92hO\nUtEMUZJXX0/3/K+lm2c5vgq7QDdzBTXoxarif8QRQQwVjITNVmsfgqOsbw4O\n3OaZ6rpX9i8AN4OoFecygXbkumcTm2wwBKA34R6qNQhwwrV6twylvrDnm6VA\nxW//ostkxyp1axVKESsBe2V35LGFo//sGF5m5nqAoghTBfEyZoMWxc9XSIVy\nfFbpjBTy5zu5l151ARBiaX9SPqjjZLHeCgbqZzauH1pvgldh3oAAHcUb2yUv\nHWWbDcPSlg2FwMII6C1857wpQxHxuQ1Xy5VQgCS+no1Ww46M7p3yWIldcx6O\nTXt/ssS33G5U7ITuEW23C8OasL3rGnw7mz+R2u2gdViLPjgmulTJAk7+e16g\neDc2wdAY0XUtWdS4Rm+ewcjs1iyoUxtD73N8tsfz/19pjKvw+u2Y5ScJim8v\ntijZ4GYOyBYOXE9T8Kzbn7xWmtZOUGMzAijbjLnwvkuABxwF64c9OfPoGUVi\nAYemQIwDEN23S108yaWrbU4N+Kt/8FSqg0dz6ahm49Ss+frNEgnw4IlvneCW\nDuu9\r\n=S8Lg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXkIYoSnu45o1Ek/gsqLowwX1Ao7hy3VTePib5K5pstQIhAJZrROcCBO2mhFHi2PK2kWmoHNHlvlHeaNqY0qDUsR+G"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.2-alpha-text-truncate-4715.1.6_1560965487556_0.7556063844392127"},"_hasShrinkwrap":false},"1.4.2-alpha-text-truncate-4717.1.7":{"name":"@crave/farmblocks-dropdown","version":"1.4.2-alpha-text-truncate-4717.1.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.7-alpha-text-truncate-4717.1.7+e21d850d","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"e21d850d7ccdbe2b8c49bc07f9a5a921a958872b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.2-alpha-text-truncate-4717.1.7","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-Dx8RQw8dgndO/h2k5nWIO2yKb36T/zJ0VdlFqvJxGV49Mb1ykiR2aw5V4ATQQBbf90nMMhd/bWsweq+LM3mmRA==","shasum":"354bfe2d6e5920325c7b686124ede0d4d59e908f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.2-alpha-text-truncate-4717.1.7.tgz","fileCount":11,"unpackedSize":33869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCoU2CRA9TVsSAnZWagAAk0MP/2kqMqolXK08MrDHTri+\nEfzUxlV987cl5vu9Dh10FAIQH5f1kRgZARNm+TrjgaIc7uWXySIZHslQvnUv\nOsKs8MZEAQxNWe+2POWW8rqYQ3dZPSvamP5uEBTkTt4V/mOicRj8hDb1QS8M\n0sCl1dwfGDu791tzU5H7Eysh1VsVsxw02QlcVjLVySI99AtbRwILpkqPY0sO\n8CGNLHfeOBc1mcWRIPR1iPCs51g24/n7fJSvnhs473CvqDBboVuEoidtN9eA\nexo6gX+nb5eChE2XsaBfQwkrsMgxKeTgJOe2/j45rvp4ws4kH8kuh6KEYtBu\n3nXlCuMNVFiMFQf+eOA/5dJlwJaHTJs03cooZvOMAqG/jbepgPDSsw4BNqu2\n7pKT91kAjaFe7ODqmrZ652doC5/wrwS9ma9MSuAk9LLZPs6VAQWLQOBHETgM\nM+A7Ot+U96nERB5AFdmjabZ9NCtlEileW9po6H4pvNrL7PLBCazkoAVfAdoA\nXfGgX7a///6HMumzZTtMT/chE57BM9Pf0yPF9v0w969w0M7B7fEVLgb1j60A\n6PSSQLFvStXUluM74lGaZMktfFODmsH0bl/MqEyfsPU9LYbzcrncjNILUVxT\n8CtAlYjYMxJT8Oz10B+FtOPDU3IupsTEJBDpDAhC4tK4Y3LmSsdJghMp13nz\nafJv\r\n=6iPQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSnz3LUfYmaraD2QS1WdwFuhJuZgCohiR3F/BkQukVXAiBnGvd0X0lvDoDrRKgJjicEVI0yGF5mL1GxAHcAZFucOA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.2-alpha-text-truncate-4717.1.7_1560970549791_0.19538310158970384"},"_hasShrinkwrap":false},"1.4.2":{"name":"@crave/farmblocks-dropdown","version":"1.4.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-button":"^6.3.7","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"ed34945c2a855c1e01b4565eb61ac28cbee48edf","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.2","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-fvfOgadglYYz5DVwGilJlYI/RCjo6dxu+HWWnqe5LWS5A3Iv2FbxWxv01+mEsYBCCxNNTjye1+rkFhZ6v0aHGw==","shasum":"fcb306de540b5701cc6f9a529f7235b74c21d2b5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.2.tgz","fileCount":11,"unpackedSize":34007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEi4iCRA9TVsSAnZWagAAZI8P/R7dgv/9JdS5HYS0zupJ\nBeyzK5GtCkSJXpeu4C/QYdrN2zqU7DhUjr3y5Sv5n9P5xZ2SeyxuPAGr6gfk\n5koN7g9rq6P0xh33Pn8cYsF5HVFGQZr4gBg6qv1omglLIegaI+txRQ2W7gGl\nYlmZ5L+bp4kjSgcyGdzwl9NplBwLE1TQd6a1/Ps/ZEr0vs7n92rle533zSfM\n89t1ke9/V8FRJ4C3p+seXcefpQk+7XM4BlXluZHW+pCmbRcpOHPy6A53aads\nmCS3RfaTPYBzKLm0MmO6eCbVMsWGmtoRP/uM+O4HJInlTDJ7q2Zclmbwi90Z\nUy4MV8PQCjjavsZPpEwDyvNLJPgsZVUFYKl2WyY/qVax5Dh3AGBj6zLz+4p7\nFHBaYV17jga7EGBPItOYq1pug2BJ8C8kve7STMJ9cwdmERUnljL9J7rVXqdA\nKp5+RyFMkV/stpZdVsEJownDOTxM6UpM3+58l5/D2yiXBqXi029wONmcfnyT\nWu2gmrFctEoo1IY/IQxzWqRk2m/vBMKUhN5KSbf5402mS7eDxJF58CpW4zBv\nzThBReirYB0Zx4S1Qt6COY4JJVKOetggQgKyOzT5KBBAJ38HY7HOxa/Clprn\ncWkwTvMpE8e/FUd2AwFn2gQs0nAbWpxliJfgDsSTtpM6MGfZgfiuaaOa3+5x\nLs+v\r\n=t18/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+hG1YGLnax7XOb2FwiMxE1A6EqgK9YUus4qd47B3vhAiBMEgPquEdnYw2klKGIyh4fj0n60TL4ONTXKZ3O5zvAww=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.2_1561472546253_0.9401390879721034"},"_hasShrinkwrap":false},"1.4.3-alpha-upd-deps-4809.1.19":{"name":"@crave/farmblocks-dropdown","version":"1.4.3-alpha-upd-deps-4809.1.19","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^6.3.8-alpha-upd-deps-4809.1.19+0e9e5304","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"0e9e5304edf0f6731ae05e161f6632186264e4f0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.3-alpha-upd-deps-4809.1.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-wcGyOOVjXt8VuHl2n9kwAUS7j31h2fNh//6P3rMgXIIev/V9lfcWTIg+Fq2qGn8IaiztiBj0sbWzQJInVB2LFA==","shasum":"d267f42f1bf0dce2662c46b1988b88d336e79aa0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.3-alpha-upd-deps-4809.1.19.tgz","fileCount":11,"unpackedSize":34075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH5JLCRA9TVsSAnZWagAAOO8QAJcrYey4c+Ajp2ph0lci\nKEWyEg7uWTb0K2Hz2bFBOVCt5IJ6HdkqAeaWpuCJQN8Q/P8d+zkeeiJch/V2\nKdNbnHMF5r+5fn5uCI7DyVQdeLl2eQtdXFP0hL922uh1xuzHCj0iJQpdoSGU\nyAy1GPqr3aGcFr1fyyx9jrlZrnvmKaB+rSfICF4ufUwG4Z5jrg39/TWfWUUR\nW1rC0ykB2snXGrXojJjjX3KlPSMfVO0j2oRYAZpo8UAyXAVNl0Yqxoz4c858\nOslByS4EcrMF/C9AYhphUgp7tUu5s8alASe6ZT9gWuzPNoJnDhMRia9h0NpH\nIxUjtCRlHLzpK6YpcyRxh7Ucc5H9BPyRlyMVcEHpX+vkBiWovEP0PoTjhiLL\nSNaThj2Smyd/WX3deJK60YAjf3bMtZIHebSIn/wPoOj6vZsHCr7Oegh9MHaf\nDJEK9pHm5czu5imCeq8y2vFzM1Zg6ilh/R/gDUi+MmNgNoTLpdbBofE2Crc4\nfI6wUsLEQB9IYhSD4zyrrlEAlZfOmMY5ZjQCuKfZNYA26quR+jTdrFLsau8b\nq9hdqfsP8qFECdg3ya/B2ret/M5mAOJc3X1wUTCK2WErtOnefrq4M4nFXC9T\nriSXpj//kx974bjNyyRUTR9SMlYjFhsx/UpHNQCDD5hi7ty6qzQwo01hdc8+\nPSf9\r\n=ijSK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPMKBB6VJloYDaGmR6cshNnRcGHIBOoeEgJOCqbxBkqQIgXDy03nO9nZOerTgc2F+SQv+xAnE259NTEupSPLKhWw4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.3-alpha-upd-deps-4809.1.19_1562350154482_0.9855880887391286"},"_hasShrinkwrap":false},"1.4.3-alpha-upd-deps-4827.1.21":{"name":"@crave/farmblocks-dropdown","version":"1.4.3-alpha-upd-deps-4827.1.21","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^6.3.8-alpha-upd-deps-4827.1.21+5b8822b3","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"5b8822b36edc620b6950896b5a2d0a34eb0fe3c1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.3-alpha-upd-deps-4827.1.21","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-bzR5oca+weB5ckxt5Ht3oGKEiU5owm2GlKav2q+LrfItTZ+otV4FpGMSZerVTwA9ivW16WFhflxo/I8uuZd9mw==","shasum":"e44c98f17aeaca85fcd143f8768d07f9758f4a53","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.3-alpha-upd-deps-4827.1.21.tgz","fileCount":11,"unpackedSize":34075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJMTZCRA9TVsSAnZWagAAUUkP/3Q6sN0sMlx5RKr69J58\nUijUScnOxIA6/ogxotmLnziv0TxWWY5mJGlnwlDimCh+DcwXdgycsCJ/lTop\nydSP6xyymOnEo1HxV4CFEmltTt1wwRsqYA/lA+6jx5LULSzgGuMB8lIUSPx6\nUMznzm7quFrGBalehg46JquQ2wKvNSwiQtiGXc5J6ahTBIzdCR0VO29x5yVs\nTSBd9er2XMJfgKNk+vK8CEamC6t9sh99F2uwNjqzfSFapuBizKTDVF3VhmkU\nHYMuLmeQd+nmhbLjRRuth3dN0IHHtDpJZl1JMCt9lOeqlxfxzUyZUV+WsByo\ntpKzBTudknLs7n7ljCmTMRq6x3aSgJeSpNkU1wD2Fp15NojB28JWz11WmiYE\nULXcZTt189baKLFIXajp/cieh5nrA6hxUq3jlQHSMMVEVQW3jXHLNHyaSYxi\nDcS7VkncgNaXApP/+wZXRx3Gnv+K1nL4phmEY1F+UVrRadqYq3kAV8bkngzJ\n0gNK7Uv0m3ajIEG9vxHnA7JlMRCH8958EVDKC1Bg7wva3ZjesuxRisdF1gaO\nDMeKEWm1MQsQE9ZgSB42FDeYT30ziPv81L+wMV8uo0+C2wUtlQceUN9tgOrn\n+dyiy94fzZOajIxc0iz7qCSYUGfNXbGebxrhNSfIrEbxEXrbEowzoFcPNLGu\nhxko\r\n=IOrf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm4qvWrRi7FXBX9syTe0mSMe7HLLIzcbnwigFf4w/p2AIhAI6ErehP4Ozvf4r2fB12vyWAWrrkEIRl/To5PjYiSboi"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.3-alpha-upd-deps-4827.1.21_1562690776725_0.21996262207434825"},"_hasShrinkwrap":false},"1.4.3":{"name":"@crave/farmblocks-dropdown","version":"1.4.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^6.3.8","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"78544ef033edcb2a9f6c8cc436b597625a0fc386","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Zmr1IWWoWBH1lFFUnIgWTiDHsKfU7aJLRr/An/RgkwDWNMbLgyYObds4X6Mym5R+p5fPR16aYCPvZv5ogRTBvA==","shasum":"5fd4fe70d2c031d98461d533c2037c114b15927e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.3.tgz","fileCount":11,"unpackedSize":34221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJOo9CRA9TVsSAnZWagAAZUYP/0UWU2SIjkH+zL9InyeT\nFe0whm2qFzMIH61g1lwHRLj0bFrvdfD2IKf2Dh0jzAZEhc06h3zqtnpxYbMf\nmzCtZyrdPrlOgKlJ8mDDFYDO1j3o8JQX0sAVWokc2ja0LpMZDBOOWBNg81Ly\nds8aFc7dHxpK8z/Jbr7US9yMsr9OUjcYxNoUU0ckL/X3salStlT8TFhG+pNP\nuvHVFzC3EyPIKGbx4Mpcwn88rh2vE4iAA1iQwwyoqwyWlK93sZJtKrCWZmb9\nCNsP0sAl0izMwTsftgnc/lKYoiOvB+voIEsB//HenJOZOZPCJbN8E5H3j2g9\nyw3gZpKjeQB9ekHePehBTix6CvbXQUI7Rk2vHGkDzx6iyB01GExBGwFsc6FH\n2Oo2/BjJfk0CdbYDa+hjVXra+XC6o7jIVUoRlrSAE6sCo+4P8RfOi942mcFa\nZD7UpYjGrOshk4wLLFp9/bdIFgnCUL4LZ+33KSrxmoAA4m2okdptqV0AWiRc\nbba2cma/s9vZY1MOqvPqg4Otj03DM2wjuVT0cUL6GTxKoQ9/IUZnnooFGIqo\nN7rG+s/Subp7CU84bvmvZ6RQxfLkzAS26Z13+RHvUrnMs93c0woFt17ZUdxE\nMnoygoP0Fl2dndqPVUrp0Oc2AFZeZdoJgtofxaV4cnzWEYrmit22a1VDf2um\nIcrL\r\n=E6wE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAasZYAx89uRXjFA2809iYOsVqOQEN6t3jyU3ZzpTcSrAiAVZboRl/rX3RDRq+J5PWC0cbs0LbDea9TAS0f5UBdZHQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.3_1562700348703_0.07950918862993506"},"_hasShrinkwrap":false},"1.4.4-alpha-tooltip-position-4885.1.21":{"name":"@crave/farmblocks-dropdown","version":"1.4.4-alpha-tooltip-position-4885.1.21","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^6.3.9-alpha-tooltip-position-4885.1.21+65282d83","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"65282d8302a0943e37907e1dab11fbd12aad69fb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.4-alpha-tooltip-position-4885.1.21","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-aEWjOlFOTXuRbs7l6ASCst6XjL9bX9Z66E+opZ9QEBXvKVI45EYU/z/PGYb7Ph5anf3mmkCAj9/SoYxARjnjJg==","shasum":"cc6ccce5f6e411402e37aecb66eef3002494d44d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.4-alpha-tooltip-position-4885.1.21.tgz","fileCount":11,"unpackedSize":34305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLI3XCRA9TVsSAnZWagAAPqcQAKDhSdU74OEf2XxJBacs\nxrggIK8Aewh6pQePT8T0Ud2viKK6Lk5hz59/gyprqfWE7B88GkAGjO9IEp5p\nqYzCLsvNyNO6ZPnbo3ZbST16BlT7Z1vDoJ/yVYdba9iHJC31gxVBmbRJcjI6\nxh7YvUj8tkbQJvgFMrfkKO5/kuCdW8uLje8+pZ1YQBtthuoaKGbLydZMiGzq\nWVQFa3E9yhduJEurx3/2aJbi1PVzx5AsgiIwa/f0/toHok42jiz25c06Ijas\nJ7c1eQ8V8MQMpVF1/BusWVD2Yb5XJyWBApgqptXKnrsJmkuzEJZQJU1K6BtY\nj5vabpam1o/2S5ZzAwcKKBf70/QY+wC2HJt4ieXfzVEOB3ThX1o+K4a6N21Z\na7d37eUt6Hye1JAECkTArIXWLWWsdMaISmT57MiDZvxWcPiahVmyPqlnH7LB\nLdb0YQT9y7YBWBToN6SWoJncf7gGoafNbFMJjx/BSmrdjs75kzNU/m+b/Zmu\nXhAYcuaozax9Wc7LWSzmpUXZJIqI7CgTFFRncRViqiOLwJ2VJKBJvy/GQs0V\np81CJD8IlaLs57zPXvEiYh+oBULLrarxw3oK2mb79iRXmLs1HHAt+27yVcX4\nw5LPnhiAK0VdceG6ON1zEgwdnOg0bHufoYmdV4gvTniCCcy2W/tMlwSJSuU5\nN41M\r\n=gja5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLQNd5ZP8JYnYf7XZ2GeUrxzRwpkQVrGjAg7KIo/DTNQIgPVWr6e+T2+mmYSh4ow2RKhzD3/65BV5FO0ZJOsd7M4c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.4-alpha-tooltip-position-4885.1.21_1563200982340_0.039253088243425216"},"_hasShrinkwrap":false},"1.4.4-alpha-tooltip-position-4886.1.19":{"name":"@crave/farmblocks-dropdown","version":"1.4.4-alpha-tooltip-position-4886.1.19","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^6.3.9-alpha-tooltip-position-4886.1.19+5e47c95f","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"5e47c95fc9cf61a0233196b5cbb82476c90d3aad","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.4-alpha-tooltip-position-4886.1.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-X4EPNbez7dBc1rvj9xhm1r8VtELlhgdWJf7kt6VpcpEchq4kQKskf4vmODe8S4J20/E4cVmgvFkv1Xs6bhH8Kg==","shasum":"a4ba94512c5adcd6b3eca47307e452e765bf8ee4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.4-alpha-tooltip-position-4886.1.19.tgz","fileCount":11,"unpackedSize":34305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLI4sCRA9TVsSAnZWagAA6GsP/0Kky9ne5Klwkrds5cy4\nAGiuOYjB/rACbid3hAPFpthvOr1uph77Ze+J2gxXpDznV58/bKLoGEC82eLo\nhF6HweSVcY/2DpOIb9MqvpzFr9/gIH1nGhrHaFeVFUFwyyI4YRjjKeEknm/4\nhG2IalFREk6VICKmmMLcpmS5PQbVP8zRP7sdmo4FUMhIHFqNp+t/o34buFoL\nnZqPMeATyby6NZdwhqjpW5xVsnoZUJu2xBLFWQWBEA1QK5KxbYYYmNfiSqcg\npmrnKtfpvkQht5GBdN5WPMWlGc/qETOf8a3cYfJPzBHpN/0MtLnbMtbqma/Q\nTuzVAsSHLWkaWeZ0VlDGQWuAbkSWZ2TE7sPXFLKoI/Zragz2q2RBiuXnuYKe\nm0/N1zz3oTkOGY1OmrLrZSWDPJ0H3lkLAZ7QRLFLz8vx9eN3DuHEwucUxWcB\n0Ak7DOayLVnnFpTL1kE/uYN72HYTHX55WzmdZKjUXrLHMQaJbM4TCd1IPzSh\n6wDcVpg/9XSEOL7oZXLZYItwDmUiW3hFTi9LNLDbP169GdAH53bJW8tEITfh\nxTbcISpciEuLhE/ddAT2XWnf2uM6IPUj/dPlyYDTNoKD1MSJadktzxiKonns\nbRVHUSSSpPupCYZbmO/q6WFKCPCDdjxYSaOWY8j468/07BWANdc53/HntLoZ\nMK81\r\n=A3Su\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwLzPmQ80YOVTJFzaQP7GvEaRgjynT4aOeHtBLGo+YxAiEA0jPLt1FUbjbLBt+zchzioj15zoD58xHPp7Kjo1BdHIM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.4-alpha-tooltip-position-4886.1.19_1563201068305_0.9011084209026208"},"_hasShrinkwrap":false},"1.4.4-alpha-tooltip-position-4957.1.32":{"name":"@crave/farmblocks-dropdown","version":"1.4.4-alpha-tooltip-position-4957.1.32","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^6.3.9-alpha-tooltip-position-4957.1.32+0eabd216","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"0eabd216ab54aed7a0ea63ab8e5ef575112cf0db","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.4-alpha-tooltip-position-4957.1.32","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-TWT/plJOBOfLMN5c9PPd3xL8wcesgbcUawyvd1UhBZhGzReJbEPSyG72yQpgz7JtMXk9bnZ/nJJhfs0d0i9LuA==","shasum":"5b7c8407695ab2e9bcfcd1976572d747636ce652","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.4-alpha-tooltip-position-4957.1.32.tgz","fileCount":11,"unpackedSize":34305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMMXiCRA9TVsSAnZWagAAyzYQAIUAdKyvwE7c8+e6lDSD\nNtnuKJqpgqeVanK3F6FMfijZIuh44T2ZGXJjPpiSUP75SFQ585SIzqxTIOsj\n+W5cuAJeVYgz0WhOBljrPK9nur9ZpyfccywGVvw2aIid3clC4w7RWzO++pBs\nnn1ffeXyFSmN3wpop5o2+D2GS3jUssfE4scHlsFgcoSGny2zalLuChwvcJil\n1aN+wPJNHadp8kNEyWxTE76pSpWDkjGnF1eIbsvCZEJGxIVxXz195zg4u93m\nfzcqoVRXUvIy7g9xmRkAPyCH/uaTV5JMa3Z1gnO6fn0bWAGQu+VABrMLTV6I\n4eiACMnv4SfuK1FEZ9l9NxZ1FPPirM4WhZr4n3WWyucivmxBS0GI6EB6JfWr\nK5vW3cMFznYTcIDn5TX2RJF3e73mRKzqAB8IGJL7rVrGFsS/zfo0kklPEytp\nnfTbggscoxoxvpuMYA3zQrEXKu8yXdff5YoSlei6MMNeiS2N3Vb4K433dwxR\ncbwhorw79lzDDyIeEG43UCK05thvxqfbGlHwLm/48Hf0VAo3zQY6bgRrZyuT\nIoT8PZZ+iIU8SvuFxwzi7SNx3RWCl/OPctK3xTwnczeIDoG9BZtcPC/DZ09C\nazgABFoLPucr8VmXAhlSp38DGGfuTIZ9CtIb5Lbh8U1h46LTf4nxW3J/W+qM\neXjC\r\n=tw/S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICw+9nvbb9u7THuJTZeR20vNFfxBVkNNSNUFminU8TvOAiAEVL9B/CjsJ6/cGf0YSui5dK/Pj9OwJ0TFM8FiD24HIg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.4-alpha-tooltip-position-4957.1.32_1563477473704_0.1819228925289571"},"_hasShrinkwrap":false},"1.4.4":{"name":"@crave/farmblocks-dropdown","version":"1.4.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.0","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"6d3e4fa68dfa12d7a4988b095d6cf2fa2541cf99","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-hcpnv0CPz3CeHCTG9jxcvZLFmEk5nSUmUqevHt4a3+FMDmILIaQOwn7Jn+fxFhf9+ppPyNTGJavaJrcibyIKMQ==","shasum":"87698d7d0f8ba936a7f9b20b4ff7f57fc91f41a6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.4.tgz","fileCount":11,"unpackedSize":34435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMMkBCRA9TVsSAnZWagAAbuQP/3uIvakF0ANaaTBAOKFs\nwAZclXBL3uCG/Jc1eem+Qqd3Voc86N08SqBCKr+9dbW1uW05JN+UFRKXD0eM\nMB96bdi65NUWO7HuerJVbOarXgZPIFUldMNBkE3IiO4BmBUknlmuY2mpR4EV\nzaN3A0+FnmuwK53XWqWhdf8ec8Yjlo30voL6eKVkWAwsL32O7Zrj4Jkt9WSd\nXdO8ZuQKY0MPGzrmPWM/YuFY5nv4PkmXevks/tkC4+O/l+kokPAc+62WCjY3\nPipjJPSwlughG7tcDFDOeFigmBTjkC6HiMZx2wZ4fE0AgYRE0XtQA3LY7gsf\nrMuyQ5kpqHbpqbIm+4ktYFPQXQErFteGX4V8wQvK8dGxpTLxoohRwq98kHSt\n8PfCFRbAe21qgEpqhqg1P/PNO4VPKW4A57TGIxXNiZFOVdum4U1/PiTaH+kH\noPVu5Ib7w+7NVw7okRQtJwZngwXuc08AFtgITnFWXlGp7zjGoGPeLAM621RS\n6+zaPTn/y2qsaiu4aNj9WtTp2Wl2EuK1UrGWrn9OSPGlWw/ilsOdIoaStfHU\npmL6EUAXIs2neFcWVN2ClPJUs7J7sR9qet+7tPc/9mlfmBsOKg8v6E4IVgDh\nXfcT8qYiyuF0JJC5oCLhElgMtuXVnrFQrHQ7pgmqnsNj7Cl+VsRPkS9CMCAR\nyL1r\r\n=cq3V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMuaZZqMWKdKqjnrCJ2Ypmxwle6Xg9ME2MvAMG9tkQeQIhANQM+1kBcDlej0Pv7VmENImPTVjoDWjiugeeffzI+Iau"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.4_1563478272462_0.5066316454109101"},"_hasShrinkwrap":false},"1.4.5-alpha-update-deps-5137.1.29":{"name":"@crave/farmblocks-dropdown","version":"1.4.5-alpha-update-deps-5137.1.29","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.1-alpha-update-deps-5137.1.29+2bfd3449","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"2bfd34498d5ab40eb9e11a147b9288ab72f81fbb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.5-alpha-update-deps-5137.1.29","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-gSBMw/ZHmqoGxioVlkR4dv10axeGlzAbAauaToP132EGUm3BuC9E1Ss6fb76lY/uWRnyGu0irQrRouv/dsVr3w==","shasum":"d5d21d2a0ddac264541441947d89eabe3820cd03","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.5-alpha-update-deps-5137.1.29.tgz","fileCount":11,"unpackedSize":35712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddoP0CRA9TVsSAnZWagAA8uUP/iYUJMGm3RkQklcNG+lK\nqZOk+5CQWoXI5GG+KG0LZpIe6L2llzgFoKwod7r/0VRXlCH8j0d4iEakTCp7\n78mgZo1eaUGUU+Y0gYV6ubVUvkd3qvhvHUjUG4OMTv1KQYdh9CO1Bizn0ZCD\n9tXO3QSAGn9kE2auYFR8euVE6jbBGPOqg8NNS8veUuVLOyQhv3o35UZhV0Vg\norvPNLdtpX4zzSz4NjlUfE1Sr3ReMl186xeN2F0KY7RJZPD5HQkMgH03ZZpi\nYUhgBEqwThXTTi7aSq1AZKZUt4Jrlc+kzS0pjIiDgVPr+FQj0lArPKvq6oVI\n+78A11mXPNma2GMQC73/F9011eYW8e/RPncC/yrNsBbw+UQTLrWJy5MTQT2F\nFtJav6wFa/axfAEyUA4q5a9/ncK6Oh9GfOVEvzOQnGmxtn+c3OEnzDil2Wyg\ni7p3UicUZLmboKKFofikSBFIL+uvKJU9u/6Hj+kRSFPtuqoT5fT2mqkqwHUx\nwJdqrdwCwHU/o2EUIiAzuca9+IKml0hMGq4rKJNLXGnQZskQnx1cpXdVdjFW\nQnSUkVxtEVvG7QsxgI4WgN6jp8e4tLamLEktvsP8O3g8etM3F2jbXOtSBxFr\nvM3bG10YBEiSAYzYp4AxXUU2oMl1S9qvMRrY2WnJAzchSIAi5Imr7mmtd2sZ\n6nP4\r\n=1G6k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHDs28JCASJ6PojZlxZlWz/mvtjul9/oOrTiafz7sqoCAiEAlSy64OTMf9/feMm1BuNNsLqhVmn/UZOQ6N+C69zqXDc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.5-alpha-update-deps-5137.1.29_1568048115467_0.5109669771087346"},"_hasShrinkwrap":false},"1.4.5":{"name":"@crave/farmblocks-dropdown","version":"1.4.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.1","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"129b09e2622df8b3cb7b5270d275aad4e611867d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-DFzNENg/iulldJrqFguQOGBVTOkufhvj0y0M74pX+eVmvJ3JfWn/TE6FfP1H/rlyfJV9cy/nI+xcfI1wbZUSOA==","shasum":"641c0a3ba3b3cc1273ce42c86ddf2dcd42905443","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.5.tgz","fileCount":11,"unpackedSize":35852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd/lTCRA9TVsSAnZWagAApoIP/AuW4OMmX/dGFb7lmeW/\nY3tp49f7LJAp1HLdbAvWukxD9osgM1pufUJ6MXx/8srSGWVZiu8/mHaVdySH\nBhRWfgj1ZhfAAOe3Y+NLfSmIvURvLyUrdF1MwS4vMWbfqTQyJFk6CLgbLjVI\n2jmtWRqdxyDo63dHvX8kDEK49tq0kAcdAijKiKypsNx9eYE5sAsica9wHrkx\nV4AbD+mG6vfpzFAxW7ATYp3ElBeOz4nPxeCOUuqiu5eZBqR033NkpNGcWosv\nvIG4haWK+oLCOLUM3dqPRY8MQ/qjUpQZrpeMfvjB+7xl2qUkC3mzQfn4u7iT\nyjt0UMRHibX/U1MycPJQP8OY8GeXAxKO8R6YVGjFLWRq176T48/k69TSVDt2\n4lJEw912SMkdi40aQuPHf2LM7gBcjyH1HqcISClux1pR3A1EPDhpKz4fhcyt\n21j2Tbam9BNTRAGQpdScfS8nfAPrsZd0UsToIRbP72nPN8PfFK/sPlDOMtUK\nwCjykpO0yDoyEW8bt9yfIhQdMXkirPKzqjZSOc/t6OCYKLvf/ZUEPcV6l46G\nBokaMIPXk8c3d/HWY8FPKKtBq5E0xNmcw6Q3tkq1vgSSahHCfyW1xKTrYej/\n+ILECFD4AJVerE8xxT70EIX0vrCnrgY7gNZE/DdbNKR4R22tbW8ib6Spmrv7\nGmhE\r\n=weLa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMmMXh+K+XE/Ih3IP6FXFZan0aULtranvs3n0G2y7t2AiEAjm0jaWKmKeckFUPZd1et37WoQ2FOHpJCpERsBd99ies="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.5_1568143698441_0.3850602554332001"},"_hasShrinkwrap":false},"1.4.6":{"name":"@crave/farmblocks-dropdown","version":"1.4.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.1","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"4370937bf13b57dac3ba751a40dcc0b1c9bf90ed","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-B+go3ZVETzmoUs5s2WdQQIM/Mkf6ylYu8B5JaQv7QFn1wlwImmvXI74OVrgLaJyVgDBpW044OY2jtXKwN/Md7w==","shasum":"a4dfc1467655e728827d326abd9ad4900d1c66bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.6.tgz","fileCount":11,"unpackedSize":36191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgS7TCRA9TVsSAnZWagAA0oIQAIdA1yQDSL8CMfCFLdct\nj+CFYPX4Uuw78oAAWJ+JjTMqobo1H25TPDoy16CyYPE+vb5FSYYEtxyLt+Zb\nVaL7BNyKx0C25LJxy8ID5LVMcpLQF4AIPDuE7LdGwDB5uUndJV5x/VaNECxF\n4E+W/vt37UIm+we3xXgCAetb++w1YertmAowimbdgi/KRQGc3w3jfU0JJ1Uc\nw6x5/Har41Yys0fXkZ0xqI9V4nCLuSrH7q8SXq7W5puEGTj6m4ZUneJpqq0B\nVhB2nzCWkoXwbswkHbbpyXBttOdAxgBA3BUhyqq16Gjro1yMgzyarlFsTRyA\nkFCWJOlF7zUOFzVakcAKBB5GJQBq5Vdr/R21f8VB0U/r36G20r6asmz856SG\nfHxehIiEo+FJsBLp0D0qaCmIkOmOgrR5sgEEVgAYNWTpKZGckoE5xC2pD0KI\ntT8Lk81V7S4Ar4pf5Ut63ExDet5QfOx/BhAPLwU6qGpnnUQAkZYUI5Yofnqd\neWn0BEmHib3oxziJNsK51xxuaQ+80CovThA6j2szKa++kLkSRX7H+A6jKY9y\n8t16FMFelr8/hoW5t2dpZl3SkzjiqJOf6I+EnxnT4KGOtuvxtIzCi6hfnNeg\nMAGQq7rpFiSz5TgJW0/kl3pFk6hFx540iNsgq5kGo+/Yt8Atj7Fo85/UvocM\njxGp\r\n=TO9K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFT5frIsRIKBi6qf9b/y/nUCOFK1sWGN9oa85+c1AfEAiBSnh/IM9n5BRwnCWRrteNQ1uaqC/Kuc8ZWk6PehDlkdg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.6_1568747218445_0.9875210906292793"},"_hasShrinkwrap":false},"1.4.7-alpha-side-nav-js-5441.1.50":{"name":"@crave/farmblocks-dropdown","version":"1.4.7-alpha-side-nav-js-5441.1.50","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.2-alpha-side-nav-js-5441.1.50+4fc1e7b1","@crave/farmblocks-theme":"^1.6.2","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"4fc1e7b1c75f3616e2f11ed11ebb2874b98df4c3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.7-alpha-side-nav-js-5441.1.50","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-VLERMVl6Td4o66DUYv1zMLd+VK+7oh3EIZmSs/aLFQz4WJPvH7F5axUmQGa7PY2h7+8XGEfBuNXhePhFL8Qswg==","shasum":"a90a82927aa0471463fe4274bac525aa4c7abc3d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.7-alpha-side-nav-js-5441.1.50.tgz","fileCount":11,"unpackedSize":36265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdty4zCRA9TVsSAnZWagAAjyMP+wWFFxKv1bgiZjRWUA4p\nOUM81wRfAHsftw8cHrXlmgQ2+KpA9Hr0KDRr1ZzZXUVnv/zZ32ZC8YrlPxHG\n+sjNAvYKynZFZ1QNnOT+5VvoTVXN6MShagEF7yHsNyUEn6VErJkk1XXs9WGu\nx3pCWpv84f6uFUHtQIz4VzxGvOMWr69iEQlWW4rkJUI7GkuBvp+/Ut0JoeQ8\nlF5VobPE+w3Q+Fhd3/32yu0bKjToa+ATzpYpcwJfMNfQdszPmk+dLjx/pSr+\nnq7uOccwfJocaTCFY7Y7I3D0kwFMBl2T+A1ZgMtwT5nRYMkfP9vVVf5/UpVx\nxFbPxbazTSdCM2vds636i0s5dP19QaO68bupz749SP06tBEIiTcW54Thbiku\nWppoGD1JlcHftf7bgNHuWAJYSxUjeh2m+n4VxOJ7SFleJp5tihYzQEiC5hjm\n29fxaxoIC+bKnJ3TxtF5p3VhxeWRx5NyJYaxZUJpjJ5uIv4WD1afA20nupab\nTH0EZ3iBvizRDI6SKlM4AW08fNE0/SlaNjQX0HdcYs89jG65zL19Mh+991o4\nHCstJ+AH+MO70exnFPVd49INkmqWODX6BWk6EDXNZlFCgu9ZaAz590/xs1AK\nyhropXQU94BXuGWyypcSo+0uhKVRvU5478HIMimOPEdaGz1vOakt/SUTjJ8v\nqxTH\r\n=EPh8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEn9kL/7DW9EKA+19VNfBxeYMtwBxVkNzplaI75MEPL6AiEA0rsKo/eafXTQQxq98woh7bTdOWKR2xi8uHRAhppG+m4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.7-alpha-side-nav-js-5441.1.50_1572286003377_0.7571447778942626"},"_hasShrinkwrap":false},"1.4.7":{"name":"@crave/farmblocks-dropdown","version":"1.4.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.2","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"067154b4fcf88027dce3998aafbb58410db0f2ab","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.4.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1Q4fXbIcU7eV02+XoDD1dFancjGfa2GhftHHEdIV6V3nIOcTeD19OwsVc2kEFj2FpcRtajIPuWylmKbLSThsDw==","shasum":"51dbabcf358df91132d2589f3e00c6b5a3b1a28f","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.7.tgz","fileCount":11,"unpackedSize":36410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu0juCRA9TVsSAnZWagAAejYQAKGdHqa/6GgNfLT6LkiF\nCplJrEwzs6R/jLF884i3XGQndzpL27WhWVJVmrQMvIvkHWp49L4MwjEuYw4h\nGkKvg1XCRlxyjQs8VdFoqBow2laPlIxymC9gLGW8rKWHPEtRhXLg8llDbgQj\nmL/0R0Ec88jQEXDKCmrKxVldtuuaIU2ZOlZ077/aGGqR7l21A+UAkYKRrpWp\nv3BCddssDroY/GcDKvbD371bDJCIssGFvF9++/Et+KccWVprMftx7wd8R4gh\ndj3ijOTVI4Vez4e9+o9yw3p2v73PtplsOkeALu1FLav54HSidxVA1/Ao3x8J\ncOcblFWtGYKYD7nP1jk0dw7FQPpfEm3JkTKCk/RGE2Pv5Rm+whpLfsq/umqx\nYgwFPUtyYXHgvDvpmaK9H+Vgxc8iH2Z/WTO7pvQnbGuoCtRLkb9G4PWZqJtG\npJuhkmNCHFWUNw0kkNo8ybkIaz+4TZ2dWtH0kL+wPFoCmgL0cRDiZWB3vkQZ\nJp1dqlrd7OD5Gu/XqtGKvafJOIQyQfCZEuYXAxJjE8xA6rYHj/ACmJu3fWWK\nU0oDpgC+kbn5R6bacQT8/mRCVn3tAwQl79+51tqeu0mKVQgM9i7V4q/GVpqH\n6IEdFPyCnj6RiRyjFiHaMXWsRe1Q0xjxlZQwaWv3HqCGqE6tOF6tg8IzdUmM\nJSo0\r\n=JNm6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUY0q5OnIJdH7g2x4X2p+ee+syjlEZYCuSh9lLFC9XpAiAVp/FhsY7T37b7LJoo0kRr5pBFV9CgA8drRPUH8qtL6g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.7_1572554989994_0.017281060624941835"},"_hasShrinkwrap":false},"1.4.8-alpha-use-new-icons-5530.1.24":{"name":"@crave/farmblocks-dropdown","version":"1.4.8-alpha-use-new-icons-5530.1.24","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.0.3-alpha-use-new-icons-5530.1.24+5e59f4bc","@crave/farmblocks-icon":"^0.2.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"5e59f4bca4ff8464befaccc59e4f9bc812c867c8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.4.8-alpha-use-new-icons-5530.1.24","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-CAKdeV+g2g5l68vkva4pUuHMs6z3+I+NL7sKkW07HRzaUljl6nr52eTZRrYel0L6IQVfFTSl+3Iwc2FZ6+5D2w==","shasum":"ea81cead6c8314fc272860872656fa377ff8a917","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.4.8-alpha-use-new-icons-5530.1.24.tgz","fileCount":11,"unpackedSize":36619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyvNYCRA9TVsSAnZWagAAu5gQAIfPQFQZjtyBwl9zSISe\nnSCcVof8Mg3n9k1ISjf/XjK7LEDA8qC/fA4zF9TRcplgY1OBxZOHUO2Mzl46\np/T6H5KFRvOsfs+/u1FJIiTMTb1xAjFWj+cAz3QEHAFzE12yJn5wHszuAZqZ\ngHDBauKnfC4+5TDuQePZ8sSLpUdTMEU5j5V/WxVacGVxNeoK/Myu7onOPo/0\nVVGZRdl3Mf3BiocK9hh9o4LB6Fv3KSWk6mNE3cBZ6AlihDB/2W9vaEn3YJht\nhILWMcta1NzKH1UjpklCCXr4yQRo+p/8NwoH1jewSN4fE0YutTm73/7c7+Ad\n8AT01gUP7EexaefWvwWZf4hlTVRi27HdtvfPPX8m3wzL0XPDtufAE/MaORNW\n+5+f0IQAxHPTyYWqLz6YRByr96YgfuHO4JqHWGjIECpbiB0CO2p9eeP0D+nJ\nOhx2VJ19sovGCDdWEZa1BhFTVjbndcbGHr2KSRG8k3TS9PsFeurKzA8Rdwdl\n9qmpBWCsbcwsx9edyt3upOX8zefTCDmZhsW8C49sH25jj35mCoPEciGLv7Lr\nHGOfcCrYX1ARHu37mYtuhDxSzTkTLR8ehQ15S/z75wqVL6czVpVTGZ4Ky3q/\nFyMHQe6afMYkWT4ujFgryYVZN0PTW+31XhdViMuQylYCgCU/YTPOTP2IwY2M\nfYxF\r\n=eSMS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD48x0y92DNOZ0Oyevz3MWQ58J4NUndrz+zJVC74Xs/kQIhAPJRxZ6q3FGID2rLpZdgrkAQ81Iprxz9wh3qPXp+nZox"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.4.8-alpha-use-new-icons-5530.1.24_1573581655924_0.9201355171130803"},"_hasShrinkwrap":false},"1.5.0":{"name":"@crave/farmblocks-dropdown","version":"1.5.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.1.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"4d208c11aab8de7dec980d87d8386e1afa265e20","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@1.5.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-0rxcbxPboRtoJE3D8EuyEYR5g2jOvjG2y199nMZPsTaq9sm8vXZibEjkBETurkD9Msi6pAAaMFr9v3NhrI4FLg==","shasum":"fa055f3a3cc3977e175c58e06192d8e72c3386ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.5.0.tgz","fileCount":11,"unpackedSize":36713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzD5RCRA9TVsSAnZWagAAnMYP/2P40Ou4Owk6Y2hznoKI\n2bFonVYUMpFOF/qunrcesOoOst3UaEFbv+jhC8WceoibCrtAEIldWhkDmjn8\nDEVpEXnccgc/azKbB3Hv6cRAkMmUgQsAhZgVi+CDS4MzF/mkUcx/8qU0se3s\nss6S8SoxS4qrUq2/vd9JlfTC+Wg06YWb6yZej3kTE5rztO/K/X+QOD6Iny1t\n5f2DL5oO+nR4F09gLplsN4144aP7/ksD/AfSWZBN8ZYOGCfEAFIqi4SpvRFH\nSqgnxXfVycxLse7moyw+zJtVqkBRyY0pR9NbBfHgdTppLz1YaVOJiGeTvuZm\n1ckw4CIjahigNV+KxAMBgEYLlNhlEK4L770ATBHB4TVea2DgIxj0Iz7fxXFC\nU0n96xUM6hZy4J/YhWiXABreFjcsb67T/h7qsaMm+mlLUV3tld/zC5PmhsrJ\nQeGxJgFWvmbxqCz5mirIfih1x96HheVMVItBbLGaYc9/K2DHR3gm2Htm6HoY\nU2FYcvHbRu6ogEgTc5tEj77w6gL2igctEU42WSsLdJxG2lyq2SUE69frDo1K\nspupgZnSjKhQMsAfKclvo99K9HAk88eaxTCRP3bSqfTwaEhL4rvhWN7vomrK\n40vP50q7RKnbhywlH7X6k+iErNRIsysGjlrqpcv9ig/09JdJuhkMhh7td6pi\nLh/a\r\n=0mdy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQeu2cwvJM7Elf1db7uTr4opbnY/O+PnaVomuY0Vq0YQIhAN57voJx0QWWjZf2sYVhhfJKROQEMWcRFkjZtwhjauwQ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.5.0_1573666384848_0.5342566004063019"},"_hasShrinkwrap":false},"1.5.1-alpha-use-new-icons-5553.1.26":{"name":"@crave/farmblocks-dropdown","version":"1.5.1-alpha-use-new-icons-5553.1.26","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.1.1-alpha-use-new-icons-5553.1.26+03146354","@crave/farmblocks-icon":"^0.3.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"0314635482b06bdef18fff305b0b4f2143ea37dc","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.5.1-alpha-use-new-icons-5553.1.26","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-fUjPCzaKTLr5tk2jFo9ZArzbM63yIN+qhwBvXvL7k7EXyL0BPbaYoqFYsCRdi0r6JGQ9OJrVA9cpmk2Ipb9JSw==","shasum":"6075f4b9e977875fb9821fac25d6b6d2376f09e9","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.5.1-alpha-use-new-icons-5553.1.26.tgz","fileCount":11,"unpackedSize":36922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzXoxCRA9TVsSAnZWagAAkj8P+gLAPoUF5D04Xm7h0cTu\nNVAMknJIbDh9sh8UCcVjYGqH3fab1XkC/1yLn+zDDTJbZXK9Gn265/GkErZS\nJUaO3Wi7mASF9fNv2c9EwtKfigFxjgYorwFuUNRxJKbB0HqplWixJDalEslU\n3PMuaj0xjVTwY+sSOf1vi3WZEsKQDLUmtyzTcLSFWiJFLOGxHtCPvhDHtTiN\neK35WRaBzZh+QHMRcyT3AwN4Q/9camdwfge3AyOHOxKNbj9+FfyYDOn5r2Lg\nX5QpAVb+FVfmKmCdBmXWcAx7qOvTIwdyEe5ysRO0AfTagj51PYrY7LgjyxOc\nBo620asMmPYIDrCXI7e4IhkxyCuMXp3TZIWXd6XKAebxiuFasn6mXRoSWEfQ\n0m8Od5gSZOvVE9QFKMmx2z5sKAL5yCqbpn13m88Aeklxy9GPSj27jOIFIEj6\nk1fAk6tEcy5JkW6fLBL8NuKM/r/d0gaGjzZwUuaI52VGPw6cy7MmSEAy6MTX\nFWnaCo/0DMnv7BVM6cLntD15NTFGFh5Ovq9QOGw2UtGIZLzGGU2Sfo+5wjag\nfanTiX96sZQR3BRJ2RcIgx/+HSOeIYPNb9VJiq9U6ypq7Kgr0MpzkiJ1X/gW\nlmplSZbmxuXf2RZ0SuoccBWWwSmGK3xfCYjzR6wYFWFoAboCCTrRpKAjn1O6\nJ7zc\r\n=Re83\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrOYjhymSSj1uueyx/opq7HnslucAqXR8IjZ+d6OH6BwIgDajDy99m6Rsa6b5Lbr06HQs0yPPwBAwD30suhlPzyl0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.5.1-alpha-use-new-icons-5553.1.26_1573747249141_0.39170591314240544"},"_hasShrinkwrap":false},"1.5.1-alpha-use-new-icons-5568.1.29":{"name":"@crave/farmblocks-dropdown","version":"1.5.1-alpha-use-new-icons-5568.1.29","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.1.1-alpha-use-new-icons-5568.1.29+87f08172","@crave/farmblocks-icon":"^0.3.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"87f08172518bc1514f4b60bb58d601b6c208358d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.5.1-alpha-use-new-icons-5568.1.29","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-OXd28MDDvuGcYTGW7BleDYaRLxrlg/ig/tWAOJHAfuDhlNlHJJFyDeCtI+tGGb10dS+MG9VWssJwLrS9s8cM+w==","shasum":"5a7d4024cdef7e04197a2589ab3b91abf9e820b7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.5.1-alpha-use-new-icons-5568.1.29.tgz","fileCount":11,"unpackedSize":36922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0wbKCRA9TVsSAnZWagAAAIQP/2DCdGmpkuLGKN8DghkU\nRHo30TACB7fGJBvZ2au3K6H8BDdWB5K39taFF7FKSfraGOB1Kf0vrNhZlyIc\n6kfgcvWEdlYryT1WfrbzW4Vejtb41Sx1Lc70nXT+2JyAUeZpxLxkbkVKhEjS\nGFmuUInudrIoLZwvEVOvXIQ6CIwFmuNPMLkh4sRjr5U3n1nWl7Gv2HteYllH\nwyXbyhJdzNqSoyZDM+4wgrAEB5UkqmQX1TMpOaLVqfhc8k62rx+rE4hL5QDl\nLMm4JosfMNIH91w2mB8BSgoNyAARoqQqzPr2h1I+YbqQSzlCjkqbkokuMEl9\ncK91RZZrhV0mvkoNyLkMdy2kP5GvFZzkMeMwYGswFv9N91xlkN6EhTthx/Lc\nTMQq7kftgoGf/GegKtiyWGuntXbiOsDv9NYM0u4+Y6QiEqSZDfss3hCyxwbp\nsa87K7NY+bdxkvNDigog4UHKEIlJwrSe1MQPtfUmG7RszWAQTkTj6CcmXjyx\nMRfbPrxg5VTH9Mv4R4KvWQ3SUF5hZfwNRkIw5WvUpx5BBDrGoFF9qugrRcoz\n6skrnoscu1s0GG1GhjC4DDg6/2AHsZMtndDWstKCF1JVWtH7E396y3t3FuJ1\n1Cs4Tz64oYHDYIqGJ3yl00j5OYfOLIs81U87LdkD5e8JLCPRT+NNXj5qBjyz\nf1DN\r\n=sJ8m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbZS4fIV0175X/QFOwEBLoOyPVxdkCsJTRd/xWKt34agIhAKyVexq1yoeWERCcXFAVbA1DMc5TDc74XCVdT+K5zTsz"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.5.1-alpha-use-new-icons-5568.1.29_1574110922215_0.7289993238872705"},"_hasShrinkwrap":false},"1.5.1-alpha-use-new-icons-5574.1.34":{"name":"@crave/farmblocks-dropdown","version":"1.5.1-alpha-use-new-icons-5574.1.34","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.1.1-alpha-use-new-icons-5574.1.34+786ed1af","@crave/farmblocks-icon":"^0.3.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"786ed1af7a501119a79b8e92642772480116b4fd","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.5.1-alpha-use-new-icons-5574.1.34","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-dMZ6Q2YF5mmiGgwpZDlAwMDE3zKLUGSJz8TvimfHabpxYK7GyGha+vDp4A9CPhzCcNqYHtOOoBkxuXMOUpNAFQ==","shasum":"de73833a8cbfbae17a586b4d1a5d92a601270139","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.5.1-alpha-use-new-icons-5574.1.34.tgz","fileCount":11,"unpackedSize":36922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1CapCRA9TVsSAnZWagAAc0AP/iMa20sPby460/cCccqT\nu+Q4J4kq5eEgRkS+SkzeWxa/TtHU/g91x8UdHx8RuSfYVQkAYXOCXP+MOoTQ\nDDOnpDzCfgOh4ow7mmEG2e3p5S5hwU5Mce7y0NZY6bRXHh3m43EuWa/R8qwg\nPmNg6HJioW/dD1pVlW0dmcJpp9xBQA6DXWalMQ1OQ8Zo8XjJi3n5Am925z12\nze4OFaYZYr3oOtYaz67jUhqgRktj/vB3nLAC4COzl0n2UQCYSnWRGiFPnoWw\nrD0hkzP4FJqa8qN/qmQJFgRhe0fiGQB8H3v0u6rd1aZIPmqvyWVk1QPVySsd\nJFaLexrDjPf2D+BuO6+Qc621bn0iKSl/FiYWKGOQ3SaDqY8nKHyv0jpbNDQi\nOekeg42/DCSi4ikkyc6x8atQUjMEF3Wzqn8hdsBswvadVWLIoFcsHyFBpz1O\nb91ZkiWALVjJvNyddWCcSLNYcckWI8wxNhejcEBbs/N7Vp5Q4C/0O9bdlSeA\nUHLdIzem47N42S3TQKNv+0p9kT/VmOTWLoR77wQ803VPv5Dlhc+RcmvONVEf\nSKmgBi+txhCF/V8Q3xFgXX163R4d7YfGg2Z5FTWBySghCg7qiYrztKSStdjD\n1up8nFcl6kBhrygaczOQuYdJggCIIyphQPDcfgCEa/cxEHqHsvsAZAeE3I3E\nrbmF\r\n=cpXu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+YD/uuPkIAAN+sKInZThb/bzPh23UF2qVJRmEAf+vDAiEAxu+eYxdsx3mmK9NYegV+FpcFuv21IFZHNiDgwizrN0U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.5.1-alpha-use-new-icons-5574.1.34_1574184616958_0.034547761315900205"},"_hasShrinkwrap":false},"1.5.1-alpha-use-new-icons-5576.1.28":{"name":"@crave/farmblocks-dropdown","version":"1.5.1-alpha-use-new-icons-5576.1.28","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^7.1.1-alpha-use-new-icons-5576.1.28+44673423","@crave/farmblocks-icon":"^0.3.1-alpha-use-new-icons-5576.1.28+44673423","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"4467342328b41236dc1397d195b44ac7ae1ddc13","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@1.5.1-alpha-use-new-icons-5576.1.28","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-V+/2yJ1grUQHv7vx3LYyVMC9rfED2rdB9N3CSvMkfI9Y20rO/HKnm2BFIAs4i+DLd7orWg7KtFvQg7j5UMYrqQ==","shasum":"f2b11db22dcd25653d4acc0313ca6f4c7d286195","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-1.5.1-alpha-use-new-icons-5576.1.28.tgz","fileCount":11,"unpackedSize":36961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1CrFCRA9TVsSAnZWagAAAIwP/0js4o8gz4qn4nyUG48l\ncar4WsFkZ+EBU6zW9EGlm2Q2m6+Zh1HvbIC8BrTwkx6vTYP4c+Bm3QHdhVhc\n4+DfWBu5sJ6TCUJfihFV1NFCTlJN7gEpBs7ihlq3Bk7W7xHIgszyMNNWeKZa\nKlwbTVLueoGCrsaUb3RNDz5I4lvq+3Xm8LMjaD8NKQCYTZ/XAwLgx7r0qEUo\n809s1Xiek4ZxT+deG5Srj65bA7iQRn70pcXhWfd2v5nVDlrzpKFASp/q54jV\nETHKS2tTB6G0SyhP/TbFCiK1U/N6/YnWZHZAzah0cvRGYWjA+r+ng3KyGA0f\nnVhHLuzCG/NNJwKn3/RWCn/K5vK+J2ynAvTva3snhIpuEcjl5JWzDRf935u5\nazvpEaSXtrOnnLXx13gynPwKOG5lqu8z5BONSb3y1uC378OPVI2s4xUtgqBd\nRMLs8BeJGF/mL3cdKCCYeskg8CXwkpcHp1+hlmRdE2dElZtkiyPGLwOJMv5D\nqeQ4Ip5ahXlsguVc3sEMcRKqu5hzrEUdvxd8tmQKJRjoDH2LWK6PJHN8ywSM\nv4fKi2G4qjvlfbaFEtfan3oY+4MU5oD054yMvs/i82Y8qy6RaMQwkMpvF1Jg\nAIuCwVYoA+Qvtw6Y4ol32B3TEydx5QYupZtjZKYoz0aLIe/3qkp5iLUuMPEj\nINOS\r\n=ECGG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoYhxX92P+7nbjCcf11QUcI8Ckoc2Gd79vToAYX/ArfAIhAMUPn8sZdhrJKhi2Pk4BOdshw3/UWtgS3OdjLG6OvySv"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_1.5.1-alpha-use-new-icons-5576.1.28_1574185668748_0.3978689673508713"},"_hasShrinkwrap":false},"2.0.0":{"name":"@crave/farmblocks-dropdown","version":"2.0.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.0","@crave/farmblocks-icon":"^0.4.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"9695821f91987c2f33270dc3074e7393311e98c5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ayjonKzW8ILdUHgHs9siKsv0R8hSWiyE/8SHbVMisDtbrJoZI2hJrbSbYOb72aY7tFaGadccBVTOccZ0BYWpqw==","shasum":"caef4f0a9e7d64653643450e450cde95796d1d2c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.0.tgz","fileCount":11,"unpackedSize":37246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1C4jCRA9TVsSAnZWagAAhaYP/iD+4MnGqVCOapMjii50\nMypwIBLM853K4ifDBgVbeG27a5ymde3Jgp9rPrN5ozq5dA17YP+aOKeL77vD\noK4U9oCouUjO1ePJ3B9EcnWQLsYp07+KRycJJ5XuIuQ72nV3k2i0RSWtv+Mb\nvNMg0T7xROYjaVMaLK0mmM5VeqmfKcCFWizwBfP2pajF/f3CzyavmWFmKwa2\n3AL+5dza9rkioRuvtpanDTbN+SU5qwcNmjGhDKHtCcKO8QsPWcyO+x8tELAk\nDcwxdxkDa9Yb5tPVWVdopSzXa2TZDga4jhw33dhrOjv36dPP6wbqmqquMxKM\nGFvvBIgT7r/VeGp2jfef5m2MtpUeYo2/nY+2dNFODVIEDvele7Ew5WGn+sQs\nk2nJ0L5RqpOJS6SlLPmq/jbu3SVGdLcHKrxxRQlv97fpmy1HxOzqd7VrC+lx\nOoww6tV40eslYMfxCn2tNJJVim+0CZpKjbPE38CVylPw+lCkB3zUWl74owRF\nLa1Tb73ivFEdZ+8T/P05F7a1Ee5OPdsgtiuzPsawHcFe4gUQ3ahkKQpDhK/r\nAtkFOxQFHgHkvUysi+gN6Tw89Mj+fFn7Okdbk2gT2hqfZK8Ln8+SJcpZMlq0\nUEfYSWPXQCqJLu184MEmKv5x+V6VzzU8T+RA2nxEklpHPU6fASHJSR1nTKro\nHjU5\r\n=L/CY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFCd/TDNivmheoBbjrVlF8NmB382oqnH5NGwwNZFyo5/AiEAnENC9U2XRabrVBgR/SUxuVXznbHWrxKqUmzJm1EJ6BM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.0_1574186530755_0.6753528790028782"},"_hasShrinkwrap":false},"2.0.1-alpha-upd-depss-5616.1.25":{"name":"@crave/farmblocks-dropdown","version":"2.0.1-alpha-upd-depss-5616.1.25","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.0","@crave/farmblocks-icon":"^0.4.0","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"89bd7cf90d3c9049fee1c2e6b2dfe6b709fafa95","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.1-alpha-upd-depss-5616.1.25","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-KHgno/cKJcRoBOsRCBz9XDhvzpHt5DFaN4g9CBStzUaJMbQrlNi5cGV0Tgia9RCv6P2OF+3f1mcusuGfxM7Oyw==","shasum":"3c18f198c3d059856a7ed3ef70c15e6aeb8ceb3c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.1-alpha-upd-depss-5616.1.25.tgz","fileCount":11,"unpackedSize":38599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3r+DCRA9TVsSAnZWagAAEMIP/3BQ+INnStfLiMbNnND0\nMbLsouXt4ZKlPOE35J+K8o4hb0tFRgNiVSvwW2Gij6XFVFdlGcQp/IWSqgM1\nP6OFDdAmOe+UaAVkhvp59TSYQEZVrEmixpqFGubhxXS6VVyWP/gpL/1QI0bF\n5MduLmiqauK0t39zSNspimJDNdqiKW6yO6gr1PSQhhQDGAZ8xFa3W4FGKVg+\nsars1hOeNmYkLARvZUl0AL59PMlWqdBgJZw+B+lkE0bmicjZTpKCDNmvJlnR\nDy0E65ZHpgKaBwayzE87x5PX+7edoIX/8R9SJYqTr7oGXvKahy88siq1AuGQ\nmtozmL7sxlfrXY0KLMiFlZhfD6LEUdwEKw8k0UzzTLYDOrq/bx/3RE1eEHvE\n0VxA2Ap+T+LYvzAwFvU+2ft4fV6jKo1U1VBPcAIZmg+FA7GDxq7WzKKyTgaC\njUjBS7/q2Iysb/3AZ7WV6judLpAvEfTqt1AwyxwtW2NR0G3arwvror0rZVwn\nZD3paFKXOVN0u+AbxTGGSILgX2IVApZuBqPuy6CqRoSVhfBu05sd620xb6CU\nhvMX0FDcBZ1kzSn0rrvDjsnyqIv+MPCV1d9Uf8WAolr0rt25oCJaiVVk926C\nlY3qFUYUbTF/HFfyAVxQNpb7TNF2GDOsz0NvFxkOo0nh6eJvHX3el0gr7Cu9\nDUG2\r\n=bNry\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQpOp2xJ7b+bDOFQFc2Wufa+rgEoWn41fLAPguZrpBtAiEA7v6hoWhU0VhRg+ZEHy8rRpPIGxoG462tTjE9JCKiV5k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.1-alpha-upd-depss-5616.1.25_1574879106819_0.12351632299837179"},"_hasShrinkwrap":false},"2.0.1":{"name":"@crave/farmblocks-dropdown","version":"2.0.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.1","@crave/farmblocks-icon":"^0.4.1","@crave/farmblocks-theme":"^1.6.3","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"45d82593f4597cd7418ae37fdc7d2ccf6cc2f099","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-qucXO1YYzhbG/tAVIfr4jOVe03YZDHOOe+YB21TwU4LOghcAIPJGpvdq6ggWvQhcgtBFcrbcTP08akP6GZJ7DQ==","shasum":"95340742d4be84deb2fcd109ae0cc9b79412dac3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.1.tgz","fileCount":11,"unpackedSize":38778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3tyFCRA9TVsSAnZWagAAYFUQAIc3pKY5a5WPG47zh33g\nPSwp6Glpd6WjsOJH/WkKbpdZ1TsjRHYfJWFYkEvU6HrzUV2zfETEPsRtDyR5\ngZTwHTBDRydGzA0GOb3dh7HB+t/D87k1/F4yoUc/f6fWRTPuC/ZXEnJbxfSH\n+cDCpCdesw2F7zW3VOTyEy35uay4Jn2xcXkmEb4x27244rMZu0Oz6fROO68i\nQzq32+65nLDo30ezUV60ia1aVO2bxONseML/5S22xyuN2gG/Kj2hm9J1Zneg\nApMtMFPxJb7xVRdfdrEXKZD6it7s2lxYPWmqCjB3ADftvY8I/iUQRbbX3wOS\nIN+9FZfjvCXjrnJuV/McTaANG9gLtR7GSiFOJLMeAJ8JgPafkBwClgluUJYF\nVZYzvuGK7rjmx8cK5mhmdhmW7ivyIbzV1aLRDwSwLRyFzs6zeqMi804vOCL1\nLOqc9f/VOPeJ675uv8hiMkvC7cOWJMst/6qoYNTTaisX4ZH4r4zGQtqYMHKz\n7qCY+74HAzu4DuigEzwjTzb4CWQpL7ntbSODXbMfl98cy/V+zTyLk52Hbksa\n0UshsoBP1Te1wuCWtju8HVJjicSgCvSYZUB6punc6VMoanzBiW+5CSquBNzb\nyB7EKPUf3pa2ZlSne8NJ0aYVjgZYYELzQSu9bCQW630sB+WOof0CeWx+cpHr\njHqW\r\n=KA0n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZQ/4BcQ+HXZkrrI6m2gsRTGjWgI9JQ+yEkI84Z+gDKwIhAItb2A64/QY+KTcqUCQAJKM8kT9v/M7/TPTGjp/rWU+a"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"darkerostanki@gmail.com","name":"mateus-stanki"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.1_1574886532620_0.71827816223371"},"_hasShrinkwrap":false},"2.0.2-alpha-tangerine-5635.1.4":{"name":"@crave/farmblocks-dropdown","version":"2.0.2-alpha-tangerine-5635.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.2-alpha-tangerine-5635.1.4+911bc365","@crave/farmblocks-icon":"^0.4.1","@crave/farmblocks-theme":"^1.6.4-alpha-tangerine-5635.1.22+911bc365","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"911bc3651e3096adce16861d7845aa567dcb0e7c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.2-alpha-tangerine-5635.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-G59qimgZwF4gWjmhyQslcn+zzR6t2++DZgAClY10FsLldEod1h0MvscCHe82Rxy+TsWvHKPclzSb886kbIXzrg==","shasum":"f9c1d625ba393cd0de88740288dab891b72cb4b1","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.2-alpha-tangerine-5635.1.4.tgz","fileCount":11,"unpackedSize":38881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5q+HCRA9TVsSAnZWagAAvw8P/1a+kSC3SKHwwZqNYNZO\nTr49Zhk1GfrNEo5tlZ3HCggFI5CU92A/hdVUXzV1U0azusVx/tJkszSPRFbe\ntLXMYUald0Vt+onhZi+qRB/505ox2KZS6vMv+WEuasJJOA31Xqfz5iF4i6Vr\nhpuffGchnuRgYJVMu+uirmGrjSjb+trqAnKyZRZET3y06wbH0NcKIVUOSahY\ntcDeCvsSLFyhTkwyGhHLlgGEUJYIb4/AJGnJDSd+ScJRSHk6ktmJDS9ITJNL\nAHuPiQ+vcZwDAmtMABY+HvWmPHMO0wWWbFxpSAKIGuPPbvt5gl1gm1Pq6dMn\nhO/23ue/ZPzRkYRpNtpGULDphOGl5IR1PTIMue/19hqFvgpnZVkrZFaJFyHP\niBTDSyWriOCbaZh0waTDhYqmOEfn6RPTNB+yclqrOmYUQ5EUdP0ygxZ5DGQt\nILffEGMhPat3hSrKTtW0+E8/aZ9/uo/iEKKBhNRDZ466tAZvDG8/cbvDiGkJ\n5mKgSr3AtWwLDbcM1khtpCfBhBCxgeR9xjok94Jb1WhG8ZssG33uVXtgfi2/\n2Dyp2F+WXWyA38IdLqokR6msGksGsmLdiMuZQQfl/R2QHqDo4NJPgmyklv9x\nGfkx93kOE9DmCcSmkvFZ8NughyD9dLnHv+ZJl1tR5Qod/pCBSQNobSTgxu4z\nMZA1\r\n=+/qM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI+cRFTqB7PZElAj5UWap5Z/mXTRceol8dN1XsHaurnAIhANy8CvhLUFguMxvK7PblIJBm15GeXBUHuGsTkGxGjD7J"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.2-alpha-tangerine-5635.1.4_1575399302708_0.9925898368656587"},"_hasShrinkwrap":false},"2.0.2":{"name":"@crave/farmblocks-dropdown","version":"2.0.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.2","@crave/farmblocks-icon":"^0.4.1","@crave/farmblocks-theme":"^1.7.0","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"5857c6db26db5a7d3c313fda882afc5752941621","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1l0PB7/PxpIrgEmA0xXjuaY6BlbdMisd8QYJxk9uFA+BEDYRRVeJxlqwDtOZuVhjyEWTiXUWtcRu+EHTQN+iZg==","shasum":"77392bb4cab0d4e60cdef2837dcbb4ef56a6deab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.2.tgz","fileCount":11,"unpackedSize":38992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5rTfCRA9TVsSAnZWagAAMOUQAJH4G4VDDWKli2muCOEL\nKEnuMWVKlM1uZZTdBB4KSwC7VMf9Jc+coM+9E6f3J5sW3FGkxVjkdfGLrOvC\n8rkldgBgq3Aqg28G6LIwkv+pFnikU4OIPCC/xPizNDGPPw4Nhq7cnke+QsCs\n8OWaNHUOsDdUfDDoP3z2u0cCaTyEUCz9gEpDGhCHpoNZe4Mjhns+onVCQoo2\nBzyh9NhtHBKoW0SwPXhKYryNv4nlgBM5ihX8nW2CspXBEo269EKmoSfT4Zy1\n90X4+ZpYLzst2IDajX9GY5q1P2XIXziNyyffdG4F71bBSe5E11j06CB8lxpU\nemtgdd/RrbDIz+ndUke4AyjzpRjb4cgCHHvJxZQEuZDbke0AuoG+l2ZFDS1Z\n3cRuJRq4EW1Qrqpx/1J9JWMByngv+LYq15ICc5bYkaR1xJgnRPrtmA6RUdGJ\njaD+fYUReyt7f7mLsx4iyoaD01+EdCIAT3bxossVaVizg0RakdOOc+VwJqmz\nBirE1m3cq/B+7+cj1qokHcS50EQDT2EsgtfWfLGi0iiwDGicqQPeN9fKQQq7\ngOTMqtEEhC4H1rpwV/wLbgDoFU8IXC65awEoss/AcEsSvzcm5TXH+9rG9B7z\nnvNhSDgkAG2N8rcBIHbsvpHWEE/SdvSpLAgKhoynDXHBFaXnqNoMCYXYEiQ+\nGgeN\r\n=s3Jc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0h1BZIItckQzbmGhSdBE9bRSf6TU2L/zeHQCcbtJquAiAdXtB5QogTyG0/H0g7f48WyIIS11cvvJ6VPpXWbiHf9w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.2_1575400670884_0.795504031429213"},"_hasShrinkwrap":false},"2.0.3":{"name":"@crave/farmblocks-dropdown","version":"2.0.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.3","@crave/farmblocks-icon":"^0.5.0","@crave/farmblocks-theme":"^1.7.0","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"342ad4e3c27368ca02c4ea9c55becd823e45b617","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-CUB2pcRxyg8bQ1AQKHi61B0Z7WGWAuZeq6bNnduc29bzsNgPGvURh4yeZO11k819fcG2zebITUtDCgKDH7C/AQ==","shasum":"481b5be72e6753e1c735f1448c084719b7385678","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.3.tgz","fileCount":11,"unpackedSize":39206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+loMCRA9TVsSAnZWagAAeRAQAIk/YdTz191d4MleWWWB\nr1NTSozZmYOf10OQssp2CjSKNseXG9PE4vwCS8nceBapKXpDJIPcGyraPnI2\n/MB/Ad5mkCrTz3RO09zsOo7Fd/eOLxMDlUDYM62l0/zv+WGlYGKaol22SnxZ\nK+1BrK462kheOJLXeatPslOQJV++0GWwtpyN/MVIwB8TNOQDWloU8+ylSWfB\nQTjRUeWnPBY8zRmDyN6djm4mW+aLaSPNV7M66sqXk4RKbFDcxjt5hRm/c80+\nHV7jrmdQtHZtB4nyI4jrit9n2WhtpeRzbkrwC8DRXpQgE/AhXLPluCW9Kh3q\n0xOuiGnKCw4iRjW57Y9FTrWY7pE/Qj5OrVlkZGpkFxgl9p+hJ0cmdcVUH5tA\nbXb6pqMDRBlxLmSj6UatS/zGT46ufMKY7WPr2MbPvG9dqcbOnVIL4BG55WG4\n22vlBm89RmIQPdkFSGzMFk6UCfT2CypEK/JNz6Lq1rmdFXsMZu3VJEVAzNkf\nOzwDqDIyBInM0MARVs4z2WSf6iWGVgyEjVA/AYS/gspNHHektyueFhZ745Ym\nIXzb5iJIWNGi6iuiIev2fIyQTCnkWIXn4atabN19p+6VbWZS8AZ50TzrOwrX\npHJiYzEqmovidjODVSOsqITnehKN7/VaaPp50IiQV0BJJGHyK0wTbZfyEa3Z\nrLVc\r\n=sxGM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGhti/6g80JQEkt2nuach9FtBVoGdKVpN/VujN8weNOgIgL/C5Bn6DC8/BxyQT/GIfNXCEgv6GApDzJekHfSDJDrU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.3_1576688140093_0.13273786352826478"},"_hasShrinkwrap":false},"2.0.4-alpha-new-primary-button-colors-5656.1.8":{"name":"@crave/farmblocks-dropdown","version":"2.0.4-alpha-new-primary-button-colors-5656.1.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.0.4-alpha-new-primary-button-colors-5656.1.8+585cd423","@crave/farmblocks-icon":"^0.5.0","@crave/farmblocks-theme":"^1.7.0","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"585cd423b49d4f8cee8b02db2e7f788f0985c7ae","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.4-alpha-new-primary-button-colors-5656.1.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-3yt6j60ODwr9up7Bxmbt+6FWzsaY6OFPVMmvXSY2/9f6bDpOTB6aK+IHWmHQUflhwZuvtgA3JdNfC+/HVmMNWw==","shasum":"8498292a2ec6f914f0c6c6671e472c02097834e0","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.4-alpha-new-primary-button-colors-5656.1.8.tgz","fileCount":11,"unpackedSize":39306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFg0wCRA9TVsSAnZWagAAJ00P/R+mvlvYS4KKj4660zDA\nTzm6EgYBksy0xew5NSqdMTP5v9qjrDh/XA3KaiW3Ai4mUN7Q7FHWqw7Jccb2\naRCjnLABOKCmDnaDOo19Hdg3ab8Diu3rwXPaYXIGs9k2UqI9xtTkpHw0FQmf\niVETkuXLPnjfmkdKGmNUol+uq3jHeCVQiDAX5U0FzAcJwTk58z7UwfYLdCT0\nMaSzNxOzRo88/lFmTqAYtQB/gAUuiPKZUKSu8kDZ9inf1K9M+eJBr40GNGRI\nb6lWSXYPwknm6GGq6sAsDojTFJNVk+jg9QEheEn0NgRMo6IiXObgyRLMuNif\nNRFLGUe54geh8Tu2EGTyub+ly37ht03h3s4AUgNthM+oTvyjrySCbLSmv1/9\nF/0Ewx81/gHYVN5N7AVe5P5vHBG+yYJZsg0BJ3+fc1Ex36D3YO8a5jcuXnqS\nrb83/X6Ku8NVvn2+tKDdev28aCiyPw72yOtGW2dJfnthkVQwD/GZ750BAI1W\nl9NZCWpwXGZG/5u/drp++tNpJMpECMi2XRrqm1bc0rpwe5MOe+ORNma+apTT\n48SbiSSKuhOlat9mINHyxvgK1a7wE9R++/1QM7Gzq8a0YPtzyrp+yLy/M1u9\nyur6whQY7Eb7dFqQm59sR9SO3E6SH9xu6vZaCLsMBtZJLYxoOT3hkHlk1yYX\nEjD1\r\n=kiu1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYp9udztr8xjyIVUoduIhsoX0uSEToSIb5vlDjro+LtAIhAOkAw4tTgj4cT7raVE34ZdWFtsBBYGT7jVmFnlLW+G8W"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.4-alpha-new-primary-button-colors-5656.1.8_1578503471959_0.924960697074297"},"_hasShrinkwrap":false},"2.0.4":{"name":"@crave/farmblocks-dropdown","version":"2.0.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.1.0","@crave/farmblocks-icon":"^0.5.0","@crave/farmblocks-theme":"^1.8.0","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"2a1f45615786366e38edd13359913dbb6ec223ea","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-txj1eBVzmMGwG7EbqR18CSQ4fqdtF7sKMMD4g6NQTOEPVMCyE6nTQxgnp7/QJJjferMIHNsCpr/rYVdu4dtLwA==","shasum":"368b3d25e8aaaf5bad34cc01b6c2ed7df21395be","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.4.tgz","fileCount":11,"unpackedSize":39420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFhJICRA9TVsSAnZWagAALkQP/Ag12BM8JfjkZzRaJq/R\ngYzmvy51NhOV5XbL5DlkAiyVCu//ZJ9ZsD/seyQgFV9E19QfP9zAOAALk6oZ\nBK8tOFgZn5ePxXS8mjKP98Icy65k685dOT3+E1uE3k/hRWCFUCBs1XrI3SdU\nJH8xTFjLgX3EFPepOy4+qZhSXwCWuXS188tbSKXLlymsYQGkuWR6fif3OCXu\nk0iNP3yIQBi0rmQ0vCceFJmQ8DVfBUS4tw+6g8koVWoyFfaDqcf4oR4h4e08\nzs+AXcH1Dxjn08A3vB+KPnAGpzaOogfnHLBRfOLNeIDaqz/WrAMwtdJLrdkX\nbxNCsnEt6PGU1AzHDX+HbJKV6BpJvmztJlQYzJjxemYwwtZvFd3pO1DXW37w\njMAV52xnTDW7x7mpJmjkLgTqQKJ4E7hzh7BYc+0DVlISZDOtnDY6/7U2iOXa\nA51QElJpGZxoUBZLZdBmAJ5WZ+CIuZzo8h7qVxnC4VqimNk/a3ssx/hA4xOL\n9/0D7zYtcS62vgwmIX9asu5S6W7n23DeaQsC8U1aDISqNPkr+kmvjK/xce1e\nPLrw6598yGSnBswBEDBVoT2W2aRlxV6VL79Y1BTTFKb8HlkdJxSkbERBKfUb\nauXevt2yeaYehR6GnOFGTW/o2X+WG7hTk2+KR3uyegQuiKnVjGgKplYJo9hv\n+onE\r\n=9GET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb+4tahHNbQUxwZwiaP4YOB4CyqXlNco4+YBZcSNGOUwIgDBaO4gZ26T0kdcHzBw7YngSWQyl5DKgEnbac/xcmMkU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.4_1578504775911_0.31281629956169765"},"_hasShrinkwrap":false},"2.0.5-alpha-card-border-5673.1.9":{"name":"@crave/farmblocks-dropdown","version":"2.0.5-alpha-card-border-5673.1.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.1.1-alpha-card-border-5673.1.9+64037a6f","@crave/farmblocks-icon":"^0.5.0","@crave/farmblocks-theme":"^1.8.1-alpha-card-border-5673.1.9+64037a6f","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"64037a6f9a1396dd7835c585902e6edc164aa305","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.5-alpha-card-border-5673.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-a4JIN+drLPbAIWRBRQKRSOLAGHEsbzX8xqpFczErrKHH0qBuGdwEwY3+3+IU1QKwn06M2uDoP0eS1vzz/2TWIg==","shasum":"dc8633b4c19dfbc86c0992c7bea66f5636fd2261","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.5-alpha-card-border-5673.1.9.tgz","fileCount":11,"unpackedSize":39528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOXxSCRA9TVsSAnZWagAAw0cP+gINgPAmWzsZ9AJcDhek\nY4SE4mRZUo9zyJC5TdfjUoDhmmaXtOC/+OVp34wwtPXkqrE52sfODffE23O2\nPqyY9HLzfsO1I+XIXEzDXmnJ1jY9nZ0+NNznQ/I9VCo9ZU2GaRPduj+BbBmv\n+nLFqiqUiLlDHUl94iPEa8AO3jsQQpdW2Zs11AS74Eu4kqfbOPoTIVpy5NJ1\nB9KW5o6a5B4KbENFv6vAwsRWwth6abPI8d0knJX8kaIxrkBhE3RJzZHhD4KJ\nIs7HS67A+K7DSs875waY22JA+GbCM4EJ6YcikqN7trxS8G7k5vPxCUBefdbV\nmWxTaZVJw2AiF8HvHAE0gDGXyeEVBY9iU1FvsZtJ1n/qABzvtD69qj3tz8tN\nlwOrXbcmmwsRsQvatKbdR4Rt2VI23fAVK07TqGvtWbklhzp5v3Pv20y/gjEw\n+bMBhrT7TK6yGpRGU8SXTgB0HMSsE+qqWqS9gqiXiR7dZllFkYJiHh68DNmd\ntOH0vWqqOHKvGQxf9XTsGvyZkErHuDHF21m4FxR6mtBU/6RoKatrTF03UxnY\nXmyP0asc5AmONCwc0ueoY+5l/15uBEXj/dZvm3abMPxBZZDmnuatmvtGWIxt\nVOCBukherUSzUceYuEyBfMWfxYA4UeH++Jk8brM1Cgw0xBWt8JqW9ME0VS7r\njLfE\r\n=JE92\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZD1/AUqxK1TMSv17OHQ1QPj+jpDpzTXpcyU4omQneFAiEAlGDeO3UCHoDtmaNFsrz/PDEUgmTyJYRtjS/4n3HVuZQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.5-alpha-card-border-5673.1.9_1580825681999_0.940437279349351"},"_hasShrinkwrap":false},"2.0.5":{"name":"@crave/farmblocks-dropdown","version":"2.0.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-button":"^8.1.1","@crave/farmblocks-icon":"^0.5.0","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.0","react-aria-menubutton":"^6.0.1"},"gitHead":"bb3f171a3b5b9fcecba102f5c5529ac1334537f8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-EDnMKJkSaDz4V5eZXYIVP3BQP7bnyC7wiVnTOblu47gxFYAs/o2Is3uETdeqr2WwNbGgp7MZfIKU7K9C+cIiCg==","shasum":"9cec8fffc6d89e5bfb0a190336076a71e257ccc7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.5.tgz","fileCount":11,"unpackedSize":39634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOagqCRA9TVsSAnZWagAAQpQP/jvwWDojGiPihTkj6jVO\nFhUECQ2CASik5ffyks8aHGffg21GSjTwAW0O578Hf8kZOehBQ+OyRtDN9zT6\n1Ch75mcZF3Fy/oUuTFst77UvNof7oGGLFtB8F2naA7umwzS2kXaedaB4g7HY\nePsAJ4jkg9FNSjSmeUD3yW0I1jJy6dpyjA5SmKH4Egm2355Gf+r3jIo/M1sT\nT3ihBg4BGMzgp9FByCz5UCBpYEVSzamEvMrOS5/7UDkrMBqqeAZLF7UsWFAK\n5rYBAV4H9nwWDXUk1NvMSIzv1S/fHL7xUfLRdNRUs5zRnNjZX7sqv37mrXST\nfY20asv7CB1Qh85VoNL8e5e4YMQViEP8aS4mRqoD5hxn+fXZM5MpsD4EcNYR\nbrJgIJ3+qZs9QJOsGLhTmJ8B4jas3TdRKBUJSYKb9t7/KEdz/STQ68Mo1tFn\nVEcK2ieY7y4F4tOYqRdKvbBFGq9WdoOqjbmwkp5j+hbbvfu6Ch8+KffMmIoH\nsGy37+huOh9BtGxUbn5s2SNsvzHQ9gUKMhCIgv7Pjtx2EVxn2WOJseecP+7/\nmnq/VIctvSb2aqJUvJrl9nYxknMmJom0WoyvZyT+QiMweqR9oggK4ZN8/zVE\ngbRL/6WTs4NMvT3+FksIHn7Rs1aRPJUnoUkLP8g2w9jnnHUE98y+etySLjsW\nK5SC\r\n=ji1Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDayuIWHewPucev/R8Ta/GzLKpyHqDPSn/jFf8CUNT+lAIhALGEr8F7p6XSgtnFLuH65MpcBnHX5MPCiCYcrBtFmtNW"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.5_1580836905858_0.6151640984083442"},"_hasShrinkwrap":false},"2.0.6-alpha-upd-dep-280220-5690.1.28":{"name":"@crave/farmblocks-dropdown","version":"2.0.6-alpha-upd-dep-280220-5690.1.28","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.2-alpha-upd-dep-280220-5690.1.28+a8cea52a","@crave/farmblocks-icon":"^0.5.1-alpha-upd-dep-280220-5690.1.46+a8cea52a","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"a8cea52aabb860ab7cb09fc73c87568bdf11ccde","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.6-alpha-upd-dep-280220-5690.1.28","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-IWjHGeUVTaIADy1mbp3SHIQSGgjd69lLyIW+QQwZg2UChSlkGfS1gcstoKx7WJkp9RnkPww5XfWsHOuvR8brgQ==","shasum":"25d49c42c4d529d26e74b44109cbcba10821c212","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.6-alpha-upd-dep-280220-5690.1.28.tgz","fileCount":11,"unpackedSize":39835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYVlsCRA9TVsSAnZWagAAfFUP/0KQzUlbzXVn8DeNEPQl\n+VEPCNE9jGYKWYg4KxxKRYbjf7TZtg6UAIpyugdp79t8WyKa4VPEU17bi18T\nVijyWAw+X0Bq7t4oeuKVh77XYtxzpf+iXBOJJJmoXGqkCTGAwHNFsMIy7UG6\nMWQrmTPWgtsKZcr8Y0t/ttiXVu4yEneVqNkD70e+FcdtgLqhPu60OykVdp4E\njuxrUXsn3goahL7Mht2DYahRegFYL3LgGxc7uRn+OOLaI9VOv9zGInaXzgD1\n6Bb0C4lAYT1Ncf/iKxDGxLEzigJYTI91GwGvWQHjuxe33rezbhlYhIQMKfJP\nKI2Vwpf4pBEU4VW9ClToPW1Hr1i11QAMUDwefjeuhLTAQUY7wv+sjzHEgv7N\n0BSQzjCJ26y2zGxvk073bW7L9+7ryK5CzZ7LuFDAExAp7RNRQwTznjv6pJ5r\nM6V7MdZX//bzt4gM04qoaO24qv5vEIncu5x83FGi+lWDxeVOxEHMAeP6ztMJ\n1+7iZZFKpi/Mz1WQ+2PZPr62p+QuB9xosm1izgkYJix1HXfR7IgDhxWIN3h6\nydYXUi8ZAxkfVUBJl8Usrl/20RYBbjYFyGeyHYVSjzUNM65ENYwpzYDDZbif\nrrnNe7wrb/G8EPpHnC4o6Wc4RQrZlN1VEQcLEgBSxe/63sP+ehFAuHzVjAL1\nY5dL\r\n=oLlm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxNXZxrf4U0whh+9bwPSmF+UWJvB4ny9bCBOlwG5YvjgIhAMJePRDuGfZJwCh62ECIsb/P7VP2Xl4G96d914lS4gKs"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.6-alpha-upd-dep-280220-5690.1.28_1583438187453_0.9925487175758057"},"_hasShrinkwrap":false},"2.0.6":{"name":"@crave/farmblocks-dropdown","version":"2.0.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.2","@crave/farmblocks-icon":"^0.5.1","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"6f23e8cd16a268a0f14d582e9880bc591d758995","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-gLUAsQ32CdmeSkr3zhCFWykdMVzBep493rqBFSNaokIcFlxjBCm3WQdwcF/No8pf0XH/xg5QVHWygR8fXHTNIg==","shasum":"04345facdb2e8369750e8dec81e0d13d7d4b770b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.6.tgz","fileCount":11,"unpackedSize":39929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYm58CRA9TVsSAnZWagAAPlYP+wdmi4nPKLDjNEdoYr6B\npNiqzadiVvQOrC14/dH6V4sm9JSPXbQ8d0T5LaIfbJF4oZS3kUkXwhjvj5yy\niSg416Wz8Eft/n8qRgwe6ToTTNhBVESwBrY9Z6NSV6/hsEPK/UmqAnJYe72/\nQSmZ7W9mAG3KX5pdyrTcTD6Z/k+5nBLq0JSOpP3WA5wLQMpfi7/pGXt9hv/a\n0bpjaPJHj7BVJRQf4GVtA/RO8TCi3C/E1JuQ1gBbr1sU9WbAYfo6IYlqAlDR\nr/1dhx7seCjfHpjjjxE+evkb0yK25H8IC2txV3RED11ycJF/KhI/A9QjYC9T\nPaOltPr65rHMig0xblo0PwYh1iVoBgBY+aLmDGy83sBESSfOAj43ZZWYfIsj\n1V1wHNu1if+L5t2gZnjPn1tnattMVvBD90CiI6LmmbIENSkBG3HrTav8mrBj\nL/vR576CiacKaE4QcWLI3aRZQCwzNn1cOelkt9byUPx9kG+IwAgoSM0WH4iC\ncMF1vHNohETRho0Cl0eFrari7Mx9pOQWEHmYbkc6Qtw3qMofyNa7LdCXXnnL\nOzkiT0v6UO4ISI3Hgy/wuNaapNBqRUZfBNP9ETvMf4hfihHyk301cJWZGuTr\nT3DPR8ywOx7aVaWZqEytkos3IRe0U4MB7++U+E3nJ3J2Z9rwACyQM9b73hYy\nf0Pe\r\n=up6q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBJfXMyRUIqBGV+wHhyCLv4mkH54oPAqMe6NY+LEec0gIgLTa6N6vOPZUIt4KpDsDfTA4FkIbxnqqRtcMaGGUyWfA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.6_1583509115580_0.596043860343821"},"_hasShrinkwrap":false},"2.0.7":{"name":"@crave/farmblocks-dropdown","version":"2.0.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.3","@crave/farmblocks-icon":"^0.6.0","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"06d6db2af409b4d1c42e1c3a038aa5bdc9fc5654","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-YZJt30tQkF2+W0Yt+3R0OrMcNP1Ndx25Ws/0N1oxk75SVKJa6WEA+0NiNtIqQ6wanp91fvK1CtXfghGmDbPX0g==","shasum":"ff4b06e9375c5d0bb2c8e550ba0ecc951d52600e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.7.tgz","fileCount":11,"unpackedSize":40143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevDp1CRA9TVsSAnZWagAANooP/jZFAAugvhPhlGSaf7NW\nSxlCDMrbTallpNJRH5N4cZG3DIkQiSHi38Vd4cHA0C06cWaiX+Ng188Ijs01\nEHLbvU/aBsPxjI3TsyA6R0IPbMTA2lX/CCqhAPk4DqNfvmrTrLxJaRRngRFo\nJxUpfQJ+yxhDC8d5YlIazGxdfg+ZBxTpiY1xQ2Ey1old5AJdQi50vkYYb+kY\n5bVAcGqwHHuj7Hihz1yczAY0fkcu/g7GOcRMKHcfuSthAhdp0D0v9hdeD6qK\nJg+owhq2rCZYVyaR6ShZojd2P8phaUrfEr8ojvcL2LFp2jsZ7eVJ8w5sWfxn\nAdCtssM7qxuKAG7BSIcm8bK56bEnqyjMSFiBJxDRtu1wW8PYqnQVfGWh8S3Y\nbAXGPn2lJYlFSxtP1221A8htkSI+hHz4ZyRvEHiqJRNGmu2k6IakCBT5v0vd\n91BHzvwmiiMdMFTZHdaMpPkNvORbHMgv5kjrDvt97DXgY0pg2n4RTENQgI5d\nAJXxeXDtZVDdMUdeBYCuf2A4SpTV4emuWIcpQHsSi9Ilqs/4mjTifM8oN9QU\nRxporo39Pt9zXBJ+I3ZEffUWfcK61IFN85Oo+yxdgd+oBBTN2/aClZQu7FBa\nVJmE63kw3aZxrRvjSdH+x0dgZmDT/2B+X4w5fR1edoKurelXW87MdGVfYzWv\n05k0\r\n=X4GW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsZJjgIHKOkHhqMaS0bATS7M5lTj6TNHYParvTJfeRiQIgaGLEj0aWsYZnlxO/+oHjeuPyZxxtecQtLCKkSSwC7ik="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.7_1589394036805_0.5488761238810029"},"_hasShrinkwrap":false},"2.0.8":{"name":"@crave/farmblocks-dropdown","version":"2.0.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.4","@crave/farmblocks-icon":"^0.6.1","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"f53cbec934d2c236ef9e41ce2e51d2bdf37e2914","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.0.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-IKC3+35Q0Ll6cBrDPgephjgkd9zBCML39TVgLMh2X9ZF5cyyUanRd9RzbX4DuRmK8cQ/AND2OoVTEnLoKr+8MA==","shasum":"4090ecc087a101489b5450416f52fb10a29d7fae","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.8.tgz","fileCount":11,"unpackedSize":40357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevVY5CRA9TVsSAnZWagAATMQP/iuiEtUANsnlGcjK4qcg\nNaxj4SOK5wBXo5vHFsnoQvA6PJ6ruj0zkVdcBabij9VGEtJGuWmw6mLBmm5N\nUZJfXRhToeyq1JEDcfZPv1EeD55jpU0ocm9DZTUB3uQPxF2qKvaQ3WVsCRn4\nBnqSdAdjDfjDJ3Yyr9jNCJV5aNM7L9+6D2g/VMnMtQkFWqAFLZU4e9spZUzi\n7T1w/LpP18unBvf29crF3vhFP8YpDtL3dYqWVvbItLZaTb2BoPWAtTvSUB0i\nCkPD2KTfkzsBRD6nJByEpJwTqVhyb4Oc1fwbf1zrMn2ZhzvtK02cs8Ft5G2F\nWGQgaWeEMBVN0oNEQ8z5WAsXjp1V8qo/YxHtpoiM6UJihkkO6u1Uv976DIKi\nQJb86WDEnJlc1lOQg31H6h81jtigIIOZrvlg1P2CNyPQG7vpMU4olJl6VAa5\nJ2w+tA//6Y/iIBwz3kr2bC/TGiV9K8fheTHSJOVUAEwk/yQsSU+UM2GrabiU\n9z0o4zpGRcBYF8ZtdLqPK/MeRgB3yPvhDlG2RWxxxDXYxkbZ3oBVEnX9zVsD\nADN2EqKO8wiay8BF9xqXCCWQfgCGu4njQ32S2SBV7JYlVOCzqUC1uGOlNtBI\noa+sIUW43GBOYadAmirFdXyufZTu6W/0N4HO+fGbshMQ3yt4QmSge+NCt4/p\n0PLO\r\n=a8EZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChzSInsQInFPzN2KJPd6xYEOcZwZHz8/VNp404R3cKewIhAL4h5G5Q8wBukDSPM4Y2vxRcQWAsXvHFTBtZ0x3U030N"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.8_1589466680617_0.9241444634451856"},"_hasShrinkwrap":false},"2.0.9-alpha-dropdown-button-props-5803.1.14":{"name":"@crave/farmblocks-dropdown","version":"2.0.9-alpha-dropdown-button-props-5803.1.14","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.4","@crave/farmblocks-icon":"^0.6.1","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"46e19de05d5d381c523bcc3d6ddef99b63b6c490","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.9-alpha-dropdown-button-props-5803.1.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-y51zn95/Xxes6TPz8beO765aUwGUROCkTwBz0aEUhSRlQI9Dk6E4hcMCy62d+O4iZUA9DE65hZS8rmzfflnYbw==","shasum":"d09848d6976429bd85be027d7609316c88b035ab","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.9-alpha-dropdown-button-props-5803.1.14.tgz","fileCount":11,"unpackedSize":41020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBITACRA9TVsSAnZWagAAHKgP/0fg0GhKI6NpFUrkWlqO\n8epEiFgSc2BFPv993tx4nUI0ZV9PkWUihDJ6mzZdTDdmxzE+zrZkypuzHVPd\nHy2iYz8IU8X1XNldQDsP8O5XpLGzG/93zuJPp0Jp2NN1T/wZd4wrGR1VOXPJ\nOtCUfzqkLQfKV4tj7BLp3bGMdF5jNjoB80RgfNohpJh7C66CISGIwb3xg98u\nJLJYF1QckVtg4ClVlhajFE48Di4gL+WtEufqlruYmHNLI5W3+sCb9AnxfRlX\nzbMq07HdByEzw9yOq+lXxI/WmlqeyDnb62H2fY+2beVMOcibBsoFyifma4gu\n17fah1D3gmUhAB0rBFnkHuYNrQ3RAFJQ6j/9c2kXIVlfJT2JpReM5XB5gt6r\n/kaGWWQSyDCsWCT0vkwYYk08sbejsYCCXrdfXVdP4WjcKDdv6OvKNB9uA9Mq\nTgb1vWoGXphTx5L37zA7nFQRq3Av88cQ1906AecfWTSyaORY1ipwsAomaFKk\nLBGeA2eAXqU559PyumfkOsEdzZQfLyBoD8EGrH293s6AiL385BIVA7uixetR\nPZyKy25c8Caz6upRYfbHtKZBpHSBtcGaBdb/0WTr9mVnxSeQK+dEZ8xge/ca\n+kgrrcsf80bIkbm5gfcGlsbSQYjTukvxQ21j2qjwxLLd62yIVIVXldATqdtf\nkEGw\r\n=rPDz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHSMq5Ku9jruE6d3Ri2EQAoqYskGahumjHny/aaAuXtwIhANCY1cKT63Dv8mmErW3CLr5sl0aEwhsItP+tAPnnlGah"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.9-alpha-dropdown-button-props-5803.1.14_1594131647983_0.44961716307017485"},"_hasShrinkwrap":false},"2.0.9-alpha-dropdown-button-props-5805.1.15":{"name":"@crave/farmblocks-dropdown","version":"2.0.9-alpha-dropdown-button-props-5805.1.15","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.5-alpha-dropdown-button-props-5805.1.15+087d20d5","@crave/farmblocks-icon":"^0.6.2-alpha-dropdown-button-props-5805.1.15+087d20d5","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"087d20d5ca67da637b28d58fb92e302aa787a58b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.0.9-alpha-dropdown-button-props-5805.1.15","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-wntCWJcPecCBVAyD/A+43HJJ/+6sMwPPTLHrvKC3kUtLTlvpBv8yZqClset46Pxpzs9lTJvA9t2himPSnpQvTg==","shasum":"62509d0495020fc8ce025810ae492d2aa700fdf3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.0.9-alpha-dropdown-button-props-5805.1.15.tgz","fileCount":11,"unpackedSize":41114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBJORCRA9TVsSAnZWagAAdPkQAIYdcbiEqrv0ZbDNfRe/\nrzHsGzfs4wKWil3oAd+vwLr6w8lQF/QpC5jQeCaKl4B34QIChZjGSIxvwYg3\n8EbkxStqSWeLsFoJjLq4rCIOLLA4Sgfb5QXmgpRfQBt3AQCFfmLr9QaTZq55\n3bRmz5OF8Eb6syMigVubznt1tPZkBVhRld88V1xnhPrLWuMdF6NLXkH66+H0\nqr0axXcfK1cKrd3AMKPg88jnf2Y7gvDZOOPy+ZUY3qCXyCtrouea8kLt5IIA\nUYO00386LNj7oe+9PAGNln03cJ5BwHFx5UXTdrJdgmyzNP4kfiPED2ldVGoX\ndEpgbc3GoNYc78N24QRwdgSmp5GiO/Lf+ymFCKe/uh9qHcYqwXjjIxFgpxA2\nBmby4SFqyohdAYFixx/k175ulX729LKBO7xwTZFm9ionBUHismPrmKDhi2GQ\nesBhQR1Xh80HP8CoL5Ijp2de+aww82jWHe99ZpshGLKUqcG30oOXXU6Q5L5g\nK9cIcip7y5sXxk/VDuZpFteNepuiqdD9oHihPtGpLs4r2Mt52Seo2MXd/GVk\nK0+vIvgkDCkX7C4vsP5E0hSANgUMs+XsalyS7t1Cc15GM0tbeMDLOrBwiNnn\nUsK4e0Ykc65QjwR7u0+5RRy9GKTMrULGHlv7dp/Y4br1vx8NFb7vgbBs4L2S\n1BGj\r\n=qmpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD36De31ge490unsj3c1vYQoOMkPL4QmTeElaA5WlrIRAIgeLe6ZqR/d7tpwPCzVHPsrY6zI12+FJS4M787/wohsLU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.0.9-alpha-dropdown-button-props-5805.1.15_1594135440693_0.09230075930923243"},"_hasShrinkwrap":false},"2.1.0":{"name":"@crave/farmblocks-dropdown","version":"2.1.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.5","@crave/farmblocks-icon":"^0.7.0","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"29ab4fc429ced210f74af9f5f1c06a8ac3d33af9","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@2.1.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-pqcwkRmqaSH9DR0icBuTo+I2tR1kE49V6uIFZXjjQn6RNsnVEGwMjtONy7gf4Zp105qNZWkxvCIkB/+P162Dkw==","shasum":"92c07a3e0e6c0cf22e4216fe5e63dc4c28b87eb7","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.0.tgz","fileCount":11,"unpackedSize":41343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBbDCCRA9TVsSAnZWagAAztAP/28bIRkRGCOiJQCVfBzX\n3yE5t/G0T4GM12u+gdnesm1XZ1KTMuluMAtlBZM2bfLnc4O7Nvp252rkOpHo\nNWQx49n//I9UAHTl1VYkHAZs+AXZiH5WKyXEahzom3aLYjkzeGm6bNU0B5PL\nRZDlwl74YC68RLMcQNoBUZqDsTksPBbNPAsXV10xZG+nFOu1Yi+lBtCe8gPS\nVgQ+cVsag+U2Ga76mkB0V4zXcIAMw1Cq59tvCD5swbMoFLuUppka2ojHenMN\n4wxDL/vvvNP1/8uRbxkIrTRWBF64f9Nm7T2dN2NNhCC1wA/KFTnVYU3cdWHn\nc+EwWLzTLo5uqsY1afFAQnx8jl9oNfy9oO3MfoaBhUs7J10kJ3bA3W2xcV/0\nwgEF7jiwEMqgxBM9KEm8SxN4DtyKGA1mXyOl0MngweTYN5CuY5WUvzWimkch\n7mxogXved/gHuDMNLdKYukQRboHJNQ2SthrXHfuF/4oEg9ofFSMhD1bb6lH3\ndhuHhipv/1cQst1VVWlDOsC8QLwcTbzeiU9jvBucUIFr62QlrlLOGQz0KGm2\n83aVBSgQXj3YmaaoNaHoNbJJcalzWXse+o74+rzVEta/jKosqAXuOd5qHoyn\nnrBKtNxDaCXXJBuxos6mKYkdqzwd6IwrknIGIxWw06BaNfIT5f0sZf9Im+TR\nO/gq\r\n=lTO8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCFe7wGfXyglZjiBBDQ5uo8sXpwZym3XDOgXS8RCAqQwIhALwwtIEqAR52teyNkpkoq5bH1buxMm6V8NvXVAzP3ZrX"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.0_1594208450275_0.08574098521801554"},"_hasShrinkwrap":false},"2.1.1-alpha-fix-icons-react-import-5808.1.2":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-fix-icons-react-import-5808.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-icon":"^0.7.1-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"0cdbbcaf66b03f65920eec7a6627deecb674d66b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-fix-icons-react-import-5808.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-drVJjsrVunzzI4blVKufrpnjm2uE3DNDeRROvxqKw4FsmUMjHjYnIJ/sQkHAEE32PPzboTC030J8Kt2Wc3ywZw==","shasum":"5964129364f331d9dfc6535d42d69f4a124593d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-fix-icons-react-import-5808.1.2.tgz","fileCount":11,"unpackedSize":41484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBy+2CRA9TVsSAnZWagAAOt8QAJkc/lDs5oHeUcIwJvs4\nKKwmRQhVoK49KxfYNpifFw3DUuAAZLJHkYrn/QcTsy5rvz8FtCevYP0ud3cC\nlaySX8R9TuQMyVQgCLFqFCglK0a3ZHhaMp0NMEx2t8RoyMxyuAdfMDgGSFq3\nZo4YGEqydWvaqTFhnMiXabfIbQqBgkPp7XyU7Qk3kLY9EuINtkI4wd++1Vwm\nBgLIVqxPF7HD3BpPb8+mHmSolDAt0EbFcXPT72PHSZl5IAs4dQTtn9VkIo6K\nhSrzxJefpi+BssnsFvZfFGhQTLB16zA5Nti4SJTRfazwlRI5uGYP8SVbeH/w\ntYro3aGU776xf9gFO04mAmpknTA8J7PxIzakzFXQK+x7UTEM4aZF7fKbZ64C\nfuCZnCxXeZVl5A1VJBeNGWm0UfQ9KlevdjbpRaxr/XiLu6Bt03oqhZQmpw0k\np4FseBeXSGT8RRQQOzidOIpJT6NGRmuC5KtowDEc3dkmjZUQ51XRG+oloy5I\nZyzNc9aBhyyz4tMuKETkjSrgtJLiFtGk/0j42orDqavlo6DptlEFXgkNO3HS\njActYbCHNXn1IiKA46UN8jfzpV5x+os2QoPpQdCqlHPkliY4xOSP5WgV/3YU\na2/pqKE88uGRsaq8TGm0DRPfXaAn7KETGriDyVBD0vL7+3w3x3MYU+tZC7aI\nqhd2\r\n=65eG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOrHM8wPsEFbKb6mE3uJLfXfC5s7dHe0wvu2q/+caUnAiBTyuJ1x8inMl3VTaEXjNTMbup+9DjL6SU3I5rn2cOGiw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-fix-icons-react-import-5808.1.2_1594306486027_0.6059404105708608"},"_hasShrinkwrap":false},"2.1.1-alpha-fix-icons-react-import-5810.1.3":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-fix-icons-react-import-5810.1.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-icon":"^0.7.1-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"9340310dfa8fe15c8c0b0893fc6dc14cb96f6c67","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-fix-icons-react-import-5810.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-SBir2yiIuN4CRurcBRSs/Svbgc9fpusGrtgjAtvAHRg/x0OeheImwcqf2lHyADy4Fpm2+Oa4WxzNcRCIkoECWA==","shasum":"e36335e554cb6b5e9e34337cf9627c7e478ec0c6","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-fix-icons-react-import-5810.1.3.tgz","fileCount":11,"unpackedSize":41484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB0FxCRA9TVsSAnZWagAAfm4P/1NIh40JODA7xzPC8evd\nJloerarsI6/bFe1PyMCPa2V+z5+yJL6LQT5fAAT3mhpSq5XFDI4xInqBxISj\nxBkYdxZuQfU5kgWdCgJ8+menQR8SYv3OEaVydPfWq+Cf3bBQCgmqo4LdrfCy\nseXVz1HFzNUNQCDPisyyoGN60y5YcTvBC6dS4OHHu757XGzWx7Mwi80OQT1T\nS1g6N8s+RFHZcL55a33i/XUKXlvzWIAPKUSRXOeYP5KlB2zn0J7yo4BcHW7d\nUWDeymEqB0zmuSSyUqqXaDJckB4+cur7Ki0Q+4FAL8ZsLVGV0fZjWROsSaDF\nIOJ098UtMDTAkf8rEKkcAwrLoxKwCnvxDCVWhNE9FLu118adbf6ZiQZNcECM\nZ9xaSz3PmPOD99AGDP/kPECrQkgu0x7mu0k60eEIP7sB7NpFGHihGptg615h\nikmAMhSPeoejifey0dzTgO1VCt6tnDYh/eujNc6eSbkljzebfcV0F1eua8E3\nu3fx+ESIgHLHSqV1R3H33c/+qZOU7YbQfHlRPRVl35fVYiNFzpT8MILiGAHf\ntGPRy+v/5NYrHlJJ6qH7mxUBl706STo9UMR7JEYmOPoUonc4bYMX0i0BrlOc\nVMry0jP0bdAqFeD0liiYePkVUMKtJmwuxJYEvcL9KbFcGTSRK1SGnQw9au9W\nt3ub\r\n=sR1/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYcVa/WplERj+Wt4pFJZf9vCuGd9TBrlvrZEgdYBhYeAiEAkPUC1+oXOh5E5LGKzJD48ZpmDK3kPJS5u+M1SIg5dRE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-fix-icons-react-import-5810.1.3_1594311024811_0.30695055199458143"},"_hasShrinkwrap":false},"2.1.1-alpha-fix-icons-react-import-5812.1.4":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-fix-icons-react-import-5812.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-icon":"^0.7.1-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"a6b9188cc7e45d2be17bc698d73ae301cbb79ec3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-fix-icons-react-import-5812.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ob2laPmciLcfKmL6Y/E0huj3ZTNd0dxPtn2sIXo41aYR9rry6Cj0HcjRqk4PNO8jbZ2bxlYepJ5O3TpokGiitw==","shasum":"ecd9f48766ae77c2784fa65f23b75201ebc7f93e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-fix-icons-react-import-5812.1.4.tgz","fileCount":11,"unpackedSize":41484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB0QYCRA9TVsSAnZWagAA+9UP/3QJyHmj4VGUnYcbYbR3\ncak2LL5B5xi/IxcryPOtf7Uqf9P9s2BJL+neDdia1HsWQHkM08WpBhW77Zib\n1QDkbPA2NoXfYi8tDAvXIWgJtOhBmJdzfpadnMbfOONArRYEloAP0bwFqSmZ\nUrBpK/B8+JQbZeRvN9oXd++S3CubNcS7ZQRLlvMX+Nk/AinRsenYfLW6ejzG\nhuXM37bayUkY+stx9WchSKBSg194BDam8dvBFswmXMEiOiihCJCqTfo1KTAZ\nM4rQMF2CptuUxhJsv48t3AmarWuKXzW/mkSSGK6/ezSD2OvRiH82kx6oRBWb\nxNAOBTcvjgsaDS1ddlToJ1e6XsBvUTQ3CV3/UX64RXuLUwqOc6HHYtw7FaW6\nxhqO8i1aM3Lvt4iOzQnf5i8sQgcVWxejfNaMoOjdMg9XV5YC7SXDGvWnIzUv\nqV+9kVbowm1XzrenMYxfPzS8tGglzGHGzb1CxSHdom6JrdZtCihRhB3B/Z3m\nhuNBYjpatq4VeGF5qPn9QsGsf3+b4j5d6pvB1vHXu0dWExTCdcwYdmLhq5r1\nEJQCzaHlHfjrVp96XIXfi47tiZbKouYpsEx4OiJz56nBEaW1iGweeHL8U0Mr\nSBIgQhMsY8Vby1AVPlvdptijFv07ph/wM1KTJrH9sGj8FUoE7MyZg++0TW0X\nSHBE\r\n=gKTh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHjQS0+U+ahHlCnXxTimKeBUKTRzsiB9v6tEMyGKQC3gIhAKwz7VDO2qw2tU8JhoZt3miKO2sKaPaGgVzpOqxl+Ey9"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-fix-icons-react-import-5812.1.4_1594311703777_0.5798811001524671"},"_hasShrinkwrap":false},"2.1.1-alpha-fix-icons-react-import-5814.1.2":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-fix-icons-react-import-5814.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-icon":"^0.7.1-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"0cdbbcaf66b03f65920eec7a6627deecb674d66b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-fix-icons-react-import-5814.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MqiCoOCbOgUN4SMVff/afTQo1c2kZKg+NSxpTYdTX/WqmDuLW1cReTdwJ1/U52vWx4iIFx43G/bfvHJ8Z70I5g==","shasum":"9615d48ca815fe687413b5f074940ccbd1488efe","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-fix-icons-react-import-5814.1.2.tgz","fileCount":11,"unpackedSize":41484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1A+CRA9TVsSAnZWagAAXxoP/jJTCR91cDnuI49W8KUq\n2qjwbqJ/yk+3w58Rt3W9FbdN7vWts3fNhjcdT6qn0VOhV9XrqIgrnnKsQO2D\n1AxT+AfA4EBvM8DjG7EPBE7nEZa0LPLEXmZD2bBb6Qh9cFLAqkjRbaTQvt1a\ncutFMBcsN40BXPzvhMTlT4ozzzgFMGJvEo/MCb3S4TL0G9pQNtuj/WOpCbMn\nTaPqLPCl7UVMvrBFJNuUoUaMEgyB6b9RvtfBDLJinLXY2Dzx+0z64C10qbez\ntpx3LtL+YGmhKX7KYSpsjU/YWSmYwbdMl34D0eq+uc1AHG1KezxJYrm12JDH\n8YieJXsf2mQy8N1R+iXXZf6506sjqUS7em3RTHBjxMEGqUNOVWgEsDOs05HX\nQGwOAYCEXP1zBaQM/AdjBad0y1roOke6csVk3Rzb3PHP11gDvlN69WOI3UK3\nuoH920fJkzm53YV5wStsV3aH9S0gHc0iKHJHh8bk+k+fFmGYc7+qGz1tQBFD\n3moF5dflDFpkv2pabOo7H+qbDFGmwSow3VlzVWgSLML2SKW44hN2Jm7Rcxfy\n2jBCezjCFfQ0GC8U+OVtecYNiFJpVkym9wVPVe9gjpQEtn2WDfHfso5V++0c\nzSEJWk6znkhFfXZfokEOX/hdPT7TWEVAAOayOwXXdzdt/KZ/zVgv11QzlmVl\n6+9t\r\n=KXXE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi3naS8B8alTkgt0PJUbJbxIfgt1pJ1n4POXEewobmsAiEA+PVeATm1o+HR581e9bqbjoFudUMQvbUHJ6MmWv460h8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-fix-icons-react-import-5814.1.2_1594314813708_0.6711622446618768"},"_hasShrinkwrap":false},"2.1.1-alpha-fix-icons-react-import-5816.1.3":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-fix-icons-react-import-5816.1.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-icon":"^0.7.1-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"3cb6b84fca37c25b5f2bd5b61cb59b4f08aedb9c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-fix-icons-react-import-5816.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MotTNwqKvRh8SW1NSW/YnIhlhW/j7Kmp1DCgs80jnfN6iHhnKa0hiwZb1NwJkGVoZ2wWu161bwHgICcfK5o63w==","shasum":"54c736c9c2bc36c1acc72e871645cff1e7d40b6e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-fix-icons-react-import-5816.1.3.tgz","fileCount":11,"unpackedSize":41484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1KoCRA9TVsSAnZWagAAMIQQAJ0cRhMea/TaKhdzfxOt\nQaMGI6X6+NkuybXScSeQdcSBiV8R7OBVnSqZgLKcpoMbFbO5fdt/475ugYdK\nmxJFq5Y5eBHQlMi8bMd7C/PadPS8mlfpTVo2mB6F9jctLMcokRo4LeCfMeqj\nZAxcXn51iTthCuFHNJn7Da3CzRBgLjot23PgYRR2mqOfcYIx/YKXMGrc24te\n514uiiJivDY8ThFgNzNgYPZABFiS78hOl7tSwqlEkkaDuBTSYkw2YoGexPdj\nhxD/GbbuJZ+/srkUiqX/8tU5jR2suDyAODIML9Ismi3wgNEvfGUBaTJskIXm\nrQGEXj/paz4MFe9tnkc2P0fW4FDGhQRY+opgcU2NptQjLRWb/TGh1rZ1M4Io\nFbl7TaQMJXzE2ITykIca+XIOvkgpbTYFnBOcqxHc7Zkl279urmH2tuvfEMoC\nYXZONtzq5BE7+5Vs6w00QOEaCdkvEdEqT/UjjRn5bcC3yO9IS+HIWFfWljRK\nkwdh0nZf+gU96PSw1IK07cSr9JwF+DsFhPE50X12Ej1vTjzX3MrvUN7JuTmd\n4KILAuKqBv2kuy+DvDguUS8J6e1dd22aK1rnUhwK6awSB2qMTCO49CQ8Yywc\nkGfc6QEnsjKL2DBtrN8cgyG9uB993mJ7QTC8/OTqh5q/hjWp1/eMGKFu/3Sh\nNoaB\r\n=b5Ib\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdIBeo0POQx9nUo3R4+4xXdmApdsjBQXFTAWLpouUjYAiEAvSjhqIjsxZnSLDIjb/vOe40EgL6d/sd96i8y9v9dYrk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-fix-icons-react-import-5816.1.3_1594315431365_0.601442634723909"},"_hasShrinkwrap":false},"2.1.1-alpha-fix-github-dribbble-icons-5818.1.1":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-fix-github-dribbble-icons-5818.1.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-icon":"^0.7.1-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"0c4242525cb5ad68afbeb2f532cc7a394654227a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-fix-github-dribbble-icons-5818.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-50gZH1FZdl+7eOgu88C0BzZ+WDlC8zOUOTRdsfdX+uBnvDuoVgd1OCDJ5u1qSffHfdHfcqJuNKstQHCsGtvYbg==","shasum":"7699bb494ab355c23c07bd42e82e64b164a00292","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-fix-github-dribbble-icons-5818.1.1.tgz","fileCount":11,"unpackedSize":41493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1f5CRA9TVsSAnZWagAAicAP/A9ULAFrgMHPlYXrUyqU\nzmFaiKTCfooPZpPhFCvjVINGBEP7XTCrhdNCzm1OjNlisoTRph1sSI6gQwr6\nRR/StULeCnemJmpecKKLmDd1xREGKln/kgbeVL+akuqHvy+RyBN5+rga9Os1\nJrPWENU8Qj/+3iRQO5TTd2ReP+e0siV9yjyxKflHO2dIq8QKaiBb1SZHwCdr\nBWDHsTNytZJlRN2MV1816f9wXCcilSjk3SYSWCqtvv2TXKU8hb1FDVQ8Jey5\ngUVRicLXvYOXd6QleZQIRfDOiOYqXGV4dNkGzsOi/7wE66waRkGk5lvJZum1\nASRtl6ygRh18+5o00z/k241R68Wn9G6l71Eb9wYE5ePSbQY39qRc6Rc6CcVJ\nDP1qEx/15WIN0muxT60i6ATMMZ6vNnYBEi76LAgbk/rMgxMQaR379fkXG6Wu\nmtZNYO+z4tEwcAi3fgYbGmskUXq1yGZ2sPN55aHjphEQqDJ4tq/gzuz6puqE\nEge/IbLu6wCi8MNcJ3uBBtnMePgVtphPPvWEY1Xq+Ik6fvxBQ52W73/jA6aq\nhEji1HjeX8G22P4ojuGEpRoNN4ljQAtUoBby8EeesIJjqznTQCPe0hRhwc1q\nRJYtUFqjuPEB5CekFKt5TZYVn46UHNko4BJPlIiRBMtQsbeeDXTAR2e5UFkJ\nXwYh\r\n=T2BU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDp8LE5ZODvhMbH4UG1UsHC6E1Xo2OFDGQyMeYunPrw4AiEAksDyUIdMjYTV3tmkCZxgJ2EJt2ll3gYYNMgNuYd8Q8Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-fix-github-dribbble-icons-5818.1.1_1594316792653_0.01589865655652556"},"_hasShrinkwrap":false},"2.1.1-alpha-another-icon-test-5829.1.4":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-another-icon-test-5829.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-icon":"^0.7.1-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-theme":"^1.9.1-alpha-another-icon-test-5829.1.34+c443d910","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"c443d910049b4bb0eb5542aa7606fc53d3cf3775","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-another-icon-test-5829.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-uHiBwZiRUMa7LSYgFzHJ9Sj/3z5Lo5Gluk77MlzZbsSRSJFNiznE6RzpiBooYOlUk0OUj1tlHYJAhkFRctfEWg==","shasum":"1b28a97d182678046c139aaa4cd792136623d50a","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-another-icon-test-5829.1.4.tgz","fileCount":11,"unpackedSize":41512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHg6CRA9TVsSAnZWagAAlsQP/iUF5BEVQZrDDgmNM/tt\nN8CweI1YMkaK4zDBVa9g2HmhF2RSekQeY5nuiAQOva2nNyrQmHIHrSHEQBvT\n0ijoe5qaUbG/iFaQ/xsVqCtwwqo2geP8f+GC7MW/JJxcSvxfVdMpl1NbTEFH\nhMEDUuT87gpvDij1fzHGN1r4j7/fqfBV8z+jqJN7I81wh/vYNqNw2S9GCO6E\nhctzEXmiQJzupmttGwSPHXHxx0aSW1rt2l2Mfn5QZHbm3AIf0NTxXnIXMovo\n7Uk7/hn7OaDF6pK605sN57o7ypJLArEF8HJlB3mOE/xlGbQjx1NJUWHVsAcI\nO8f76KbGcdha5TWr6fAUcxk1DTlI4VNAuxqZwrTymQQwpXKc3vwP9OLRWec5\nhXvkPcCESuO0BNQmONwfFAzpylt2xm9lioGW1eqepwonZr3uvCUi3NCRwKJe\nOA6Xc8dApkaLmwaGzgfAHlbj7g9VhHMA5S73B/+y067vtbWV/vbLUUWh/iKF\n+5QWVfXbnqAuakA01COWO/yGUbMn3pgvbTCRsiZ8poEK/T4Vhlri5wltz6lx\nL/Ja6ulCWulVipPYLwcg0MQPLsFj9iBE15y4nD1lwR7rAVDlNeRYxXvGQc8y\npPnI4piisugQ72O/ECNi36WK56/ZMtYlXGw89nNbRKcIHlI2wCKyyL3ACLj7\nOmKh\r\n=vRYl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeKogY6sHQjDGRsnJGRYRgQtImxzGRdKWP/8cKbiSjcwIhAP+tyCRBhTFlUAYuFahe0P6QMZ2Po7dfPj24xZkPxW/p"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-another-icon-test-5829.1.4_1594652729853_0.6145457532345779"},"_hasShrinkwrap":false},"2.1.1-alpha-another-icon-test-5832.1.6":{"name":"@crave/farmblocks-dropdown","version":"2.1.1-alpha-another-icon-test-5832.1.6","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^8.1.6-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-icon":"^0.7.1-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-theme":"^1.9.1-alpha-another-icon-test-5832.1.36+fa9d7b16","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"fa9d7b16a427797355a316c1e6401af20c646623","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@2.1.1-alpha-another-icon-test-5832.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-mH5jt1aUJ+iCdf0ZkhRiIYC9ATnHZIKfPxHPu7vb+1p0ABDtOr+QZMpGhONE2JmbobWIdhv7yG3gCxv9JCv7Lw==","shasum":"fc3cbe611083c68190bbd6ec11a856dec00ac8cd","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-2.1.1-alpha-another-icon-test-5832.1.6.tgz","fileCount":11,"unpackedSize":41512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDH57CRA9TVsSAnZWagAA8B4P/0WTNkYcoXGunH6aSWyr\nfOUdCMhDwA+PHF/xmIBRwjQyUUfDJ8WfgIjUreQ+S9Pp52a/oh1Sr9Yq3wAo\nxkmf+JVu2rPMJIJg0uJDn5MI625qjSpficpEi0ilo8+FfgSYIyHh/qe2TSmR\nN2yrgL4rOF2DBAWYn33cE69XaKa5u4YWaW4BzMJ9SlIrQaz5KzLLtOUw0e2n\nnN8sJItRsV6ewJNKsm0deJAb+wuhMW9ItYg7qzoU8tZwmWoyLfhMauaRa8lY\n5oE7iDA+a8HrZcgivcqkR9Gkk5ZfAhGyEUGlHfDY4sR2n9TAYHPG7Vzmym+N\nooys6VnnFn5+xYDFMGBw4Q13DZtvmKKcHmdOt6W52O9Ci+5ZOy+fnmELyMd6\nmD03XleJoE11o921u5cqE7tiVVuCDv0h084NXEZ9DWsjUe/8KSlX/JjiJKzD\nk96zhlCAlJgsb2GH2b5vJII/PRKiS/e6hHgfJyFEDz5RVcKBQLWgCgE/CRe6\nA2/s6Q+nmuQNFNZdGxZp+inSYg+QSMwo9/i2qCW+mM8FqpTCZ+ca+0qFKFS/\nQOucnqRfr4ZI/L1dqbOcE3qp65XnMLd4j8q5J52zfvmKUil0z3FkoviRmGD9\nLlDvuuNlQABdE6uIFjFo25QTBDOLCDRKMI6vvv7lK/WFQHSV3aQh1xAFydxS\nUYHA\r\n=N9ro\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBnyGpJdaiZHRQ+AS5ZkDTzgGwuEjwyrjNpsyD3380OAIhAMvoulMNs2Vt8vf+Z9BpLsazUQv6quYxR6sxg/iv/E52"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_2.1.1-alpha-another-icon-test-5832.1.6_1594654330799_0.5109307936263776"},"_hasShrinkwrap":false},"3.0.0":{"name":"@crave/farmblocks-dropdown","version":"3.0.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^9.0.0","@crave/farmblocks-theme":"^1.9.0","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"4317cdd64c0f94ebc553064903b3aa6da724253b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.0.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-qnp93gmS8Dxy+lnlRQ/xB41L+1PI2Z4ESY4yzIsq7YfyEuGpqVWO/uTxuhBxwt03tO1KNrHJuxcOkgBdmTlHrQ==","shasum":"1a9878e943d73200f37fd0794628546f83b22e45","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.0.0.tgz","fileCount":11,"unpackedSize":41808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDdwXCRA9TVsSAnZWagAAAfUP/04GNJdn4TP0fz4QHlK+\nAJ30XLZBjm4EnUmh2GtXdliTR/kZWWrg+EuGFyVkDtTchK3Scf47cXstlnQg\npa4M0SSIyQ9DfkrlYqG+Fo0AveB8RK0FJ8SqLmbxiCWmN2wsa2iQfaE2sCo0\nqo59oPIflzhpGJURDg4OKEbKO890LiIII8rxe+RAE//BSS9hYDNaOC1fMt1t\nwvysAPy5WPVXsFa646Il/OwoyJs4fqMACwRsA5gMlzZQ4IUmGMp989/N7CGU\nu7eWujxjbsChY8DYzHsNyeJL16RIu9mxj86nx7y7lcsSOulm7bEmLN5gEsS/\nm4f03v39j96QT+Tni8FDicSpdSE8r3WZk8QHuX4ExQGqy4v8v4sZXp/16M1a\nhFe/nen379y9T1e6RMzWUaEnIaTvRdxGFModj74Y2vNNUj6s/SL59l8r4p4e\n6M/GGmyohaKqwMce31Uj0MfZAyYTv0jyPhNOOI9lvbs6VZoONrp815YGBCqX\nGEc67EFLdF1ggOAj7AWQ+iPqnW8BMFAmAIzN9pxDKoY2xcd86ZaXw+aD8vn1\n0lWhon7ExjFYKqDHN1ptvwgSnTgO4pCNSx5GfInGu+p2jRC6+ev07b7l+4EV\nfneXTGPYAzkM5r4mOOpKGytRd0nF8BdVB9Yf4MmzRbNBYXCK6NHPZpIqD+I2\nawbp\r\n=Go5R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDyM5SaKDdTDxcsdbwqEUBKFbO9dFhvydDHfWr5nISlOAiBCqpElIFL1cwnE318XGeNxOW5aWLhVcEWU4yH8i/qiAw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.0.0_1594743831468_0.5529317626433097"},"_hasShrinkwrap":false},"3.0.1-alpha-protected-currency-5867.1.9":{"name":"@crave/farmblocks-dropdown","version":"3.0.1-alpha-protected-currency-5867.1.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^9.0.1-alpha-protected-currency-5867.1.9+58734103","@crave/farmblocks-theme":"^1.9.1-alpha-protected-currency-5867.1.42+58734103","object.values":"^1.1.1","react-aria-menubutton":"^6.3.0"},"gitHead":"58734103b0e6767231a40c638b9caea4ad9e085f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.0.1-alpha-protected-currency-5867.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-qDd12AXltFY9C4mGbgYYNKZ3nLIz69yhBdaPvsh9tkZHSlpqoGydq8A0O9NA7C4NIoHtUDibOMRRrRyhxRsklg==","shasum":"5e651ba9f954e25a87b06e6f5ebf834d29ff1d1e","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.0.1-alpha-protected-currency-5867.1.9.tgz","fileCount":11,"unpackedSize":41938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKa9fCRA9TVsSAnZWagAAvrkQAI+aN71jF5pqTSL69NpO\nQ+yvzHZ/GLbSZgZ8T05JgvTRQcuqsTO5Qw27Xj75F1/fKjh1ATq96LidWqKm\nFGgOrpLLXI6JV5be8lOD+VavGqVhBJSQedMAIsQZP/0MxI3YCYfUalTkdsUX\nwEZjKopK5mzjNWKvU+ZLXfz36OOaeAdu0h7jEQFkk+eVFKhMFW6MT7V4ufGh\nf3E0F92VT+7ufwSsRLa3RYHFD3KyyzF/o3R5XsAOkzr2EK5VJYzXn40TWCI1\nWSVACcMhnQUykpMPwsvgyuOwHNisXfFVNtq0wWTpoR+7auvQW9PITOlU7BFQ\na1UR3EBL8mNibBlnxKKfEahr2gaqFwWXGN8qdI+YCs1hU6XGGxHZa1kq9khN\n9iUDoM7SurdM94iHsGdlgJqkT/38P3bEBv0IAWfa2ImEULh841iU1vKV2Y57\n3nZZigfv7qD38hk9GnmjM3bSvhYY09UT+mAmlRiTX/CUjhZejF1P6P+v9T2D\nbY2p5Xinj5FeqgEbcoAbIusw3IBMFCiukvVT1DWDxjgRDk/CKzo6XcTi1aVp\n8WeKfxn2QQ1MZY4trR3GeFrLszHlYfac3x8p7ru/eQifCGe6EUIfxM70yWBy\ntAaoptBGW+iIwyXkiO/tBzzrKzIJTysi7PLYH/xx93rVst88aDL09acZk7cy\nGKoZ\r\n=guFh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6w0oY6X1vTugWvcgNdG6VfFsTKtXGgWiCkztd1cvINwIhAKZM+TNhI7ZDtbohTzcQsNARtj4W8PL+b9c9P33l/Ywo"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.0.1-alpha-protected-currency-5867.1.9_1596567390884_0.4023998676255285"},"_hasShrinkwrap":false},"3.0.1-alpha-button-redesign-5884.1.23":{"name":"@crave/farmblocks-dropdown","version":"3.0.1-alpha-button-redesign-5884.1.23","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^9.0.1-alpha-button-redesign-5884.1.23+165a9e98","@crave/farmblocks-theme":"^1.9.0","react-aria-menubutton":"^6.3.0"},"gitHead":"165a9e989844e690e495c88a644b0e5cd0b78e4f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.0.1-alpha-button-redesign-5884.1.23","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-YTF45Iwj32hWAhQl8n910XfZmHcKOHfM8BO0XZxLXMI5pmI4zRiWVzz48oGTjt0U9TAX6uplsKjYf47xNrGiTw==","shasum":"a7d3111d21d75a976631c651ca7137410b59501d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.0.1-alpha-button-redesign-5884.1.23.tgz","fileCount":11,"unpackedSize":41428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT/fWCRA9TVsSAnZWagAAz6gP/0fmZ63ZyyEi5eUjxhuO\nIQC8uY36GV2VCP6Sh00G6RInVqCgnZL5iyDYJtpUdvjQweemZ++QnhZW4Da7\nxLC8P/XUlL+PRioIRhCaHXYMGGQrsUBlnQR/k61Q1RyzEM6dc1b3pcVIt8vk\nHEdcS3fz1i01EiZft9dEd/hiSTyJt61mgyTSAGEa6W7x+zHT3tCJezrSVuUI\nICSXsS6F/ZoOSaRVukOZob9QJ6e6NhXPHV6lT04me0j2jWBW5RQRojwZdVE8\nunrmd2bKezkCp8WPrduSvLtvKZUjKgG+XQnd76Vbf1kkkK+4rjc1GgoOcVZ6\nq9MraJMdl5Yj4Vkq6SnKWs81UtXwfbU+dfb6DFtkVckVVCYIpzt1VmF6FwSs\n6aOnG1JguTNY17yfFw+xTmsx5Vltyul1KaY49CwoxMx5NETpu9QXImJcllFN\nGh52BMhzuXLqBm0lJcoyAI2WInOT/lwfi0rbhXIzvjrddqGHn1Mg2Pr8fAWt\nOp2nQ/X0b+w3FwHiGdzPPgTtJoyF1D1KZrvNFXTqLNaDnOT4+T7SYvjvLdOh\n63cD14jbvhuiK+LXMRYxeL4hC6yhkwdnv6hc2pqQoc+8eVjOf+idaOwH/pew\nApX664aH1SOQ5Tt58DGSxeTMPKDVcJbR2t0KTblRmy1E9BWq4Sl5HuutwOmO\n/BnD\r\n=f/8o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgW/p3uUy9QjHoxZ9Q36HqdAsGYxYXOXxKHLCMvMZm7gIgfoMpnxAfelIH4L19EwcrJ7TPmAewnMa7HVKKVF2h0E0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.0.1-alpha-button-redesign-5884.1.23_1599076309556_0.377407515658716"},"_hasShrinkwrap":false},"3.0.1-alpha-button-redesign-5888.1.26":{"name":"@crave/farmblocks-dropdown","version":"3.0.1-alpha-button-redesign-5888.1.26","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^9.0.1-alpha-button-redesign-5888.1.26+1e83bb2e","@crave/farmblocks-theme":"^1.9.0","react-aria-menubutton":"^6.3.0"},"gitHead":"1e83bb2e333e3dc07b75e571bcd43e86fccfdbdb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.0.1-alpha-button-redesign-5888.1.26","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-WBI44hkgq31Qx+CI8CsE+eknHUtaWUAJEnfQzKz5Avg3tyVkoghitJhByOjR21ibwJWXmGp0F2nbKA6X2XKTAQ==","shasum":"b8a9ee22cd121ad4c9584f0c22c60bbffa39f922","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.0.1-alpha-button-redesign-5888.1.26.tgz","fileCount":11,"unpackedSize":41428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUUZhCRA9TVsSAnZWagAA5OYP/2HqnJ3E3rvng/DRc2uH\n2jZQEfYak70QNxr+zn1CzchA1on4Pz2sxatsEophQe3fGPZYDmafWmAcXiCm\nvlzbp0GjxJRQjwWe1Ae+3lCQ2kgHwBOLAbguEgK1c4Cti0yK6aCiGIsf2k+A\n5YFmeY0b4JWrL0QiH5EqtGKcoLwQj4oqfoUdWc1BWQiznHo17bobx8v4m2e1\nXlnD1UGi7MgKWRfMcD+mMpBz7KkI5RiNT6+kr2EjLtTALnDocb7qYwdGZs+9\nxybfTQPAHbZ/TAhod7HMrzjWPpiQ5De/2dM/TwQZ9lDExGbx1WZEg39K1ay7\np8ftuD5Toh88msG6fxF3/pd4RGjupDANOuYPn4rT8VQpy4tb709o3vWyIvhs\n7D4oNGBLAnGKRumK7oA4a6hJohs7HXWvB/aSX0ebuPTVdRjAUMhIy9IGKrwO\n5e8BsuscI24q0//oFMF5FF/kmF4m7ikYga5U0Y7gm/p5q+qG8Bn9dyfmakqT\nNjHjYFQG9ip470SBEWWW/RiOSgNbFwmQCUmtw1ufn5WyA8SyzPPQQ4JPwOpH\np0MJnuBE2uKvFwCh7AC/XLSF0OQlor1wW1DgQoVtKiCLgslGEk+4U7ltxFMU\nCv2xoWCro9Cmn6ec6d6XOnLK0ZtY0fEIbQmmbpR+6UtK7wUL2i7jDYPWAeM3\nd2mg\r\n=gr2a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzbkKtJwinkUYMqD2eV5EGimq4z4n3m015xjol0i+jewIhAJCa6Yp1tL3wtSWNkSVeUnUGu0BsiCEd3fx68RZWRCsI"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.0.1-alpha-button-redesign-5888.1.26_1599161953093_0.7078571005402998"},"_hasShrinkwrap":false},"3.0.1-alpha-button-redesign-5890.1.26":{"name":"@crave/farmblocks-dropdown","version":"3.0.1-alpha-button-redesign-5890.1.26","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^9.0.1-alpha-button-redesign-5890.1.26+c3050bb7","@crave/farmblocks-theme":"^1.9.0","react-aria-menubutton":"^6.3.0"},"gitHead":"c3050bb7b0b0e8458b76b2a8723d53bb9030c471","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.0.1-alpha-button-redesign-5890.1.26","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-cCsr2YQ/GOHhkCjaujMypUJqEwbymAK+10Xd1t49ErmPiLZNC6JpkEK1sb7PNpKJqWeyQOfnqm3MwSh6UDQ3Mg==","shasum":"8c39c941760dcccce171e778d034700a7d4d4f88","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.0.1-alpha-button-redesign-5890.1.26.tgz","fileCount":11,"unpackedSize":41428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUUiKCRA9TVsSAnZWagAA16oP/0w7qh7xMw8sp+HfFRnq\nsX2/8+t1y4JvYipNpRkR2TQ/u7AdacWXRyFkIHsRpnJbhQOg+t/hvZZUofsQ\nHk+JvJTJMSxf15CxLxclCJKl+htbFIICYNPPQtQ1678vlx3QUHrhCl3xBpJj\nCCBTsIIXlG2f1d5cTkPH2Q3PVrJgQNflI0/j0evc0yYbmIouVVVuXJSWDyUR\nxc85kX1kvLSeV7fF1iCFqwvRkZxt4lJYBCKP4m/pFQp754RURa/+WCr6Itmp\nD9N6ljjn2F22n3hVwfsVfbF5QYmy73CpTzsLnPSSrFh22XyweAzb6Vsepro7\nNF1mYimFqaCUK0SWNS7+oHssgXAqHmh88Tu6vPIbGsROq7lXWm9seZ5g+v2r\n0iX1mcoE79X/JkXmf9N4Oip+1fs7VVLPpUmOgnb0RZtQ/8N22lYh45xNWhFg\n+nSVlxNmKIVL2p3X+YY5l3zgTL8kKUj6W1rErazGi4QxOUDHkkfwoTgKCkuH\nT37TQTJges3ts9FgLqpLi7dU8ckYVzKm8gZDQ03eFfs95iuMOWGJVf8pGLUi\nYDu1nCY3yHhJgUMrfzzt/7gYwo8qNgqO6pklqurh8mdWUOJ1I7smDfQNiAJx\nssxfeUlNNKzI0WQcBNUvvXBzRASr1j4Jjq7tY7wk6OQWJTZHGPO34P4OYiWn\nJFq0\r\n=AIX9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjHWy+N7PyU422d0TLhfJDAV9HJ6FF95nsz3VQaozfZgIhAJgT6Xwf39gNyLsHjBd3SqpGeBF00gwHahCEGwSxa78J"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.0.1-alpha-button-redesign-5890.1.26_1599162505789_0.7127994405691231"},"_hasShrinkwrap":false},"3.0.1-alpha-button-redesign-5892.1.22":{"name":"@crave/farmblocks-dropdown","version":"3.0.1-alpha-button-redesign-5892.1.22","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^9.0.1-alpha-button-redesign-5892.1.22+b05b0309","@crave/farmblocks-theme":"^1.9.0","react-aria-menubutton":"^6.3.0"},"gitHead":"b05b0309cd5ad5f6b6161e44adfec0414a193ee1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.0.1-alpha-button-redesign-5892.1.22","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-I6HQWbFXdhzajy/lHZ+puo66XvO2ekqrPZnLKkdYBm6ZJMDINBuPmhZ8MiMgPGxD9T9lqi6jZVkI/iPW+BmhPA==","shasum":"d2da960069928e120c1ee3d49bf782540fa61c37","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.0.1-alpha-button-redesign-5892.1.22.tgz","fileCount":11,"unpackedSize":41428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUmzSCRA9TVsSAnZWagAAstwQAKFitJKZX+Qr19bNsYVl\noFd2qpvvi4QvaemikUjU5XCKonkLs+yiiE1AqoHmITcdFckH9rZGqO6Rp5El\nXtH34C9J1lOd3HiEhe3Hrb228h85On4qNiHv6cgAxj5KEVKd+0eF4fDX4qh2\n7PZk8+HoPmUNSM9A7vg9k/wM+vDKGctT2HVr3plIHzH+tZW4Td2tfHIVP7Ua\n0GxI0cCSHtcNARR8wu0BLz7gBmld39lF7wrikbjH4ahHjxQ/tHRy+yaxqIJa\nz/V7nVQUwd0rjn8H0fdtS+Ph5PMP3GStv8gKX24aok9fnrRHQfevFZH91Xn5\nfaYNyGnXf9MUlc5xLlQoOsvE9icKPu4Wsvyc2Zg9s+GVqRbTGtHfLgUYfHw6\nm58iUg6pBK3ooRh/V648W6/2VihOPTBoXnLV9TNnOOro8RGGqLkOj14W3FU0\nT0dlhbyKlEg4/vQ/7Wv/aMOD3/6IsUyOD/TpvaXtvyI0P9toXDcVqcjqVLR5\nu4KPB1qZnr9GXMxfwq3cncgqN2o3Bvvzg+Plbw8QfyNPnLrdN3/rTM8F0uIM\nUtOsqs33sQwrWi1aNzWtX0DeTlFwGK4o+wrG33EUPTiCSXHoSRF1O/2VtytY\nNB9TOcYfzrgfjPt/59QUeNNsVFiCabHje13ztgoamGKeKUBUgHT8E3aLUjIY\n9ouX\r\n=hwvz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFj7a8uUOK658Ptj/0WaL9NF50459MriJATMePIoWfdzAiAePos8R4dWwXpGwzHEImYPWkkV2JANdfDbn1eAaX34kA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.0.1-alpha-button-redesign-5892.1.22_1599237329667_0.6010331072261432"},"_hasShrinkwrap":false},"3.1.0":{"name":"@crave/farmblocks-dropdown","version":"3.1.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.0","@crave/farmblocks-theme":"^1.10.0","react-aria-menubutton":"^6.3.0"},"gitHead":"11d8e81fedf57a21ea8c27c7e975534552867662","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.1.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-f3ijSTHpNbwWzlADbKAd0s+ddu5/HW8UZ4EvTkwkJYdrO1dPjEZnGLj9xo2SQbvt+FpLMTMP3KOX2MNDc02iRQ==","shasum":"6da7993fbb90695be102752e62e01e09c9b0f019","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.0.tgz","fileCount":11,"unpackedSize":41640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUnEJCRA9TVsSAnZWagAAXy4P/1VG4skr8D10l3Cu1IW/\nwvUyyYPL+kMGrP95WCCVWWiRW//uCKRDL6hQt5OoBDvFBDjrEjb8akMXznxn\nGtPcgDebwklSHtV7DO6F9IeneNOzuaU8hEuOWzOE4p4fUtW+a8LCgTKMTcOA\np8PLaHDOZKwQ3Fb+t6OOMGbZ+NAAyiCYYyKh0NdbVNB7o5dCHoe7yNP3vSnZ\nW223pgrniCgcxz93k/oFacXtcAwzAk5CZ5xdQXGEcAemajdR0BYjvUpESwzd\nEH2tDw4iL6frhrKlDhfqkWkwKZZ0J9CAGh6dDtVYT2axfQpuQbDyHz4JghHe\nhMj841ktMrRzar/QHqqSCZVFQKcAxSxTa2HIoXCcCBY1SQ4ijJG+0akq9VPM\nim3sTVw/nYFeiGWNdeMLMq6Yv0RV1vO63ROi0i65H6dkOyjOjcO5GQGrIkcB\nSBQQ8nwr0v56toOXGPST+BrkSQjomGuKjqLWdXOxhG8G+WwlWnPqjLin1bzI\nopiFpLJsnF4L8UH03jpYKpCEwBKFY8y/SnGOAkZBGHPSLydhwrczvcm0s7mu\nswaZZcA/WMWnMUhIpusbbaQOrnDIv+gsslNzPyfVBUURHDTyND/OpwuMccqw\n7uHAglPA2KZ/lfs1kBfR5Br3s22cxW5pwB1A+/91A04OemSSjbHGt7F/e/MQ\nuOJU\r\n=HIgc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFuSoDQ4xKmWigXOGiDCG6UngjfE5U2FYX9QS+t64JAAiEAgi2/VpYake2SnU/TjizzQaZqQjNebFDRsJzpIzb0xYM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.0_1599238409343_0.24490601469548423"},"_hasShrinkwrap":false},"3.1.1-alpha-fix-button-white-space-5896.1.2":{"name":"@crave/farmblocks-dropdown","version":"3.1.1-alpha-fix-button-white-space-5896.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.1-alpha-fix-button-white-space-5896.1.2+eb265109","@crave/farmblocks-theme":"^1.10.0","react-aria-menubutton":"^6.3.0"},"gitHead":"eb265109b3f15d2ffa4cdee65d60990d2609bfe3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.1-alpha-fix-button-white-space-5896.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ZTh6F65WTVXQrlqhzv7JceeaAAmuRZLOIRpp2TFQHOJmQQKATyEofeWG/syy0wKJ0LraUixeirwdytJwa9hMZg==","shasum":"fb0946e54ccffe969378e8919bc14ff8257c96bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.1-alpha-fix-button-white-space-5896.1.2.tgz","fileCount":11,"unpackedSize":41734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWOaKCRA9TVsSAnZWagAAvhsP/Rwc5KYsqJM+dSonxBoN\nX7cZzJ9kKO9JYfDuNZLk9aonvSQz4RB1TEwnE2Cg1h0BSSWk8SG041/3mspb\nrcbSXRrXNwv1gqrdzKy1ueC1EbODAB4uxgwok7al5pUDQ/TqLQ7D17Qx3VYU\n9z9DkCQZfafHc3t5WgtQz0Wx8HPhGjWMoffoJxSPoTm99h4Yn2I8zbR6TSyT\nTw14Dk7gClCH9komofSADjh58iJ6cRO6iMnM2okQ3UlS5TQ1yx40UUupW3/L\ndR8j02ojxmzefo8s7Ok5O3V5vNxUJOfLuwdzXaR50rEfoeKhEvn5s2Mmnl26\n40D53FINpgYxFMX1/mwPM8uXmnkd5PKoB9jl3PpOHRC7J6MJAjTGXh2nYxQz\nFpGSyirBlBgyLPqdT4Yi8YtECs0O2UlDcdQ8AtSyJK90QbrOBIHhbOts00kZ\n+a7iCynSmAWYz21pOy4mtPrr5dtbAP8RBSTp1qNNhGENVL77J6hF7MjWM+vd\nN6gm73XaUeMIZf+mTsBRRD0pyjIv3mmJuZJ+B+vluHnMH/Zp2kbp8ioyI5zI\nnwr6KfxmrlifVUZ9HP9lL2kyhuK+7onypR0pBhFEjjhaO2oa8+89xYYFDt32\n+h9hNQyavauthx1NCrPawOYR53lFfz5jNcGhT3QgG8LcR4WABbp5hIIF0D8z\nwfpj\r\n=KWgD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyqsw9SJaHeZhTOUCwn9F1nOxLvCy77tATG8WJ+c/JoAIhAMMM7X3kNG0K475ubVTpUrh8qGj3lI+g4EO/cRp1/oAB"}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.1-alpha-fix-button-white-space-5896.1.2_1599661706104_0.4666804632294108"},"_hasShrinkwrap":false},"3.1.1-alpha-fix-button-white-space-5898.1.2":{"name":"@crave/farmblocks-dropdown","version":"3.1.1-alpha-fix-button-white-space-5898.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.1-alpha-fix-button-white-space-5898.1.2+6daaf17d","@crave/farmblocks-theme":"^1.10.0","react-aria-menubutton":"^6.3.0"},"gitHead":"6daaf17df634c3d7ace061791f08e3b1a87e9f1b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.1-alpha-fix-button-white-space-5898.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-rWzGDWp+pSjXE24lJOYG5LVgIhTu/LRDQlHq4CuLN6KgV+1FCYqVT5XxXlMlzjjE9MXa60urE4XtICumzAxIwQ==","shasum":"abc1ed6a7f8b23a07b139575804c0275b6286165","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.1-alpha-fix-button-white-space-5898.1.2.tgz","fileCount":11,"unpackedSize":41734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWSiOCRA9TVsSAnZWagAAy6QQAI8gvK6q9mOlbC9pMbZx\no6BAZwS/bC0DaLSBb+w/hqsQNyURc29oZ4ndB3ZpjAgd90NgyXjO2W/1mOvG\nwxdEd5uewUukQ8KQ0Qs3kd6Y43nC3MyAG8iNgU8hNw9sV704rUM8yxiz3Joa\nqka4GkU5GowGG9pPhF1k16FBPG5Ce0lYyW1x4fdY8ID+Nzb0qBpRT5Vdu5PT\nDnt34M/XNLVVZ0kfBAfdm1IeJl2cG5KYG1fYzXH4PU3ldW1y75+j1hcq1Af8\n34V60dApzV2O84uDtvZBdJmJDbFc2Vrc/gt41TgYlbjZ1XRglTi2dQDr6Fdg\nbfZFt5GFGIxGy5OwzZL5sINg8KoexSJ+aI2IHeBibneRdhfQowgfG8Qp13nx\nw9Tv7Rnu/eCI6TsQmDlSH/QlWxPpbGewYvD0s9J62Pwj9iMpUyPFYQHbhM+8\nQFw6RAZSU8hreZ6wiVYfAezZ/I1Iq1F1AQ2vyvRgE114/dzbZZbN8RHva0Cz\nT+tNpqyUmQerI6Z3hOKhiLFOHRBMMgtV/XL8okIgAi7IHk40uaJJ60e4GxCy\nbE7hdxsXi8csqA9B43tWFvEh+DuoOm1GOng0Ax+1pzswlvEOkzpavUwgrX7Y\nfsVMOvPT17aoSuPjGnKdfVC4csZhDGOsasrhzmGDigQ1DW19WWSMUBvXwoqW\nLqe3\r\n=5NF7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIi6C7nO8oqNK2wWHvfERTfRXxagbuhGl5as8iwv/eNQIgGkq0Z5cFVjWMhT6nGpcsua0q5eGi7MXsdZ/v1woqcz4="}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.1-alpha-fix-button-white-space-5898.1.2_1599678606328_0.8769023203709927"},"_hasShrinkwrap":false},"3.1.1":{"name":"@crave/farmblocks-dropdown","version":"3.1.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.1","@crave/farmblocks-theme":"^1.10.0","react-aria-menubutton":"^6.3.0"},"gitHead":"3142da0604d437ac2fac724f45578286f255ba86","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-P0V2E166krhvkJJxZKZleiSA2ML1qgB55wMoH2oOyDbZDjlYP1x4wkqdBz+Gcc6STLjWstavKntgizitWf36Hw==","shasum":"52046652a0764dad4a2d3bfcc1078fa7d6ed6607","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.1.tgz","fileCount":11,"unpackedSize":41854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWS35CRA9TVsSAnZWagAAsB0P/jIq4bwb5WGI/GJLrAD7\nhRrvSWp0dKUL2oKwgntSZqBKn1JS4mwZeXpcRK31fc36YIgOCiCucJyeWTEs\n2ED//nDC/h5NcM+1Iw5nSTuUp5SYAcRXVNCwp3RIKy6/Kl3iglQlQvnke181\neXJ/ZHmu+WVgIJcG+5jpNKOYGHnhF0aWemYPoRpTsWiHtmi1vdBMFaRkownd\nl5c+azvlE1SOJ+M6ErFnJjuk1cSXSASwSQOY00eu753GIFqnWQh+q3192k7L\nU7GDlSCvGof5GTEjASiM+OROan+RDp50XS3axLMOzstQSD7X/aCmK0wsJIba\nHs2b7yg1Bh2ZEe/HrL+ZVU+l1Q9fCs9F7NJ7Yd5TgZuDjBpfmRtABGobiCE9\nNDstce1CHFfIyBQXA58YP3GCRhnfFBMTXi0huMxM8u3Aik458tEnUC6UgMLo\nkzu06paP8U27qrraVCq2bCDJpqsC9QEslwm0AaM8BdvOxchGKq5eRMV2bmw7\nHMkLWlIe3VXCqA0YlZSZvNKEGqUgdeEy7j5WFX8sXsx66fUMjaxGlOMYyHCu\ndYOMBYJYt8AA5osSde8c53a3vw0KOTXwGm5U2Slgrlk4azrl2BXs7w98p1rK\n35jWP3z2MhPEcjWuzUoIjhTu+qjxVJmdfrVq6iDOWIpZq2IztdKlqIUSS3DZ\nOjZl\r\n=5kwg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5W/XLhPLrj6RIBvhA6Tf+kVQbHkWDP+nWOfDdXo0gtQIgBVDl+EKXGuQ+yLG2fjiji1ZXqGkFWiynxpU+K4kEPxE="}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.1_1599679992950_0.6827251716338847"},"_hasShrinkwrap":false},"3.1.2-alpha-button-line-height-5901.1.2":{"name":"@crave/farmblocks-dropdown","version":"3.1.2-alpha-button-line-height-5901.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.2-alpha-button-line-height-5901.1.2+afc0dfae","@crave/farmblocks-theme":"^1.10.0","react-aria-menubutton":"^6.3.0"},"gitHead":"afc0dfaec408e9f6b57619a9f4f8de4bc0e2355d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.2-alpha-button-line-height-5901.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-7SWF5WGnpROeyHQ21ajhKWhfjs1N6s/DpmguYez9hU1NPg6YVqsiExHVrvBL7cnl/hdQix2KKEqwewJXWlL5tw==","shasum":"81c27f71c43080ae7896c85c796b7214e251754d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.2-alpha-button-line-height-5901.1.2.tgz","fileCount":11,"unpackedSize":41940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWhnkCRA9TVsSAnZWagAANFYP/11Fz7w7HsuxfFtrRwK1\niOlSH+OZy1viz7FhDOgtLS4B+hbENirerT5LItAfINoA90od6+NA8QTN0TUo\n12bhe36xgSv7obrxPVlZocL/8qGFhWcdCWM7V2pZtb/JkstojOOFnjIqgFYm\nQQrKbLucNkp4B7YiS8Vh03tXMYeNQqoqcC10VGJi+1EQr19rPkRgWTtFt7U6\ng0FA+anJBtJaUnslpvpS/8mbrJ99RkURFpAW+YDxqGTtikuRYNE6az4hIwPX\nJyOqaCPhzdXqqNiAvn6i/pUhlomnm7XwU20NzZdnSgVw0F5EfteRpQX2X+AF\nmsalf+7qjx2K3uwJbpcaElK6YSReSyso+0o3lNIFG847lPwJ0hGtQRNVCsrx\nGRzfZq5ZYlIenYY7ffjd+ulcLmHTbs0SmNlZit8LqvBhAUXhmLYCp3D4Unwn\nN7UOmXGYMErOwU2tQVnnX0NJ4CC6Xv8V34ACA8wQEDNFodL6//ol116NCRe+\nerDZh+6Ee6T9pd+Y1WwFrKvtA6YgCp60P7la64akn+ypYgFJDmR8Hb4I2Sky\nMYEvwisAt0+ubNEexxnRb44ynrPgq7QhRkmMTfbMEGEuTcQA3RuiEfEAbrHS\nwM/LGBFfBO8k0/y15cs440RVqj0gbUJDzbcR+K8UapGQxWu1LsVLm+YElF3d\nMTCG\r\n=bvKW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnlqTlz0uzQLvKpR5doC/x/HFly+fYOKkuDbt8NP5rWAiEAkRu4+8p+sLkJjtJqrp0SK1Nd8/U7Lfy5vHXs2JqMwxc="}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.2-alpha-button-line-height-5901.1.2_1599740387494_0.6742887302689069"},"_hasShrinkwrap":false},"3.1.2":{"name":"@crave/farmblocks-dropdown","version":"3.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.2","@crave/farmblocks-theme":"^1.10.0","react-aria-menubutton":"^6.3.0"},"gitHead":"f4f0d5946372177aebc2d6e1568b3507040d1fcd","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-eeq6B7Gn3ikScOi+BWaQH74MYueVzFpavUR1HhUTf2ztuCeC5SSFiTieHF1hUkKXsXIo5klkMPOtuk7wsfG3XA==","shasum":"74f07e572486663b007c49749c3e6aec88999457","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.2.tgz","fileCount":11,"unpackedSize":42068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWiF2CRA9TVsSAnZWagAAM9AP/3ePyByrSbNooJoNIfZP\na3jaP/NawT+U0Hgap69B9mk2B8qZFpG1GflDNegCwFMFQuQiYcP57aix9AIY\n/Wk+H0QDLVN0lV0Xz6UlUFSkolycPURR9wTyUcaE/D8YkHGK1ekU4aREqOiY\n6sy2bWCjENgEaWpT169fuYgDFZwdoweWtAXJrhKs9UUKvZ0Ko3m5JE5/MrWh\nlE02MIRjaBr+LaOvUDA+PkjpqvQRbHa6odn2/bOCQC1rnpdADHyzcaqrsccO\nE87t/e3jcPBGaT6R7XXNxnEH5RmLhfpkxM3pVJvUu9ThxqAe5/XB6hgegK3c\nu1IFwKtO41lkjj57w3O7hNLMdLYiVz2SCuApUVs62gPnAX4EhGRVyC/s0Okf\nqka6oiMo1G7eufeT/x14sLYlohKXP7ptGDGGw/DKIbCqrs3QMCdtnK6H4wVb\n+iqXJoUwg/a+9jT+mzZQ2+eQu8okI/QiSXFYDvEh8xmzrfo7NQzjauQHlryi\nPqhzaqRUe5+g16cAKX2wONzmCrA/tyPuif4gfyO8WU+UvJLqr5ljnHpJq10d\ne2dvqHOyE2u8TylJcZ6j9iVM+/ldbI9y1MI8+Qr+TBujkN7ZEE3OKVo9EXlc\nZeizUy8VQSiqK+HVOD9ud0l7/lOQNDZRr3pl/pZcWt2C+u+YLKtKzsOO3H4j\nUJyi\r\n=yzRn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeRBigpbnayaFLTYG4dWNTenIsuLlTGvD6lkPkyw2PNAiEAg16H32KkyEhed850oX/Yie3JRZCVMebby6gSvX3N6vo="}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.2_1599742326158_0.6419075717690801"},"_hasShrinkwrap":false},"3.1.3-alpha-esmodules-5917.1.9":{"name":"@crave/farmblocks-dropdown","version":"3.1.3-alpha-esmodules-5917.1.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.3-alpha-esmodules-5917.1.9+fba2e8e1","@crave/farmblocks-theme":"^1.10.1-alpha-esmodules-5917.1.15+fba2e8e1","react-aria-menubutton":"^6.3.0"},"gitHead":"fba2e8e1c6303f559cbf01d9cb3d038c18b455ca","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.3-alpha-esmodules-5917.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-QhEbWSt7lvGyMWNGEFL3xQ1FSR9oYd8HH5tLoGAcDqJAviEEoSKRm5zz/zHNSxnQOmDs09mZVIcX1qV4DEEn/Q==","shasum":"ed2ff1f5aaea9890c2d17f50b25b4576305ce4c8","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.3-alpha-esmodules-5917.1.9.tgz","fileCount":11,"unpackedSize":34086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhw7vCRA9TVsSAnZWagAA5S4P/0OUAWBeGKJYcPfxquFQ\n1e9n7VYjgkVGvuFp1WAxW0ThLige6FjWK9y+ydt9KJczTz+m5IcclmNUCGIr\nrUhVTYHqHI3hut6nI0dPRZg7kiauSoDLuNV8Q6kRAxzIEzdJ/YWu7x9dQgn4\n6Ew1FNQ3HJLTu29Sa/S4PRlkb97ZSrzSTXMdJvEe0OuZsBuDV9IAtayd36NL\nK7forgQzfzoT3BtKRurxC/Epe+PI/b8djxoBNuGxgR+J2rNumIw5ebylGRAF\nD/Q+yDk3Y0R9xi18pYmoeWOEpL2zcgVTcZG6k8+7qBnnmwHIGfdo9aYkSIoZ\nQABXg3HkfyQ/z9QgfIkvjvpiywMR+YHZEiyL4+Dj/6GDYi7WMLg/borKzIDD\ngFkqKGwEtHs8/7ZB/45F0Ddzmnvi0fHEPVIsHHIx0K11q/KEP5bK0eA1Qmrw\neiixNU1ErpWdy6kxyESPChEk7e5mh15ldena012b0z1yAbwAfuHtMrZFEfMO\nr3xV1WQ4XUI9/AStljNYTXXdAB1zU64IH98TJwf6opi8d3X3RbfMDo633agN\nqEycT6VlcWYOH4UrGSZhaig6pWuHavSi/QXSP9JoqEavOFyCsq3zRTltrBBN\nidi18Gq083Hiz9HY2rX/ZRIuhXKdKV97j8DdBu0daheCoG0VJHnwxVkY9dzn\nhIlF\r\n=GlMx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE8xCPOxm+QIl8IRb7AtHDIWAljhIbjF5rIkAWXIcTsAIgDodykwiRAbMs9aQugHLUeW/tzBcsbkxThRLaOdmk4Uw="}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.3-alpha-esmodules-5917.1.9_1602686703149_0.7641311947314098"},"_hasShrinkwrap":false},"3.1.3-alpha-esmodules-5921.1.10":{"name":"@crave/farmblocks-dropdown","version":"3.1.3-alpha-esmodules-5921.1.10","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.3-alpha-esmodules-5921.1.10+70d2ded0","@crave/farmblocks-theme":"^1.10.1-alpha-esmodules-5921.1.16+70d2ded0","react-aria-menubutton":"^6.3.0"},"gitHead":"70d2ded0f0da8165b6c1fe00ba671ff9d0a9e0d1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.3-alpha-esmodules-5921.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ov88kFVxgDn4QCbhmYkOx0M4j0x018jgrbS40JczGOsSygDaQ4UrHM8fGwd36SY0zLshL7ycD0PK4S//Trx3OQ==","shasum":"398f54415cb549abea94363a3b158117bb31c924","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.3-alpha-esmodules-5921.1.10.tgz","fileCount":11,"unpackedSize":34088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiE67CRA9TVsSAnZWagAAJwEP/jhsX4Gp46RaRyuShAWI\nGO9QESgBokBfEeBQ9Wd7TA4wEkHDxj7FxJzWCc3O3/TmEcv2Skjx1LXPrde1\nP8AqsdKE0gUBQCBKFA1eF7gH/WuEspULgQF5S1eOE8pUwKorjDs35oeolC10\ntAU04IOqklEhkfKuxbiTbrhxPfacCX+6hcsm7w9qSlY78SKSuhCOPhDYBW73\nZMNuKPqpI4zdPmPz2GZaAzAAWINNElW+5A7wHlzJ+P9tbQ5lUo7Jlpd79A7H\nkF/T1qWE2LjNxXUhtaS23aCMhcku2ewQQwy8qQ0WGJA8tx3s0k5CjzCwS+fv\n8LGIPeGDEBCS73bUeBMetplJH3vzKmnNICFoiMCDixWErAMqQQZsylVwvz7l\nlYOJ9u1Mt8IDy3Gf9u5n9rxjESnAnWW6GTgviDcmpEANFi2TEVP+/CuiJusR\n+HaFpISBZ4FXb0oD4mGRXYfpni6CE8mI5OjXs/0GGUO9qGIb5sqP9qsodOAu\nH8yXp/u21HxhFsg9cHRU3cXWSY9e2KAvMAs8rw0GQUlTj5upOk1xcIXrTkLg\nByVAJyCDetg4bXQL229+5biXJg1T2BAy0J7DoCeYTBK1RvBXIQ5gfPGahIZV\neYMj7f19YzVeIQfPQ1pMY8+agtoRn/mZ2YjVKbX/TEkF5KJM9AVbVavugbNG\njt9o\r\n=G6mO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC5H9+BiIpZoenpiWmg+c4vGSJaIy7n2S6vzZO0w+hQgIhAOOydyXlUi1QGTPorAHGrSARu0rNv3JU94NqH2bc/Ic6"}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.3-alpha-esmodules-5921.1.10_1602768571451_0.5540982673977743"},"_hasShrinkwrap":false},"3.1.3-alpha-esmodules-5925.1.9":{"name":"@crave/farmblocks-dropdown","version":"3.1.3-alpha-esmodules-5925.1.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.3-alpha-esmodules-5925.1.9+b26b4097","@crave/farmblocks-theme":"^1.10.1-alpha-esmodules-5925.1.15+b26b4097","react-aria-menubutton":"^6.3.0"},"gitHead":"b26b40974c07b25d7e73cb336962a061a93f02eb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.3-alpha-esmodules-5925.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-lIzoVl/3vTEGw9/QubBNqpwUESt3UrVemzIlp/oIVlaykZKfToGbMdjkiA/JGo0YK6dLjLaePVxGb1TIiJgEEA==","shasum":"a5394907ea09377c74fe06218ad69f203c94cebc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.3-alpha-esmodules-5925.1.9.tgz","fileCount":11,"unpackedSize":34086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkH2OCRA9TVsSAnZWagAAxuMP/0F4dVZrUgqJOCBD/wRj\nbRkeXkjIfnyR4XIvjWqFrm+98WGKNZWjydGDMdTUnqYaN72WXqe3LoJFn0tX\n+Okq4LVO1SMk3PfWdcjJuvm6TQoXCMWcjPbxOetLur+eq3F2FAk1npWjjVxw\ncEOfPXqK2h8fMnE/gNKq8rBewuFr4cj6Flhh/YNqRy5rGCaIIEySgaRN2o56\nmMgvX6MHxcG2Sdmvn430QvTbeexT8ljuYNm7EY1iKiJPNeiDhKvpNUQFzi09\nAZLDbhrJR+ReCXj5/m3etNDF3hcewQrZOg7cke3sMHgRFF/d8nN7Hg5JlKJK\nW4vAat4z7utiBVmVdKjt+vlXNHAfFdKOygaKHPjvtnghbMotQbWTG7S9AA2X\nUXS8vGmzy73hsGU+xpjlipVfDY5M4bhA0L09jnRjqOlUsGTi/VcaJ7mNc7Z5\nLi+dllj5xkB5YGue/LLBImD8nZrKyr0v3GKu7M7jPLCQLEJEG7iBaF36LRX6\nxhu4WA/ZTIWps9Mbh9oAA7OBkTkNJVJPIlMmWnsa5YogzfUPjuRU6rFB1bea\nkRgPbFg4tZswnYrbwXKHnSjWdkz0sRc1Y0khdMSvO3DS37MTVz12PmfHlJ7q\nTj99pfsXkSnBUzLQD/sqUxLYl8EL7ssVFVTfBP3O1hup8+RvZGUMCBl5DtyP\nocks\r\n=o80c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC24aNBptTsvTXJCZYgLfJkyuE7wC8ohtfcNpQFRi0xAgIhAJHyLTe/VA3SPeZzPwUK2ijdHVtRawk9SsJUGpJhTwQj"}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.3-alpha-esmodules-5925.1.9_1603304845742_0.7330976496996309"},"_hasShrinkwrap":false},"3.1.3":{"name":"@crave/farmblocks-dropdown","version":"3.1.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.3","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"2ae9bc148a9cfe2a81cb52e32130cfb3a4cfbfc9","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-XtP9pUIOzAdbbY0FNWYYRFdURIJxMDrMq1G/Pl8bi1k2BG0XR87xFHnOdl1503ysnGcEjn6xS8Pqu7RYq2JofA==","shasum":"9402c54d959055ec57df416790d8e60d143c2cc4","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.3.tgz","fileCount":11,"unpackedSize":34197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkIvACRA9TVsSAnZWagAAkSoP/3i0INrFuIrH/cPGlaHm\n7IScNiYTI0bdAociwnq/kbGTUXsEHJY8GisNboD2roYYXgLrd8J6x2pciA5m\n53LLh2Wbq8gdnH6yqItdT3eD4RQ8ExpbmKoZlC9nVzcj4Vdg7xtFXRRt65Fz\nzyaiwo7kfXGiDOvvxQzfeVi6StkwFb86SbQYn8rCJPJpU7BX2NtsZVjMDbi5\n8/ClQNhsNQQA9F02amnCTLY9SWyP46gXBA7xddANKnl8JX0ZKfvZFR0979lR\nDvSIX+czmUe8LQddEYYodBaKHDqyzPo7y0SUkm7ZoB3Ur+cGK5Mv9/k8Ft1y\nazK9uS07T4szPfLir+uegbePnHGCzph+G3Fbe6Pu1lAo9MesXiobBycCI9i/\ng9Sn+iT+/iWHEMw5X+M3llpWybKTokhE660gfZ6AACE5cKD31SSizcASHLBS\neHyocyRbRJGto/ToSJUSO6BpBUhFt+DQajZB5W9JG5IXW5c5mgYOKsZ/2Hj/\nigRJHjG8dkMPX/LfOM+RYxUwg2eFqjvrPvqQ6TysTdSAL24a7dnrOLeLUDux\nlsgq5WMr+t71kiuS/T1CgUzb082/H0f30OUEo+o9KJI++hYkL6WpzAwUafsH\nyFqrFb56OZXMedhMZ1SLrdKcrfw06a4qO3rT7NmTfI1cONWJglGczBsIIH+C\nPoar\r\n=+q3X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDtsDoMD+vmgg40g97+ZRsszsbqVb4+EvFDKoSpzmBJQIhAOkfUReb9Y/ZYq4jcXbJxeCwPaN8nspLJGKqeQbNMW45"}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.3_1603308479761_0.2582859345452646"},"_hasShrinkwrap":false},"3.1.4-alpha-icon-publish-5935.1.5":{"name":"@crave/farmblocks-dropdown","version":"3.1.4-alpha-icon-publish-5935.1.5","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.4-alpha-icon-publish-5935.1.5+867e408f","@crave/farmblocks-theme":"^1.10.2-alpha-icon-publish-5935.1.5+867e408f","react-aria-menubutton":"^6.3.0"},"gitHead":"867e408f76f049072ac6b6512868005b088f3ec1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.4-alpha-icon-publish-5935.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-DRZMkobNaHI98zaU+fYaL5w2aZ3dKQpjG63SMasd1XjtsohP1BBhPBpZp6i40O21T0J41I8k7lbnqnNbvHgIcA==","shasum":"eafd59a70f90e77c5c7670bcae78d1e963f179e2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.4-alpha-icon-publish-5935.1.5.tgz","fileCount":11,"unpackedSize":34308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmq5lCRA9TVsSAnZWagAA+hAQAJaWrUOycY2yBc92bVM3\n8rOphxhGfseH2ZzGLXlMrcjKAWj1VeI7QixoiVr+PjKhER99TdTnFqjcXutH\n/QcNdA92XOWPHX0ZDvCvKNQC5au/jzOYfy80sI7PoFaPqSjSHicDDstTZiWC\nCHss3wOL50bUk/cYBtzQaX0wE7P95k54wYY93qI0EtXVGDzD3kRDqo+QExVX\nqKcYqiJsEdW0ImicTleAHrrZJLvhBqIORrEae+ZRrD9sniAArl83XjIWwrsM\nz81qkYEuzCQknyXhfYKX0mA2fjKOj7x5Ln7bVFf/YbVoQ/R+SNWOL6p/Afl1\nrF7I2hclcVpG07P+d2Xmb45N47UBbrHnURs/d7Gd89dauVSpUyagrHb14cIX\n6zl8z/hs31GTjfovEGrzwbnEKNOajfqZ38U3mjKIyP/O/R8aLJpTV0QDCICM\nXLigbSIhuOv3K7k7a43g0a0kE725hjikPr3A6b87h91OR5feU1h5OXyehU/n\n2Hu7HuW1hzq4TYioEBG4Sf5w+DycU6+XGBMr7bYNhsHGXRLRKOo+sMwCSW65\norBaFU+6IeUCv0dENdgnU0/liXt6JNlbcmRYCQnp6vcI+f9VC3VuylnKG8IR\n7sVxT+jWwkND4IW6nusAVwNkHJdSTdEPgr9wpMRfW2wvzz27XatEb1DFHbiD\nuQuS\r\n=7kkn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIVtOh1Q01+/2VYLovlEwJSBwXBvBLn7oGe1/WojKjRAIgKi4DLyP/XqDNjwAskMg0NqEEwMXIy+s3svDgqSSSFqg="}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.4-alpha-icon-publish-5935.1.5_1603972709463_0.08945472544063282"},"_hasShrinkwrap":false},"3.1.4":{"name":"@crave/farmblocks-dropdown","version":"3.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.4","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"82e001ed74484daf52957946b6e4a022cbff24e9","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-L2Yp36md6q2nZ4CGWzkbkWahyca/730qzFBp9nOmEwql3kzPbAprhku6xQJM6IcaRAvK5k8/EtAFQZqQBc9sHg==","shasum":"e1688cc590a3413ff913451166b837eb804de7dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.4.tgz","fileCount":11,"unpackedSize":34411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfms9+CRA9TVsSAnZWagAAEVAQAJPCVAjrdmR31CV9sCS3\nuapWCeQl0/4BsB93gNZJM9PuG9eOtbkmy8Kh5cIAN/tzlBcwbv4TIg+bBYT1\nB0kuH4+FPoxaqywmw+Cqoa4qYeAVvSIwgeJVpcFuwbZWkc1AQxD9owyCYMxO\nqe5CAr2jZKAKdL5rvfxDzfWNPeii2dlNAUjPqYvIo+DP2qdKpHDqSnj1XAs8\nrrjvlLxGr/HLMyhU8+ZYaGBv3WojsCsP3h58Q3SXibkvRohX07lgxKELTMdN\nog4EY5vySaL9cRlFkof27wpla9YOQR02u0GLlidv/pg4S0s4wLfRskH/36zH\niVHJErtn/1aYpfwRIeq611/x7qCqtP4vpCunt+efkyOB/OUwx72jBk23OGjr\nIkooRcKNA5kaCFPxQ9b84th73B69pj3SyBtzMS5AKKD8tThhXUMqrgkY5/5y\nET9qNhviaVLE0kpauzGUxyzQ5vq3k/fuBx7WUE/qM4LFp0IHvpWNCG2sz3d4\nFwdkYXJt9BQ9XjLQrPGDtSP5JNOS74fVGwqWQQXquWBzjyWdLjXLOKExR1mp\nXiVxfGGZmw3ugxQCqVMfjml4jHPw3ZSRsVL94zDr33ZU4Emxae+ukUQm5Y8h\naCrpMD9+JG+5axlst+cumbJVf6qpeMOQecxh2+2is46y7luIZttWBijW24+Z\n/p5c\r\n=02bx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwhtqZRmmoXpYmb1aGlIj/SpH8fdtEX8r6Ln4kCaXp8AIhAMrSFzgZ/Yoc3JLYXXPg38jn7m3N6C6OyCj9oUmbFq7e"}]},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.4_1603981182022_0.4619739238449354"},"_hasShrinkwrap":false},"3.1.5-alpha-dropdown-trigger-5951.1.2":{"name":"@crave/farmblocks-dropdown","version":"3.1.5-alpha-dropdown-trigger-5951.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.4","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"b8d854893c11c365c94baeb4740e43b70074d8f0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.1.5-alpha-dropdown-trigger-5951.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-WEtPaIn50UFdUmnO0nyLvRpcZVXSSkhCLwSvJioDNTR8htmov2S9v6cAIA03RwvunvvaY3ToLH+cXSptK2PPkg==","shasum":"7469c0959e3ef87a67a13bd49c950d3078c47543","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.1.5-alpha-dropdown-trigger-5951.1.2.tgz","fileCount":11,"unpackedSize":34496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9x4XCRA9TVsSAnZWagAAhrIP/3rcuQ8Uktq/eVECFUr8\noCJc1/oU4aAae5HpSc25SIkXGXVRhRlgaR5xSrvP6jZIfRDYKyXVJ/SuvdoE\nGXLjpVVi+UaIrxHIeWBKaNXJCdA7IKnH0pz4u/1EWLcEG3TQvQfhmPIO3z22\nFg5ALu7rouQGgdp0n62NHE8QCQuToKXlKV8QFXLVJ4RjEbNHQDhJLsyloDHk\nsdScZ7ofEbF5fISPEUd5+QrZjZDTWWukzvSfezpTHL43ak0BMBMHqr31YYv+\nNZ0/GJTwrNSJ0Ob7iLYhLR6q13L9Lffy4/2AZrYBfBX5Km2UDVet2okM69ie\nmbivjuf2bce34EUKKIscEnpxzmmT6Vm+RVLtsqlWATYqIsuivsdpnigqKODU\nrKjuhIk0ppMNje+7ycbC22RNMte+QcdVH1OTHBVS4YHQMAnJwUaOuVbbMoOi\nJTjjtbnhSnzHc66psHSoilfHKwSfdGX/reKI/tGCb2AdwNK5EnqvKEdpjUrc\ns7xQf0G6ybFUp0u/wyHkPy0+P+1DjWeTd8g4Q/jTFGtjYQt5bW8u5LYcNMMo\nywYmUkXe2GMQxmkSjsqomXG3QTB5+E8BjdZexvIdJ9yGd0VpGcrJcx+yMzs7\nripC3je2yw6zOJR/q3b7x0XsV5bo0Vfj/n8HmBKYoOoHFTRe/WbCVy8Zsro3\n/cOJ\r\n=2Ge/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9Zs1psHUd5AhdUbfvoWQ5Pn6Yut060ALxK0ygG4IJ+wIhAJbV9LpOCtDyjHRSrDrJouxZGxQgmDmXKGHeGrpfaDDt"}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.1.5-alpha-dropdown-trigger-5951.1.2_1610030614154_0.12982775665912794"},"_hasShrinkwrap":false},"3.2.0":{"name":"@crave/farmblocks-dropdown","version":"3.2.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.4","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"55f19a9131b7615c0038a33a33aa0363bc14a263","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.2.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-j77qUSQd0pQ9CLUCpK5sWXcElB1uXIc20DPu0xMo1Kt2LA7SBiwwzmT8ZmDDGLeSp+4DpNwNFK52Ci6UUmx2hQ==","shasum":"c65d31807c9e8c86f142986565073a87397a3cca","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.2.0.tgz","fileCount":11,"unpackedSize":34758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9yH7CRA9TVsSAnZWagAAAK0P/2We4OEBdLakdNZ5RR8b\nB+iYKhr7Ur3CkQ99chjsaYGyCX0T7QjBBcrDuIZVM5zqQZGCXgPAswJ8QGYI\n/gBnkId/6wX8ek2bWME4/U8fbEe1neNKRDCXDew1F5oI+W7wnTNXk4DY8C4b\nl1/cQ24LuII2/iLtmhlhq5fQb72X1rcVMNtZxjD3lEGJScG5KWNqj6JZjdyS\nFi5NzdAYDvFPBlUXDanGrEOlVQ2ziNBvSULjVAoW4ywUm1iFc2UDgoiB2tHB\n7MpGniEVg+UUoQWfSLGrcX2I+SltdMTSEgniWK3mRTRdML3lBhan+xRT7S2G\ntKqjyUuRpE8kK2W6J6Wk97C+EmHEoxWrV8PVzyV/skBbxpjfU9YFgPhmOjCD\nArX52bukSabQhZo/9wNnMIbiq0Io+G3E0GCpZ1OwXSwBgUwjUEuWn5U8hLaD\naeRQ5NuhFNpVwB6TknA9i04niJK/A3Sz8unZAzS3ZF/5njFSLz3FjzwVuGqF\n7DoTgDi+In6q8Pt4/lygdSWxIY2TuIQ3hCAmjDWvMQVFNisTo69jiUO+hKew\nt++FKVMX35VTprBlL+AtIVf8cAia7nsslAHCCp8sGjt7TTfj3z4PsLYFb25y\nDdUIB/VI1FLr3CxaZvn8Ha+Uu7GHx4Yp1OR4OYiZu7S8/6digiKD/G0uApIr\nZaaP\r\n=AZu2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJN0couSIWtWszV9vab02wgWrT0h+nAywNcCG7lXt3TAIhAPLsG+jPVatVfSeZdycPPqodF7bhYuDWwrbz9jD7RM9Y"}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.2.0_1610031610614_0.6789314875642194"},"_hasShrinkwrap":false},"3.2.1-alpha-dropdown-active-5954.1.1":{"name":"@crave/farmblocks-dropdown","version":"3.2.1-alpha-dropdown-active-5954.1.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.4","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"70693cb6eb5ecd586d9be03e80d45be0995c6fa7","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.2.1-alpha-dropdown-active-5954.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-cs1EC80/rDCGjC9Fi0hxuau0r3Q6fNL4h0PsYllKqXVzlAU6NcIpnO9LM9ZobdnUSFDHN0NiUFCbAwrcoVRbPA==","shasum":"863d925afaca32ce51dba33a8705957741ae5c3c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.2.1-alpha-dropdown-active-5954.1.1.tgz","fileCount":11,"unpackedSize":35230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf93i9CRA9TVsSAnZWagAABnQP/Rn6R0KEfbNNMWWgkjsq\nSFRoD4i/acIEnt64DPjyf9e93h9sKz+V2DiAPpW3o0YQpNUdRw6adRj/dzIG\nwE9lMYrnNN3Q3QZZIhcZ8RZEj7BjJxl1/183xPGJyIWP5d2+PN633sgcF95q\nllqw1D1grXRC1mi5EVeQpVQZ/4z5RtDYNtTYzEa5x1snqg6Yvz58Auluvz2c\n78jV1RJ7DXnQv2L95PrdM/fExE2WTi1C15KvORvEr5GPvt+yA155Diy8XVMu\ndpCR46+SGgQObaOd/ypYi1fUW92LtuEjxkGyiXq9eD3NLYqcWhY/eVG6Y7bJ\nS2dHt9OURS4xYw0z9HzT5VRg1Zlc9JwejuS+726NZvPKUBEzTT/jlPqVD5eK\nIoBtAChJ6xXDoKyT+uPvqJlqOzYzkFEXWy9u1szZV9PaMoEfOsSHSl3LsYJ/\nN58AxhEgdqe/mWq9VOXRrIDFlngEmVKhmqZcZtR5zL8uvA6Cmqti7lt5TKQ5\n/ac1ZX26/k78j5bpRjJmQlrVqnA8x5NoWFtLwlEFsIRH4iBNsEzk2ex4zIcz\n5hmWfczHc631d1uGFFHVu7UAsn4HXBb3jjmgXt5ajYr5f0t/KibOi5rGvmNJ\nNyGpocrjEMsnpYyVe0m+ZnirRThh7MbagO9Q5u6QjFqgAJw5kSfMyXPuTsSp\ntrGu\r\n=LIty\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf46dplogyMiXWUDEJepmUdYvOULnePT+VA8XaXCzDkAiBw/X5CctCNOxTrkOKGhMVdKPNM/CKlL47HBFOXuC3ejg=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.2.1-alpha-dropdown-active-5954.1.1_1610053820906_0.2538680038755996"},"_hasShrinkwrap":false},"3.3.0":{"name":"@crave/farmblocks-dropdown","version":"3.3.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.4","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"2acd771b0e26b55375d7fe2545fcec65f0f6bfb2","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MJZyWgcbqMv/6kGpQshWZSnewNGkOIfJkghtJ9EYmHuOibCjtup4XHsDrx8NRlANrmvCz03lKHXsUmsXJnDFpQ==","shasum":"aaefaf33cd1819a594a648f94541677ce05cb893","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.0.tgz","fileCount":11,"unpackedSize":35514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/HTVCRA9TVsSAnZWagAAeqcP+wSkMZ3xbpYSyvYwov/8\n7ycVTr+MEeeEtxAbV6z6kkUymS+P2QfhVhRvbztGm8TlHIpSmqBgQqd1ET39\nOWBzM+sch55FN0g4rWA9YB2hEmlfFgPbRmtg8NU2u2lyXQdMJuu2SIfIXZlJ\nrLy6tGA97pbKZHEOgrPkVLl8KsEn66K2pSHyYbC4nhkgtF6x/SEdrXGqjsWU\nKq5wnlff6gvZ56eZ91Bp+3n+bn456edD0AxyXCes1ib0mkO07BGiHG8qv+KR\nzIzi3h75yWyyzS9liV9dgkpvAiEwAEzIq9kv3v5wgH8BxImeUl1yl8y58+aQ\n38WUBP+IAzErktKHg74/l+q4VuQ+XbF7Rc/3iHBBBnAIZqrYEE6oqtrQ+XLG\n4jqVmdBgVN/tVbk+8H3XRTDQZ6dQChvTua5Z/j0WU7XWZUMmghwkoR0+tSZL\nGK+gzH/NYZg6WY7OZNFkeNsSxFBdTCddpSAPdTMpKswOHCjvjGjyEDcIfTOD\nUKuBuGOV+c1tmZX5Bshx9K6c7b5Ta2T0yxj7JKfA1tieBjfxCxyyUb7qhsaA\n2lwA0bn/LmXwKkeT+XKlrM4Mg7XIoTJCd/1WYBWy2nZEDk+br5jczlJBHsDi\niWErCk4Xc+QxUetKXqswgArMV1BssLfPyzRCoCfXeeQgMpV2zJoWIyDqLU8/\nDIIO\r\n=e3CL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICX1DQb9EHNPa0pfgcBJ+ihCIBY2BFfho/ELgrLEtBdiAiEA+pSyNAG3VNFdzqULZdHM+EQM58yb0HgoKtQ3b9UALf0="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.0_1610380500731_0.6969973115306756"},"_hasShrinkwrap":false},"3.3.1-alpha-table-redesign-manual-1.2":{"name":"@crave/farmblocks-dropdown","version":"3.3.1-alpha-table-redesign-manual-1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^0.7.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-button":"^10.0.5-alpha-table-redesign-manual-1.8+93fa0935","@crave/farmblocks-theme":"^1.10.2-alpha-table-redesign-manual-1.11+93fa0935","react-aria-menubutton":"^6.3.0"},"gitHead":"93fa09359d4f4108a68b5c1b5dc04bc65e8d4000","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.1-alpha-table-redesign-manual-1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (darwin)","dist":{"integrity":"sha512-XkvVUW5jToAgd98SGKm4dash5c4gLVwnqnUSOtWJRQTH4vs75e0jZzQssPzY64QWcx5HUu6pTE8xIVNI2erX4g==","shasum":"3a86b755a1f3fc5dd6e4cc966c00820b4fd262c5","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.1-alpha-table-redesign-manual-1.2.tgz","fileCount":11,"unpackedSize":35638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCXAcCRA9TVsSAnZWagAA6/EP/3wc/kPqwYGA/tE7cvgr\ndwD1731DE87Y2YgyRKnHfEmVPEmrmsiRTcjrzta68DhTkeEKnvv0sRtT91yE\nD0pZlrEvX52v6LxYvuENxg3VQZdmrqtObf5KLjH+tcOXPTrdZkxFxW+Vgst1\nKE+dBFglFZ2ZMv2XIhw/RLOQaKQLsZmOgy8XL5rMEYHAVry1KO9rIuvAkcYV\nsp/9dkpumRlvXhl8Y9saLt4TxJQP8hmOSgbbMICta+BU5h0Su0L5cm9O6uzg\nAIshbfyuvMsuxc2zMIiXegpaNUtcJ54I/UtF+iMnyInWA9hv4P6+u/dAOddD\n5Z1sCoHK6UkZ/DmaDY/dxZoJQr84U0xOa44L9g1pLA2gMIA85f3CH6TZPh8Y\neQTFZ1BdEHfvpsE9sHIS2MdpwSdBMdgATWqOEFR1elqOtjvf+InZs3K8nY79\nL9m5WFKVZgmW29jFchFeuohH5/bzfl7x/KRAyUEbjPgZeGwiu8Zsa0nbGPeF\nkJA6hMQYdG7F30heVRW4zE1YXr5us09PIjD2vbwjJdUHbSlIzUFkNnP9/+S0\nyOA6EMcJ8kE/VvacnYc/SFntxEY8gVllnrkmGTZ9rPoy3GsRJrn8WYUayWrC\nL6QYhTlUBESUPDygHufnRp8aPxg8hFn/R8ngMsUnKYILKMv+iD/cQ6MhnkaS\nggU/\r\n=lEPD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZdyunlYmPUPGgmrPIUB2YYwhgI6E9PbOeKxhTJOpG1AiEAncJeaZJOHLLR4rmmOBddpivifCZWbO+MwcHcpDBf94Y="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.1-alpha-table-redesign-manual-1.2_1611231259648_0.4639760655638845"},"_hasShrinkwrap":false},"3.3.1-alpha-update-deps-032021-6011.1.36":{"name":"@crave/farmblocks-dropdown","version":"3.3.1-alpha-update-deps-032021-6011.1.36","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.5-alpha-update-deps-032021-6011.1.42+b07aa4ce","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^6.3.0"},"gitHead":"b07aa4ceec2dccd95e16d93e56c46c802eeb03f7","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.1-alpha-update-deps-032021-6011.1.36","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MJNjTAVN42JqUhzALyAY29ugjDYipau9cXNYxUd18BTdebHLvPzLSKBZv2IwHa5YFvyo4NIDUe/p8zoGOQ12OQ==","shasum":"f6dd2b37c066d129c9c0444343b61b7a61ed8d06","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.1-alpha-update-deps-032021-6011.1.36.tgz","fileCount":11,"unpackedSize":35732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZIcPCRA9TVsSAnZWagAAW/gP/jBpW7P7lfsxcGEtWSh9\nNW6GfLnSVG0ouV3R+H8V+pM6MZakc3TWPcjmSBKhBFEzTNHmqP9WAm4yEPYN\ni2i3InI9z0/89H+xwAPAq0yWsfJ/kSC/MPfbVQw4dTVUu7RtgRZDYsISfKWF\nT0mQyWM9MO7HkaMPmqdIIAArGw5r7hxzS4rlLZ6a8oDnxGluVTnyqyYUoXli\ngrjpZgAm8GR8JqL46waugUW3shGjY0uxJLY0rhbbfYyANbN1JrzwUAp6GWM/\nMK54VCh8nK35+CxVNaWJG3FQadDceT9RIGnp9TaFW5GvfnHNm5c7//X5j4j/\nAjmIIzmIOWasF3/GO02nUKKX9BSTjL68rIq3X06OhvPKPdNt4aMTSdAHnD5S\n/dQx5U3bv+Sric3LHxbJC1hMHdKSq199Yr3Lkl+6S/ODxCdGQu+Xx4TA0Nri\n7BBH1cjVJPDanndfh1kPaCu1Dg5JYEgKu2iEtTju+sf3ASvPtdUIm+BBgmLV\nKFbpOMK587Ab33G2Anhwc5+mCQkga1GDZRF3/piEsa8pTA197dY16N0PXxhM\nKxiCF9TdKfU9MfW/SZY3rFG0m3UPvi3s/upa/1sgN0IrHce+X7dcqSkMizwF\nssTdlUueg3Lj90qVK13zLutcEMgKFKNbgYW6ZfrLbFdiuE5vFVAmTxLKq8RO\n+dsB\r\n=ezQE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeWCd0WISdHWdpije4D7t+ozeI4L0eD5CYtKNKR9u9EQIgfX4qJ2Kkje+2QCZOrdTlj8y5PQxmhURGpBphXOYe+Fs="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.1-alpha-update-deps-032021-6011.1.36_1617200911050_0.030069741190061006"},"_hasShrinkwrap":false},"3.3.1-alpha-update-deps-032021-6038.1.59":{"name":"@crave/farmblocks-dropdown","version":"3.3.1-alpha-update-deps-032021-6038.1.59","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.5-alpha-update-deps-032021-6038.1.59+c16db8e1","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"c16db8e1588b4b56f83b9bd54634c32152c9e781","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.1-alpha-update-deps-032021-6038.1.59","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-eUM2p86q+NFs5jgBTUTAiRE/oy1j39leIG44ceDFabMWQcFM9SpuyoZpxOpcjHVcw5X2KVQTLh3S6bc1h76/cg==","shasum":"bbf291ae14324cbea1f3cff832a0beff66efa649","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.1-alpha-update-deps-032021-6038.1.59.tgz","fileCount":11,"unpackedSize":35732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcKinCRA9TVsSAnZWagAAq8EP/i4qiR9W8UT037nlmfS0\ncY0AYEpjfD+hYuyeaoM9o4v1u88ndXpvsV61z8GsAqT4DRNoagjQ72Cc5qiS\nQbNYcDcgTHdayTyVmGG4e5ZFU7bWwEdehsrMQiko1rqxrvnub2WFoldXO1Uq\nWz+NtxqzWifX4eXpSNaBg7HV04owHztgkaTm1Va+p7OBHo8qRX21GeyGsCqq\nSVE8pvA9Of6sMdzoKITAy/Vs6cKNJbJqhwVG2DrMVyP31HHkzjhbqWTMiTTY\nCle8ec1Th+NJdTp7CV1fj/H/3KgL6yVNK9UwDkWucUW2zuOduy8BQz/T1jfe\nRam/ee4ECzuSitdcJV3089YoifpEl8YaxGyH9dZBR/T16R9cIbAQ5AKEbCSb\nN/v/hF8SaMk7ogMW1nroNWbbUSqQr3W+Ue8GX8q4ElzgaorK0D0unR/G3/ho\njABubUYcxzpWP5J6+xqKgGq9yqoikWrbXZEMVwPQrBnyaUu0/1xlEcPDMNC9\nAKtMM6ahalwgdOKIPOdiKAzJIUODfwbzIRYldlDB33QPGUXs0os1lQZyc+Hl\nCy0wvHFghfFoM9lx7PEEVSjVs6cTnpi+HqlvmpMvFl1mdxx7BdmFLtzps08q\nz6e67xkVzBsZQfBOH9+uT96yYNKw0sCUVDAv94fdQ4hNW4M8ceaqOr/lCtgr\npvJH\r\n=N+Fh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDffAe7A28jVwBUQ+t4TlHW4Ssea7KNHyqsA8JRqoTm5QIgYQJlpzjKKj+QrgcDzxafCL4/SnNSOlBPyWrleiZ4CvY="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.1-alpha-update-deps-032021-6038.1.59_1617995942563_0.5717903569916749"},"_hasShrinkwrap":false},"3.3.1":{"name":"@crave/farmblocks-dropdown","version":"3.3.1","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.5","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"6c363db25b708288d932745d21cd88d4e3bbce63","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Sams/9erUFNQNyh9PyQyVKldCkEp1+7xpk6+WQ4X1RSossiMzcS4oph08jEK4X1R7LwF5VCwT3Khj+X7+4OExQ==","shasum":"b8c5506312925a32f1460c15ec9ec48c05bc5a81","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.1.tgz","fileCount":11,"unpackedSize":35959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfZbyCRA9TVsSAnZWagAAEiEP/iJmQzcq4kph+o2ttLXg\nz9eaQIoKo6DbNiTYy192p1aziCtLZ/M7hXP0zfnObNS27utxOtEXqUsWQo3q\ndpLnffMqKpZyKPt0lgd0GAo6lltaMKvDcxgY0wVgCcdHgG6MufAGsDyWie7K\nM8uemDhCQDD0KBLFvBIvyveZuLOZybsrLn7L++X2CEn7kvGGa+8LGD4HQwRc\njuGYh8vAUiSTGzS5wgZmanFF/PoE5cyCZtCCz1BVAGp7cljRQ0g1R/YB2kJh\nzAIMr++vAkNg18UTpVnrijbbfTGWmyUNNSFvoA3f6TXQMT2yWqDDbyGqZrFS\ntRgDhhveBb+HtWBhnA+qH/xP5d5+GI2ee4lk5lbdYBoF6eIlqmUzpBVX03Fj\ne8Y5CZOxgyPV2DN1pU5TVghpkPgtex8qZ0E8LuA4luL99pabte+Us0n7YKzI\n1yMidzY+KGGdHTnKw/6wttBDOXRSWYx2MYK+6/FtR2byLAAv44OuAG8hEB4a\nkWR1BlNysnIR8jf0GFtstv1W3rqV2DtX3UFaN8yMcicUkU3IABAJNd8ckEUD\n1VDeN7JARZTBlr1m18HxnseLxmxyMGGJi6TK1rdqy2xWYt2xy7YB2xF8BGNW\ncgu3q4uqAX0x6Ki4qTLHLVMmVw17W854mtMjSz/JSAOlfmExp8wiH2hIYPBD\ni4rX\r\n=+ikB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7F46N+/xn9EGK7X7j0SZbgXUWLNI9Oje/smrAyPbxGAIgYJyeOCdM00u1VQvu/2/TfW3mvF6t07M5iQz0FvlGx2E="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.1_1618843377555_0.4604263855631914"},"_hasShrinkwrap":false},"3.3.2-alpha-update-icons-6066.1.4":{"name":"@crave/farmblocks-dropdown","version":"3.3.2-alpha-update-icons-6066.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.6-alpha-update-icons-6066.1.4+97b9bcd8","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"97b9bcd8789de8d9c98d163dd9d0e3d929ebd5e8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.2-alpha-update-icons-6066.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-9Zfi26Z4Y38W6JsI9L56zBxzG+zoyV8lXp1kUJVX7vFh0uqFs1WQGzu2YUJTEoWEcJNVO+PRe+MUzfZ6+XUOBA==","shasum":"1fb799e68c918d0d114520462126deab8a957715","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.2-alpha-update-icons-6066.1.4.tgz","fileCount":11,"unpackedSize":36033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiCirCRA9TVsSAnZWagAAVQ4P+gKU7ITL4uVkdVGUpBZC\nDuLDPZBWtYfiAkYqJRwJOtfaNW7HIxQXtdXRhjSiJzZa5BCcPuoF+oyXK9zH\nxaSwl8uLzAXtREPRCqK0a5HKyIawRVHgpPLtL824ET6VE7/HBeUem7Vk/oEf\niPkBK5Pjr1ZBsz/tJDNJnUiYnhiW8sQiIlmDyd/6QHLMqtYmf42MhMi1AGWE\na3mBVyfJNjxMRuPt511YUJy5gDN1B6ULkUsYAcPtctavykS0r7IbeVs5hxAq\nadBGbUuSDzbS9C6H734rFx3dBRthhmDGZBgyd//oZG3MoGSMHbIPWB8yQsvi\nYUnMJ6nrak8KXJ7UireMLH8tbwgfaePec5jkuEUZyofuXkIlM9aZjfP2UGsL\n4g1PBNm0oWPTQPpJc1HaeOuuWCCLw5716a5SxFm5yJrs0pdI3VKrYHK3J9DR\nQqsV7/dt9ttR+3R3dZS5mwXmxRe4dEXPyuw10mxBS51HXr6VV3Wq33+1rEel\n3f/tzB5BjfT5oXTOsex3Fqs9LuJuL2M6Sy4P72bko23iRNJTOdJgmNLUVhDe\nSO/MeLh6wyJj0rHsgeNV7kBkjYvYcF1PrHrf9uCdn7me55SgpyO+JGR5aPUi\nFxSJuEg2RNSB+g1d9uZCxhBL8pXosB76VUk3mpu0+L5Ih/VokDAtTOuTlNnE\nufdn\r\n=M6g7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcn3O7n+plhy3y+KjNkinnixR/qDFFTnyqy4ZLIJSRzAiEAxdko8AqNKQ+/9zaLSfIKJwCqXrkyOT+Sv5k+GnDlof0="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.2-alpha-update-icons-6066.1.4_1619536042614_0.7208374261556634"},"_hasShrinkwrap":false},"3.3.2-alpha-update-icons-6070.1.4":{"name":"@crave/farmblocks-dropdown","version":"3.3.2-alpha-update-icons-6070.1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.6-alpha-update-icons-6070.1.4+2e7c4aa0","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"2e7c4aa06c2ce7795a675a07dfa519380c02f03d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.2-alpha-update-icons-6070.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-OZId1Xqt5pULPNCqPeQJ71ujbBTU5aJDyC25k6M3y7KuwHESPYcyrb7FUi4N7dUP7A9+VOUfYp5sOoWHofjMUg==","shasum":"685f8c1cbfb8e695cd40daa0113b831388589d36","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.2-alpha-update-icons-6070.1.4.tgz","fileCount":11,"unpackedSize":36033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiHjrCRA9TVsSAnZWagAAKZ0P/j7OxSdEWlHEdHz2mY7d\nJBDthgBG9I1jjBH+F2p0tvKpJPz5RX9Ce6Dy4IEOJcN15kIEEBjjkdZM/RAb\n6ST6KqVSL3mInowPXKwFPmeO6ASAwXFELtMIg3rJoJU9OiuXj1X3rI0Ta3wb\naxtfCQTueIp+h8lj8rDa59bM397v8twnc2CpBBkU9QFN1slSGppBx6Sv1OM0\ncNY4rF97lxI92li8AmGpxmY+bt6B9UIMxJKJa6xH69XCQgqQpStjuJgHDjiG\nXTe0rpYVePrMfVTDH8YxBYtLkCexf3lL2Re0dS6UMCI6KOw5kVUGZVtJi4Uy\ne7rHjOLNIyq46Ae3W/wYlzFWe93lT0iOh/I+hLg2wt9hhqb3V/5j6vkF9bCW\nAUG1oR7mELuUrUHMFz0vWlPGfxSqV5TFjY8u9sXtE5j7oD+vdezKu5scEW74\nUBdJMLInD/jITQG40mL8uJBLTzuHpV8by4DMnZLhsg9gyfHa7m/ln0ioARPm\nnS0fyUVoDLYgztSVZstYqkJTpa3v9lMlzdz6CfAUwFqX/olsglLztpv9Ty/G\nAa7/mfm+iww5Xdi75LZuX12xxRo9m/ylxS25acy7Z6LxDC9kMOPJsYmXUxQG\nrDyFU5aDpmwBlTq9SzZB+jIjWFAmh/qqtl3tWMGf99DHCC1iWXH79N5vaW9U\n3YyM\r\n=66QV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwIrFkHz2i7Uf9IfLx/lzLkDQuhfyfVXxEYp02sZDO9wIgcsZ3gyj6BaHi+V34gbrxB+/p+xlwM8EIAr75GmJLgOw="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.2-alpha-update-icons-6070.1.4_1619556586863_0.4304312747884391"},"_hasShrinkwrap":false},"3.3.2-alpha-update-icons-1.4":{"name":"@crave/farmblocks-dropdown","version":"3.3.2-alpha-update-icons-1.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.6-alpha-update-icons-1.4+2e7c4aa0","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"2e7c4aa06c2ce7795a675a07dfa519380c02f03d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.2-alpha-update-icons-1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (darwin)","dist":{"integrity":"sha512-skRtOm+HFTx6mIp0/2K9qjk+QrNJak1bIiOtumzSFY4MONTHgTdUaZLrPQ9HlolbUlBc0FrRloMP5We0QMXLIg==","shasum":"5c5f046a15887f582e2237c66631960f03b57822","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.2-alpha-update-icons-1.4.tgz","fileCount":11,"unpackedSize":36023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiW/pCRA9TVsSAnZWagAABKoP/3ew/f081+jCwO7UWPsb\n+Y80WyRt//18MRrwVgPP4WbHTQqyMb+3OVW40WVCrSDOvmbmZGUNKEltosg/\nLtAmbH6mEixWE00pfs/d8IXelt6HGHQ7biQxjWwtZwCl2xrvCqEgTbnF0+cg\nhUHMWot14T3hYUJ0Qb4GY7zRI9klEQh3UdqGhkvqMFMwRmbLg56rED//TqMY\nS0xDmjbA9Yo8ofLd4jzvzu8bzBEWVe6zZ5fagPCIHM8A+1hhQye63V0qATY3\nUX5CQFm8pyPmuBOT2UHmw18FYp1O539Fw65W2Zg6621QC6SyI7J15LzcrQNL\npNJ+9RGE9goaMoR7Jo3kBtdgEj9ZLBqv+3zWQu3NcY9vKgQEAnmonQWpkGOS\nN0+ZUWpuMdC18najjYZdnUNLLbcrblyCUsxOQggvyVTehJ1Ros5cXOEOSxkI\nhQYSNeO9FHxBB8ru1Bbr0ohL4GUYumSZgzqz5piqMJux5zAI1w3pZclcI32z\nEURXHs/wBQVyQIBRV1YiDPBI9S+4hJ5tOE++2u/HNp3f4zKY1cewTg1LptmB\nHeeBWCMp/DnAU8zLjaLJ/+mEDeb9gVuf7aNLypVfNMCF2ssBKOAdYU4K3exe\nZBBtVXGqI9ht+jmt4D6gdwNoAvA2M7cmAM6gVvLNKGMK/NpBQWKihZTBSM7D\nRnkj\r\n=Xuyl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFNVFa7A1RU2ZDjPuPhO2m62I6ur04FrK7pl4CIZvSyAiApqH4LLa0xu7fp4j9VxQD5zbTEVbikBpr0FkHY9a8wiQ=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.2-alpha-update-icons-1.4_1619619817094_0.03978942805156249"},"_hasShrinkwrap":false},"3.3.2-alpha-update-icons-2.4":{"name":"@crave/farmblocks-dropdown","version":"3.3.2-alpha-update-icons-2.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.6-alpha-update-icons-2.4+2e7c4aa0","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"2e7c4aa06c2ce7795a675a07dfa519380c02f03d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.2-alpha-update-icons-2.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (darwin)","dist":{"integrity":"sha512-aBmDOIMHn8XufE1pUw/Hub7oyThUvfiJY82ulHRW4RSbt6rLMb+lttUcS5CQTDNmaA8INyl/HRPLeWnbB21dNw==","shasum":"2fba44c7f9c2e32eee8bc4428dce827fb05a2173","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.2-alpha-update-icons-2.4.tgz","fileCount":11,"unpackedSize":36023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiXz0CRA9TVsSAnZWagAAQdQP/RyvCzyDAggKi4iVqcdY\nR8YD5d9fjJkVFUXEhQdMd38qVBRg8FZjfyDJxi00kwPmkIeo45Obz54kA8V2\nfSFHYpGhCXlfMI9iluOtBLZhgrftWCUU8KfPL7ofXDQSqAEQ1nGRNFih+7BD\n5rQca+yGsU+0D2/y3bdXZT4Nw4zGGe+zjuQ5vbGLs6566RkG1YJFerFnu6LO\n2js8DEIIhrN35FWI41reRADuVLPx0KcgS+AF/+B4pThSg6DZBsztEo61QUjZ\nDtT/Jfo2U3Alf7p+qWaIvTN0IhCRJg0nOf9XGvnsktElGpthHodH7sBIvhDh\n8ySMRBivZXS0+Z9GDcdnvj28W9ED8FvVV58mbjEyZpjmzzhQUAlS12pOQO16\nY28aye99XzfkxKJeNGsABtZA68IVf4IJscNOMtfyLFEhMN4zgPC+4vxkiccO\nimuL2UlKsrzZh+lnr1gbpXFnovuW2uumDU8px67d7ymgosP6BAOLhEOStexS\nXMJzsdOy3oTmA+epZ0ANmX7UJkECVw6576AmNcuqQN01JWZ7x8o1q1LIF/YK\nQcJP2Svx7yH1ptl0tVrqpvWTBaf7j2MKphL3x2mryEw15e+GzUMEjmbu7IES\nTBvj4aJp7Pl1iVsoyE+gcWAipNtA4Gz2PDcPHIagW9fAmv4/VxvQ8FF2sN9U\nTpKA\r\n=EXoZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNQ7aMvLw/UQfLUgpWu3tvH69mwlOqx4V0NgO4W+WbAgIhAKJeJd1JfWdpZTwbfaV/t9jGLnyC/02PMI+uhemFpDse"}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.2-alpha-update-icons-2.4_1619623156462_0.4684474891524666"},"_hasShrinkwrap":false},"3.3.2":{"name":"@crave/farmblocks-dropdown","version":"3.3.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.6","@crave/farmblocks-theme":"^1.10.1","react-aria-menubutton":"^7.0.1"},"gitHead":"dbd7c5afbd10a82ed16ab61b74c07ebb482b82ef","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-5GzN1wqzsE2Z8EXJ9GeRT5jRPz6G4fu9UCckecVGUy01OH3OIz/OM58bSBZ2oqshAjQaHRDv7S7bs+stoN5vYA==","shasum":"db99ec15896afa3cd2b95370e305215a48ec206c","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.2.tgz","fileCount":11,"unpackedSize":36173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiqROCRA9TVsSAnZWagAAYDgQAKIF7OkApRCT3MU0eTim\n579HivA6/YNnNzhLEhKyWTW/j7C3S7Vdc75WtjorKAq+EawY1BrxQZ3j4Xq4\nXru0eRctjlJe1ZXp7zsrRBqGEp+5kpIZG9KynABFRnQJPyMCYaCYKBD5kDaB\nGSzoxMSZJiUoaGbI/39gnrb9mIWbRJAGJtw2Z9HDMka9m8xwd8ijh6JkMm5B\nneavSsg5Y5h9BqUTveslTtTSQAHa0SdtAe5VpF437k4mFU/tpny8BhxdNh5j\n35JPkDhckHiLh3wrfzGZhbFp5hRMjQcntfc11MZ3oiTvVRwlz9xe3/cHt1N7\nEZavJyy2XUKQe7NOt/RGNdjIjfI5ge/NEv2owXDD73y0twyPecV+2h7bb8/P\nL+byL06ZLTSmUrYGh2+qH1mstq+Vr8yWgSHSukat2gfLgHgW7sTtiYbLEd/y\nRKu6SOnQFXz/ll8GPk6t0lPFlK8G/Yl6bCWe/JkHkSdlWpgwQzOfJiPqlB7d\nrvKUbNnRfKMpV5ToCO2UnokQDM2G8reimGKJ3usJj2AuuKJeEW/dfv7Qiez8\nweJVofilU54/MWdT3aosVibdBNNWfQW//5+J2nd9c9pibx1/h1PJPv0OsiWn\n7QL/1ylP8+r10w1XmNzUUgwz7FSIIIM3ADvyKCJCpu2PqYna1jyhx7/L40/O\np35I\r\n=cu+t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEiL3HCuYRUNCGtMLkceWWJijA8/2wVmxJ+EZrYbltFAiBSyASfISalzHLtwrF7PEYWkUkbTR8+6/odOBp/MuRe4g=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.2_1619698766066_0.01719057364366061"},"_hasShrinkwrap":false},"3.3.3-alpha-add-font-size-6125.1.7":{"name":"@crave/farmblocks-dropdown","version":"3.3.3-alpha-add-font-size-6125.1.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.7-alpha-add-font-size-6125.1.7+7f475499","@crave/farmblocks-theme":"^1.10.2-alpha-add-font-size-6125.1.104+7f475499","react-aria-menubutton":"^7.0.1"},"gitHead":"7f475499e3df2fdea986714bf3eec2907eff074b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.3-alpha-add-font-size-6125.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ISefVjCLa3OuTi/beRj2SFN1MS+stYZNe6GSijbEmkRQ8BXKm3l84mGMjP/MBAglD0YgcCqugp5e4occxF4oDA==","shasum":"20e0e703abb4a687dc02ab30b85455ed5a93e493","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.3-alpha-add-font-size-6125.1.7.tgz","fileCount":11,"unpackedSize":36289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5dvxCRA9TVsSAnZWagAAU3YP/07ahsE9/47hocozTYiA\n3JZKOaRhSoEFqalJvQ5MwNzPKZXZobHbeElXh7h5kUEA6GscAGa9P8/IJ5PK\nuHkOKwLy4Kx/179xIpR24AIH38c14p3locTQ7TYu9xHIEW3PedKVwx7Sgf4W\n+Yg0E0nr54x/vp0dXE7vxZbL1Ilu8Ag1DR+RhW8S5VdC9cAYLnQakkEUOqsu\nKZQBbxOHh14YfXGgOyAnoJVkNNtqzr8+rxLKT9FqwptHs4rTSUpjVjHMLIlK\n/ps5XBHFdjpoqqZcVTKW73MGtcUmnwi95w2O63U9dGuIi0hDWi26SPN1oNv5\nK6+oel/1AJGySRURbwyj/w9xIwKN2wOFGSlZFbDrG8cp8B+gfyv+/Nk+MIQI\nUUnyi4u6YAg3HzLpti3Ie4ly9dMldaj51vtJYTChpIbJsUJnvKGxIV0BwfvJ\nfLl4oXa+UqqhwyMynKcIWuqaQz38ltSITNU6qw3oESxyaxTSecZcXFSBCyjj\nMBMXKF3h58gyvR1BAT9TCOJ5CRQSsXAWNa91LBCKfAvnUneyLUAC5ghAvEHB\nb7pDQbkPx0nCoq/Wz9KEBoVtyxdztCC71dla4Gbf0VWZ/caV06NkPdX8tUWy\nIGmn/LO7vhGeNkVOVu9OpiviaKRAcjti3a2w9HLtGhgT8O+BMRU9Eg/sQBZB\nqpTt\r\n=tB5R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFgqnyChZKZ6IjMUzO0mIKLySzyGROc/mNJHi8uKnwJtAiEA5+MA2fIl13asJBVFBHEt6Xe3RbsKQyIv02Jvm4qXqIc="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.3-alpha-add-font-size-6125.1.7_1625676785353_0.18789243825816815"},"_hasShrinkwrap":false},"3.3.3":{"name":"@crave/farmblocks-dropdown","version":"3.3.3","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.7","@crave/farmblocks-theme":"^1.11.0","react-aria-menubutton":"^7.0.1"},"gitHead":"529df422c27b1ee56543ec2e1c331ec17d8d216f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-QmdEfPv/0YUkGqi25W9oBBIx63Hv0d37Xkqj4mpqA1BY05vcnghIdvJQL2SHqchywMV3W2uSobvf9fxbxshvUw==","shasum":"59ef5fcd689a9e6f03a3ed4f45bb63a3d2f9247d","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.3.tgz","fileCount":11,"unpackedSize":36387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5eMBCRA9TVsSAnZWagAASLUP/2j8/JUuUz9n9VWyyoiT\noOabHIpDniXn6szARNA0wDgszM6N4xk3L3OkMin1RHNoLLwxLeySahG7CgHk\nuS5sosAwMKIafpHdZhiMp1lNjoKpBRsP+zthHxqNwvJl0/mZYDBLTnubkDNL\nrepB4EaLgNMpwrgOMEHMnDbtZV+47BNpKBcgTa3pr00/KqKP0ZJelsgIZ+2H\ndamrwXxqeauCZhQXQYhhewlJ1qL7B564UO5HUmjDE9aCPDyqEUUaCkS/WP0L\nKDfYDIkBltMria88pjTYp/yX99d1dBdu1OcVMOZYIS/D0UCWvu5KYAHuN+FH\nT+OudGrvgszicbPLrFT+O1pCAP+CJUK3SXJSTmSOmsKK19FmuaThYdJtVXV+\nGi1if6GEwpZ0hklStalxFD7qYALQVVv9vipElPvPgYvMOfc6UQcULCsQ7P+t\nyOfIQFEvmRcAfmdvZ/len/1ng8OFA0Vt8Fwdv6pzeFVnC7fJ7qlFO5t4t/7a\nepu2z+6Bbdx9YgQptKJT65ikEEMQZlK9yJj2tcPcoFCAfYAgIfcuLBLVgLX/\ncYVT7UxsdR9xEsvkMMTfyQDd+oFunHa/I8Xw1k8JAD8qyyu4T3UJaEZV1hUe\nCnQO/F20Pm0Us7mcT/uRR5TtbCh6RIK2ZKRvOar3uvwrO2E8UgRNveb9neKY\nrTzq\r\n=YA7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKlwbJ47qsCn2djAt1OwVNZUY+g8Rb4fYr6dMqqczFIAiBqzNnr3LwxOpZxU+XDlXmcbcLyqYb51PfftgspaU5nNA=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.3_1625678590492_0.791500393568322"},"_hasShrinkwrap":false},"3.3.4":{"name":"@crave/farmblocks-dropdown","version":"3.3.4","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.8","@crave/farmblocks-theme":"^1.12.0","react-aria-menubutton":"^7.0.1"},"gitHead":"3f925c2d08be62ee3671411e5fe69272aa3c6960","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-D5MAaSSNwBif5ZBEr2CAJoULB7XltH9fnOufakGjk594lsV81xabzb9xd+eF66Qe78WLm93GgMG61WMwV0ir4w==","shasum":"9d1aa388857cd9ba7696d9199f483893285765b2","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.4.tgz","fileCount":11,"unpackedSize":36601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+z/tCRA9TVsSAnZWagAAl3QP/29OGBFFP4wmEgmwzEna\nGeNPFy97EdUAoazFFwahTmJB7J5DCFVOS1YRrxOQbksNXIsQUi7ocaTOa8wu\nohwU6KVgGEo8AnRiNPRFNTpKsqpKDOxtK9Z4/FvVT972ZhA7fXL2ntmRLkwS\nnv88IAQDNwBSZwwTl7uE42Z8Dvfdqzsb+sXrepd46VhgTyYefHenwJ/Mln5K\ngaZuQ57mCvZ2CDOonKbnpeRok/iMChywb3h7apIYTws35qtbenH0SDaYTctI\nBzyz4fm0cHwS/DZjSRpqPx/wC0j5xyV/Ftz02OolWYhgwYVcSEs4rZCgMW8C\njGdgUuDgiYhNWipRrjrmYDN+XKJ9jOfV4BUE0QyREnb1U7KFGwXAy43acs/U\nj16unaIgtgcAJlrIqbp2gO/FS9eR6RLpoUtU6DGv7jaD1Ltja9RPTG0+WCtH\n7rGvToVKvkYIqXUakukdDY0vu1o6SDuHAKfAznSVjsSuh/dQspBhFiasSr2d\npXvxuL+uX3P0XqNwGut1HWkksyzpWlkvTTQc5BKcMYBE6+UO46MJxKXbOOKQ\nK5+uyX1+8DbQG5Wt4nm38bfeed0b9t88L0CcCPIdZPIX/IhVe2KDAbfTk4+m\nwKD3+GITgVCduAESfNuADs89Df1kbpUr4yh6JsTu8XU3FURPzPIEBz87uCLD\nh9Tp\r\n=oND7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRe09nNJ/arPIL7Edr1DoV1+bA59048Gp5ubtXKHVq/wIhAOO3qpcMftfWr39YSofC0MdaTt/DNQwsXDSN8BSKd/Xs"}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.4_1627078637162_0.3607688183487512"},"_hasShrinkwrap":false},"3.3.7-alpha-lerna-force-publish-6137.1.0":{"name":"@crave/farmblocks-dropdown","version":"3.3.7-alpha-lerna-force-publish-6137.1.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.11-alpha-lerna-force-publish-6137.1.0+091356cb","@crave/farmblocks-theme":"^1.12.3-alpha-lerna-force-publish-6137.1.0+091356cb","react-aria-menubutton":"^7.0.1"},"gitHead":"091356cb26d3d195b382de0928e69fe7f006cfcc","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.7-alpha-lerna-force-publish-6137.1.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Xgr+E38D2iTkMlmn1sgOsuZiJl1G2+36cWRbNKmgSrjMjOmkobStjd/GPwkaRG/TdNeXCmZpFVSaev4J1YbzYQ==","shasum":"b7c2a325b109848057143eb18566ae5c73ff418b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.7-alpha-lerna-force-publish-6137.1.0.tgz","fileCount":11,"unpackedSize":37162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/r5gCRA9TVsSAnZWagAAHQAP/A0N4NiBQTXhr/ZLn4wI\n5AOBwQq5qvTvK/RZQ9DzSQdG8xiPRcZpJ15l+ZRbjouYBfF72M3XKHPtCeo8\n2aTBCBV8UUNUELugFZC2jWoYEnGAGxFMHtcn1eRJk/yIU0AsZYoEzSVUEARc\nmSBYMZ/lawrZ7Q8Z/2vwZhAKD51V6fCwXXm8tmZXjojNhQUYFejs4e/sKoKh\n7SYVLh8/SaxlAipAS5Kft+/z4CP4MbpGRrdc+AvRlvzRVQdSEtdAZMh5u8Xt\n/7Xq7UQhpYlLJhdQNQxBbovbyBA8JFtLoMmuOuJyLFigDow+2r5DnzsmdJeX\nefXLBEZOINJy2Q3fdrdKZf33TETDUozDUy5CUGolPPpBZ2ZD+azC+bY4dgzE\n6Ta6BDzKn/SeVRecjqEjldrm3a6R13i6E8yjLQ37zgD04u7lQZevrp+ibHYE\nrzXJSqtr8nAhXRnYqRHWTL6dR2jEL5HWkZ0wnIX4pFD1OFzxR429gGulnEmQ\nVsWNrTWT+w4sZZ6C0CfT8F3r+DMMX9nGDF0AVNGRqQTc9zqc9MuqKdmZMhMZ\nEbmO5UpT0kXS5dSBHboMtC5RhVXiyomWEHwdggdZZWA7UJxLOMriTf9KYt2m\n6urAxQ0JdzZbnxFsQPXy4MxHzP9nLwWY1FqdUMP4mSvyUmeTXBEfZpbXd0Qu\nppVz\r\n=z5u/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFE6vNCLg2hbEZ8OgbGJYbN1IEYdVN3n3Zv0SQTZGuVXAiAgv2jAhvROOcSODVZnKEMhM3g92FKfZPM4ia6kbFU6yQ=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.7-alpha-lerna-force-publish-6137.1.0_1627307616172_0.7092754156798857"},"_hasShrinkwrap":false},"3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0":{"name":"@crave/farmblocks-dropdown","version":"3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.11-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8","@crave/farmblocks-theme":"^1.12.3-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8","react-aria-menubutton":"^7.0.1"},"gitHead":"03a0b7e879d9889f456636c79fca43fdc271c84a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-7auXmdJTStc+Uaqpro3ViL5uqP0Y9y6oaS23mNxkj02IxvFEasv+nlawpGKS6Jo4t6QTHYeDfAIIcehvzwxTuA==","shasum":"8accc2514151c010f65a9e93a61a0bc82aadcd2b","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0.tgz","fileCount":11,"unpackedSize":37192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFAfNCRA9TVsSAnZWagAAaHcP/1hX3BJdV6pXWdAtCoWk\noF04Zi8XmEn6efLg7cVWrXE0cJJcaZN91ak/APrpTrtJNVGJyz+wsmFyySYL\n7CJucz5Z5DfLZMLkeyKrLDE8ELjNDExB0lTrM9+NCrQcQF8XAgjlSyW7x/sz\n2MEmGfPswPzywtLiD4F7yIWo/UCycCZEZAcnn/hUtivGyLNbTFRQTIip8pT8\n/h1HV4itVrxvJ7MXbYkzVfk1F56cImjGmYXdzPoC+yRoecT/n1zhOPrPrrw/\nfXW0C8FbB/v+/K4TRH1zVJ0ZTga6ZzGvGeecgoq0ihQlLQHeW8z1Wq1DFGmk\nIsRoqYSgIt17c49muT66N0eM8hMhHX+UTOzx6V74x/bgFcGpe7xb+6uc7CjM\nJIynYT7rYFyJOcbSXd4UaeOAJSXFZFBITEG/rAh4ruPYr97wvKNkL21PUrfX\nkKzg88ako1SJx7BVYUR6ngrlvomZNUk2PiRsz/jNv8R/hY8CXKllI6A78gaC\nPn+O0WMWz5YmZEWXRW4u6O66csAToVj6Zxgm0YvQOeDu27g3a1VPvf1wZTtN\nSpPLGueMnHrO3cFtQQLwBK528szP/dXWYFuz952qbwOgDzPhbA/agG5KyLX0\nFFrzVSYSulLy65FJAw2Je7YBpFVvjsZ/V7TAnh/fC9fhPJU6Pe4WjN9PXEu1\nyJlA\r\n=oN6L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu/0DhbCgF6J9Qa7eN/GH0B1+2MnEIXccMU6L8tVbSYAiBl+HyYejySjWG8O3kUGVTadhNA89JhlOk4N7KApulv+g=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0_1628702669488_0.8554035613733872"},"_hasShrinkwrap":false},"3.3.7":{"name":"@crave/farmblocks-dropdown","version":"3.3.7","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.0.0","prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-button":"^10.0.11","@crave/farmblocks-theme":"^1.12.3","react-aria-menubutton":"^7.0.1"},"gitHead":"0c3be1617e4e4bd27d1b07b98987befeea153300","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-aO5nopzURQvXMQKMPlbKi5ASmNWsDd22v+rKUrkWC5Iy6zs80WGi19QVTxt0yshS5FG8oeENDDbyWxK3HxFtGw==","shasum":"8fb5bc2c5a96cf97b150e05cb9ba9c087c09c186","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.7.tgz","fileCount":11,"unpackedSize":37244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFBJ3CRA9TVsSAnZWagAANDAQAKPLr4/LYD2DjVhjPxb6\nZVzIa/h6oQerLaFAaXt7COubW2sBWdEeixmW5xzZPPMLEtaIC1m3NM+ItJ1D\nIXmeys463eDl853cV94IBq6EisKOwD0xQNLBGN1pIneb/ogTNJ/NwGT9kXAC\njy26Jzk3uoxibVsBD/RcMaKMMZGgEGrdG8y3BZfqzGWsQm/x2NL+1vSM8zgn\nCBCf85UZUOkwNRbw3uC2WCF04mwJdLslbNU9K/VGUPl+wqrQl8EoS4W4FYJw\nYD+7WWnt9dSruUjv/cRvVLyO4gqSHmzO3MCqeuR0DSfRW1NfrPZtDZBl740c\nzb5UPu9Vep9CULXC9YIlBDGQ2Q+4ki0E9Gj9+vCEbmIOQAOn7nH/lZR/cucL\nbhAV0X4yJ2XZkwxJ0Tcc9mUHKRJeG1s5ah+1rO+kZh+F8pqx/lCiCUrZ779m\nEb66CL1sLSkL1gn8qBEl3Fiyo8z3c9MfuzeCkTa6fokzY8wD4uF/doBMRrJQ\nhqoI2yhSHyGwet7LC48pVc8zjnnmn8MSvt0lc8nCbWTcji2aFuu2VuE7BYSh\n0l8qxW+UqKqffDWEtFLUQL5L4mtCtm3ff1q08eedCHiYuAUIzw7oqAZEgpts\nE1xImosDkQvAiieF8JFJzZI7ojUEaSafS3GBZzEh6NX9lgsu9ud8TGSr6x4o\n7XSm\r\n=GmWP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzGVLgjTXFu4lKbBwGpxGlE0TI7E1p86BpbpaAn9vkwAiAInfJVUreBfWH3Wl2NX53kPAJQG0Sg8I2VtdWo0Ju0mQ=="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"juliansotuyo","email":"julian.sotuyo@cravehq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.7_1628705399473_0.26074647639633963"},"_hasShrinkwrap":false},"3.3.8":{"name":"@crave/farmblocks-dropdown","version":"3.3.8","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.2.2","prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-button":"^10.0.12","@crave/farmblocks-theme":"^1.12.4","react-aria-menubutton":"^7.0.3"},"gitHead":"22b3a1773647b5b8be826e84ef0d9dab024ebfb0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.8","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-+ed+mMLn5weKXci9rU2XpPlgE2fkTmUbDU+uZaY61kwl84GFyviqcI701V69XyXTIuVoBXDtiRM8CEUSQUy/RQ==","shasum":"541618a89196f67f0dbee52379678b7f911b3cd3","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.8.tgz","fileCount":10,"unpackedSize":12581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1ZO+CRA9TVsSAnZWagAAhxEP/jHsQlpRUCzE/09AOubZ\ndu8D69sRdxEVQ05jbHLWIhcxdmOgM2+MlUXyqsjFIfSszeNOta0eQQKpfsBL\nAG4j9hXaE/YpuDZqqtDsHbodnHkWDDXoiJBUNURBVxtI6Yi8/aZMJhzOmNYA\npVFQa10IBWxEHXrYRO77TBWPvGoxbxEdmyuPFzWFJurBGLuvLrgA2wO5arQD\nMko4YAV/Ykmg0Fho9HL0WlP82500qxu52E2DDfhJasXpHpRMRNwHD3Aco/IM\nHzDXIGVRhK6gC9Bqt6XxV9yYbCfO894hUo/Iil3E0Y+I+ArHFKI3jy7qaNgl\nVR9dbRQa+Id71DZwR2eG0UQHVxuMC+nxpUzBu/gs3J00iPuEdwsoOVBubK2b\nudySWlonmbmgnxFrEa8ZCqNJi4VWCiKWNG22MRES6XQNOeQjtIntFX4QKeO+\nPb6y2qaCKOkoQHb9OXKGplo1xQHcVaBbWluYjsnqjqnhPvIVmpEIVS9miqs9\nBW4xpyYg5Dux6yWTc7em2un9UUXe8pQu4Q3eEkl12aG7QKwa/2/3P2/nGJjE\nTCY0IKfhlVQ0FT6ynlbKaqIr4CcwAnZNI5OIjD2bcB0lO65A84pZS1TQ8M8N\nCeXMYZNJrEA3G0VpAvQDwzrcC+4h0l2U3EBitKz4IDajHHhcrV7JCLW+TbMt\njlYm\r\n=K60n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEz0BETPjFMLAuyqsj1urQvrhXqRkiLK5MkFyIvCBVi0AiEA4Gjc1Rn2qnzyhvPAIFAHBiHA6BAurLMeFMsZDRefMiA="}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"viniciusmartin","email":"vinicius.martin@cravehq.com"},{"name":"luis.nascimento","email":"luis.nascimento@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"me@imwra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.8_1641386942326_0.01674446927964013"},"_hasShrinkwrap":false},"3.3.9-alpha-fix-deps-6232.1.2":{"name":"@crave/farmblocks-dropdown","version":"3.3.9-alpha-fix-deps-6232.1.2","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.2.3","prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-button":"^10.0.13-alpha-fix-deps-6232.1.2+1d3df5d3","@crave/farmblocks-theme":"^1.12.4","react-aria-menubutton":"^7.0.3"},"gitHead":"1d3df5d366925f772bd4889bd76badcc42bc595f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-dropdown@3.3.9-alpha-fix-deps-6232.1.2","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-G/A/rZebldP46Ho+sIZjRyDLBk0Ac2mUzojxkwoxcnBVTxjtNjayVbbPCZR4OFIsVgPDYAMQ1hmC6Z7JAhUUzg==","shasum":"12a51259945f4e10a812b18ea1c488afe1533796","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.9-alpha-fix-deps-6232.1.2.tgz","fileCount":10,"unpackedSize":12647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBCS2CRA9TVsSAnZWagAAADsP/3jbL3z/I/ur11WOCHhF\n0CMvmk71vP5FE2PGoAGyvp1UHqfByGautAlpNEI/nn+wkFQF/qQGIfJQ4xWB\nqeM1xuZAEiQbPg9W2T0xw30P9B4oQW7V5hlwb/Y2zKm/EYQ4ijp9rw9PlSu1\nyRej3IYCNCisNyxZD7Ky1d5Ji1nRukx3FjIYLBwvfKNNbwFP54v1dB4X3THP\n2vk6Og88EDR7yPBdlYWROi70RPtQWHWGxs01j8H4Q/0VkTjwgn3RpEeRBDnq\nWCc2f7ReYr7SUS1toCK/p7aQ5xEY1WEiT8G/UrUvcssZj2AqgnyuRYlvfP0D\nu1e6SxBsDvFCu11NOx/49srqUyfqqw14tiTlPGlA91qdQU+b6j79NL5L8Kzs\n3Iyl21de/OZ+CVeaVZYmFtRrODbXn00ncsVF5PP3Pbf9NhzjUAL07guA715s\nhe/w3vJcPbHmGHr09/MKc1ui1BgYZosvmgZbKZxmM0Wnb8or2gJhN7qbb57S\nmQJKRwfvzLtswtwLTL/0xPMZt9eBNTp6daesd0PwhBvjU8eUEHyCqj1KMdiD\nUtouLWDX7qvSVLwZFptX/92NRUhDpHcDhk1SbWMvKQvtzfHL6jUL6aaCqyM0\nJRXKfsV84Cduc1OCVr1ZxeDVybvjcoHADIfjFz0rpisfcqcrtQPH23W99v6+\nnGeT\r\n=hiIu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeaNJizQ1PTuqxGVTgpLhfPJT7lRqRMfjj7Jk3INuKLwIhALLe1RwjW36b2R1DhAkfJQLPw7pHnBzy5qEMzfqocUb7"}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"viniciusmartin","email":"vinicius.martin@cravehq.com"},{"name":"luis.nascimento","email":"luis.nascimento@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"me@imwra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.9-alpha-fix-deps-6232.1.2_1644438710833_0.2108721330038119"},"_hasShrinkwrap":false},"3.3.9":{"name":"@crave/farmblocks-dropdown","version":"3.3.9","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel --root-mode upward src -d lib --ignore 'src/**/*.test.js','src/**/*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"peerDependencies":{"@crave/farmblocks-icon":"^1.2.3","prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-button":"^10.0.13","@crave/farmblocks-theme":"^1.12.4","react-aria-menubutton":"^7.0.3"},"gitHead":"aed8b93e683ff6733de9c58d26f2e407f9b1aa73","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"_id":"@crave/farmblocks-dropdown@3.3.9","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-DVH1uhNW2WCJfl+/p2rQSZxki6qQM0aYAI1eM0J1ofa1Hx7kQuEWKD22Cg6A3XspfYxQJSKX3NYaOs4yWTmqIw==","shasum":"64ea21ed15cc53149da0aff9819405228bc7e247","tarball":"https://registry.npmjs.org/@crave/farmblocks-dropdown/-/farmblocks-dropdown-3.3.9.tgz","fileCount":10,"unpackedSize":12581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBSRPCRA9TVsSAnZWagAA9TYP/0KWqFBsazTaKU4bOn6Y\nv+xCgBkkDYxQQoM0E+JsP7UvADKRl3Jq2NBBhg8acXEJe+J1ZkEvDQiBOjcB\nyvjyoMNdSxzF8CR3kl5fxpz6OEOWG2mWEOK9Dn/5pW0T77Rf9v31r7Zlol+y\npkW3cRXuvY6bWql3XmOg2F8D38XAWrGXqwkCHeepk3BLyUJQrZQtjrfcVhuK\nEzlTGg6xRiZRLEmFk7QOxOnN/qpI2Moq9RevRS//Aj8OIbwt+V5LxXYVZiHg\neKR5JQ3nEhYT1IR8MZpbbc8wmflFHyeNInzGRXz1FmC9JBd4DYjFrRrUnZOL\nfURqma7as0+EwILdGh7w5r8rsdioXkt+PrXGfUkql7sM1VD45lrwV8sNQGeW\nkU0gcgBtVZ8CCXO+gsEhiaPMCa3DFQ2yV3VRDkIveRQZRx/MWQqjK9CgL0F3\nVxFlfLSafZpzawJ3mG4PrPOdm4cVN2JZ2mRmw+fXql3AfJ0AwhB8ekbuHsvc\naqLDoRzDsXWMRSMPezUGTZXecrsyuxW+KsnSeiaw6rJD7wSs3+M36Cseg9qz\n0YxQmVi0zIJOIs4HSryx9qX8f9lHloX/HwxW3ygP52SAk39THL60F2tt+tfn\nXkEGWoKYG+U+CmR8TkrlVF9GF6FtZaxjtCAGoT8bRYKx6udpWr+B+2wZ4Bax\ndBo0\r\n=x2QW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD73ub3HMSHzlbOs75b6cc4GwWMypdv2XOi4xES3sX9ygIhAJQ1CrPPYhj4AH9jx+4GlcrmnBORaKgzm9oZU5u98zGG"}]},"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"maintainers":[{"name":"viniciusmartin","email":"vinicius.martin@cravehq.com"},{"name":"luis.nascimento","email":"luis.nascimento@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"me@imwra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-dropdown_3.3.9_1644504142940_0.26688493421007564"},"_hasShrinkwrap":false}},"readme":"# Farmblocks Dropdown\n\nSimple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook\n\n## Installation\n\n```\nnpm install @crave/farmblocks-dropdown\n```\n\n## Usage\n\n```\nimport React, { Component } from 'react';\nimport { render } from 'react-dom';\nimport {Dropdown, DropdownItem} from '@crave/farmblocks-dropdown';\n\nclass App extends Component {\n  render() {\n    return (\n      <Dropdown text='Select fruit'\n                align='left'\n                handleSelection={(value, event) => console.log('handle selection', value)}>\n        <DropdownItem value={1}>Banana</DropdownItem>\n        <DropdownItem value={2}>Apple</DropdownItem>\n        <DropdownItem value={3}>Strawberry</DropdownItem>\n      </Dropdown>\n    );\n  }\n}\n\nrender(<App />, document.getElementById('root'));\n```\n\nThis code will render:\n\n![image](https://user-images.githubusercontent.com/17936244/35000319-3a1b4d12-facb-11e7-9f2a-1b3024772f0f.png)\n\n![image](https://user-images.githubusercontent.com/17936244/35000359-5cff49e6-facb-11e7-864f-b4abdb32e639.png)\n\n## API\n\n### Dropdown\n\n| Property        | Description                                                                                                                             | Type                     | Required | Default            |\n| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ------------------ |\n| children        | Pass children of DropdownItem instances                                                                                                 | node                     | x        |                    |\n| text            | The dropdown label. Renders only the icon if this property is empty                                                                     | string                   |          | ''                 |\n| handleSelection | Function to handle selection of a DropdownItem. The first argument is the value, the second is the event                                | function                 |          | () => false        |\n| align           | Align of dropdown items container                                                                                                       | oneof(['left', 'right']) |          | left               |\n| zIndex          | z-index passed to the dropdown items container                                                                                          | number                   |          |                    |\n| width           | Custom dropdown items container width                                                                                                   | string                   |          |                    |\n| size            | One of the constants in `buttonSizes` from `farmblocks-button` package. For convenience, `buttonSizes` is also exported on this package | string                   |          | buttonSizes.MEDIUM |\n| buttonProps     | Props to be forwarded to the button trigger                                                                                             | Object                   |          |                    |\n\n### DropdownItem\n\n| Property | Description                                                                                                            | Type             | Required | Default |\n| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | ------- |\n| children | content to be rendered as the item text                                                                                | node             |          |         |\n| text     | This property is rendered as children of the item component. If passed, it suppress the children property              | string           |          |         |\n| value    | Option value. This property will be passed as the first argument on `handleSelection` property from Dropdown component | string or number |          |         |\n| footer   | Flag to use on a last item to behave like a footer, without hover color and regular cursor                             |                  | false    |\n\n## License\n\nMIT\n","maintainers":[{"name":"viniciusmartin","email":"vinicius.martin@cravehq.com"},{"name":"luis.nascimento","email":"luis.nascimento@cravehq.com"},{"name":"seocam","email":"seocam@seocam.com"},{"name":"vnakamura","email":"hello@vnakamura.com"},{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"imwra","email":"me@imwra.com"}],"time":{"modified":"2022-06-12T16:44:16.455Z","created":"2018-01-16T15:26:29.556Z","0.2.0-alpha.ad4af0bf":"2018-01-16T15:26:29.556Z","0.2.0-alpha.72f7861d":"2018-01-16T15:27:59.064Z","0.2.0-alpha.c7f237ec":"2018-01-16T15:30:16.828Z","0.2.0-alpha.72a11852":"2018-01-16T15:56:36.063Z","0.2.0-alpha.37f958b0":"2018-01-16T16:03:58.250Z","0.2.0-alpha.7940b619":"2018-01-16T17:03:24.629Z","0.2.0-alpha.99d6ab88":"2018-01-17T11:05:30.697Z","0.2.0-alpha.435841b2":"2018-01-17T11:31:09.765Z","0.2.0-alpha.3c3d2f95":"2018-01-17T12:39:37.006Z","0.2.0-alpha.a4f724ea":"2018-01-17T18:59:24.555Z","0.2.0":"2018-01-17T19:16:45.512Z","0.3.0-alpha.e15f535a":"2018-01-17T19:25:55.556Z","0.3.0-alpha.caa5275e":"2018-01-17T19:41:52.808Z","0.3.0-alpha.7012925a":"2018-01-17T19:48:27.031Z","0.3.0-alpha.6c3335fc":"2018-01-18T11:19:55.280Z","0.3.0-alpha.e6b4f216":"2018-01-18T12:33:32.951Z","0.3.0-alpha.fbf771da":"2018-01-18T13:20:12.538Z","0.3.0-alpha.122361b5":"2018-01-18T13:20:43.373Z","0.3.0-alpha.5696eecf":"2018-01-18T13:30:05.112Z","0.3.0-alpha.40b945a3":"2018-01-18T13:34:43.833Z","0.3.0-alpha.2b628ef5":"2018-01-18T13:40:56.812Z","0.3.0-alpha.1c8fea83":"2018-01-18T13:45:33.174Z","0.3.0-alpha.dce1d648":"2018-01-18T14:11:11.613Z","0.3.0-alpha.6d250d81":"2018-01-18T14:14:49.845Z","0.2.1":"2018-01-18T14:23:04.016Z","0.3.0-alpha.2ddd8607":"2018-01-18T14:25:03.917Z","0.3.0-alpha.c94904da":"2018-01-18T14:29:50.821Z","0.3.0-alpha.9152ff6e":"2018-01-18T15:01:57.176Z","0.3.0-alpha.edebbebe":"2018-01-18T15:16:44.237Z","0.3.0-alpha.a99690bf":"2018-01-18T15:47:12.931Z","0.3.0":"2018-01-18T16:15:31.744Z","0.4.0-alpha.6223518c":"2018-01-18T16:40:09.124Z","0.4.0-alpha.173aa547":"2018-01-18T17:23:32.511Z","0.4.0-alpha.26ead46b":"2018-01-21T22:19:18.187Z","0.4.0-alpha.67392dee":"2018-01-21T22:19:33.942Z","0.4.0-alpha.cc6afb85":"2018-01-22T14:42:53.740Z","0.4.0-alpha.1bc89e42":"2018-01-22T15:18:00.852Z","0.4.0-alpha.bc5712cc":"2018-01-22T19:07:54.748Z","0.4.0-alpha.7302ebb3":"2018-01-23T12:23:40.529Z","0.4.0-alpha.4e7595c8":"2018-01-23T16:04:39.622Z","0.4.0-alpha.e6a26cb9":"2018-01-23T16:22:14.689Z","0.4.0-alpha.2c979b0a":"2018-01-23T17:27:15.485Z","0.4.0-alpha.3c32b1cb":"2018-01-24T19:44:29.544Z","0.4.0-alpha.86be4ec4":"2018-01-25T13:05:00.464Z","0.4.0-alpha.65457599":"2018-01-25T13:33:14.918Z","0.4.0-alpha.b29e8642":"2018-01-25T13:42:01.972Z","0.4.0-alpha.c7705635":"2018-01-25T17:07:37.880Z","0.4.0-alpha.7c95d821":"2018-01-26T14:20:35.912Z","0.4.0-alpha.ddb299e4":"2018-01-26T18:25:30.618Z","0.4.0-alpha.01d1bedb":"2018-01-26T19:19:18.040Z","0.4.0-alpha.dabda2fc":"2018-01-26T19:41:32.335Z","0.4.0-alpha.adc7db47":"2018-01-26T20:32:07.047Z","0.4.0":"2018-01-26T20:43:58.944Z","0.5.0-alpha.a6f9ff6e":"2018-01-29T12:56:20.694Z","0.5.0-alpha.248886ac":"2018-01-29T13:06:05.053Z","0.5.0-alpha.89947df1":"2018-01-29T13:49:21.393Z","0.4.1":"2018-01-29T15:45:47.846Z","0.5.0-alpha.4ae95cd3":"2018-01-30T19:21:52.716Z","0.5.0-alpha.8bed828f":"2018-02-01T19:35:38.641Z","0.5.0-alpha.7a6345d0":"2018-02-01T20:16:45.749Z","0.5.0-alpha.f0847fe4":"2018-02-02T10:30:09.274Z","0.5.0-alpha.d2f9c44a":"2018-02-02T11:05:16.393Z","0.5.0-alpha.81525f03":"2018-02-02T12:27:30.986Z","0.5.0-alpha.1d453a48":"2018-02-02T16:17:10.624Z","0.5.0-alpha.1d964d63":"2018-02-02T17:46:53.047Z","0.5.0-alpha.06e7a5b8":"2018-02-05T09:35:30.064Z","0.5.0-alpha.2aef1aa2":"2018-02-05T09:38:33.895Z","0.5.0-alpha.a68e0700":"2018-02-05T14:40:22.374Z","0.5.0-alpha.bb2ec3b6":"2018-02-05T14:43:22.413Z","0.5.0-alpha.f79f943a":"2018-02-05T16:38:17.419Z","0.5.0-alpha.ce51f213":"2018-02-05T16:50:24.614Z","0.5.0-alpha.3134216a":"2018-02-05T17:00:56.435Z","0.5.0-alpha.801437d8":"2018-02-06T18:29:53.388Z","0.5.0-alpha.9b1c1d2e":"2018-02-06T18:33:28.294Z","0.5.0-alpha.cc1489f2":"2018-02-06T18:36:50.295Z","0.5.0-alpha.4b468a5d":"2018-02-06T19:16:41.322Z","0.5.0-alpha.0572d73d":"2018-02-06T19:30:00.364Z","0.5.0-alpha.cedbd9c5":"2018-02-06T20:03:55.241Z","0.5.0-alpha.6521802b":"2018-02-07T01:58:50.586Z","0.5.0-alpha.171ee1d4":"2018-02-07T13:57:08.996Z","0.5.0-alpha.2820f6a8":"2018-02-07T14:52:53.965Z","0.5.0-alpha.6fe9f75e":"2018-02-07T15:45:45.146Z","0.5.0-alpha.4e07dafd":"2018-02-07T16:06:13.405Z","0.5.0-alpha.e9819633":"2018-02-07T16:20:23.375Z","0.5.0-alpha.c2cdf8a7":"2018-02-07T18:24:35.324Z","0.5.0-alpha.984fee26":"2018-02-07T18:53:32.625Z","0.5.0-alpha.de36eddf":"2018-02-07T19:06:08.976Z","0.5.0":"2018-02-07T20:21:24.889Z","0.5.0-alpha.e0ecf90c":"2018-02-07T20:32:06.478Z","0.6.0-alpha.5acde5e4":"2018-02-07T20:40:03.972Z","0.6.0-alpha.73d44a88":"2018-02-07T20:43:55.390Z","0.6.0-alpha.97f56d1d":"2018-02-09T11:40:03.568Z","0.6.0-alpha.e80a22b5":"2018-02-09T12:05:40.953Z","0.6.0-alpha.52cec434":"2018-02-09T16:17:14.194Z","0.6.0-alpha.9b85ef7f":"2018-02-09T17:03:43.714Z","0.5.1":"2018-02-09T17:30:11.288Z","0.6.0-alpha.65925022":"2018-02-09T17:30:23.445Z","0.6.0-alpha.7c31f816":"2018-02-09T17:37:31.760Z","0.6.0-alpha.752667fa":"2018-02-14T17:04:27.743Z","0.6.0-alpha.cd343c62":"2018-02-14T17:17:28.118Z","0.5.2":"2018-02-14T18:45:58.051Z","0.6.0-alpha.691f8308":"2018-02-14T21:09:10.184Z","0.6.0-alpha.ab2883ac":"2018-02-15T13:04:09.962Z","0.5.3":"2018-02-15T16:08:50.459Z","0.6.0-alpha.50b0d2d3":"2018-02-15T20:42:41.215Z","0.6.0-alpha.168f0cb9":"2018-02-15T20:46:37.708Z","0.6.0-alpha.cfa0eb52":"2018-02-19T12:11:29.236Z","0.6.0-alpha.ed4f9e62":"2018-02-19T14:41:22.476Z","0.6.0-alpha.ac715917":"2018-02-19T14:47:07.089Z","0.6.0-alpha.5c7d34e9":"2018-02-20T19:48:46.501Z","0.6.0-alpha.92969b58":"2018-02-21T19:36:29.904Z","0.6.0-alpha.902a38de":"2018-02-21T19:50:47.122Z","0.6.0-alpha.ca52a343":"2018-02-22T13:19:41.179Z","0.6.0-alpha.3c54c768":"2018-02-22T17:48:09.838Z","0.6.0-alpha.a3a35fea":"2018-02-22T17:50:34.600Z","0.6.0-alpha.2bb04706":"2018-02-22T20:14:14.491Z","0.6.0-alpha.358a62d1":"2018-02-24T12:16:48.284Z","0.6.0-alpha.c751892e":"2018-02-24T12:17:32.606Z","0.6.0-alpha.dfa3e112":"2018-02-27T18:03:10.985Z","0.5.4":"2018-02-28T12:23:17.292Z","0.6.0-alpha.2cae8f1a":"2018-03-01T14:29:37.218Z","0.6.0-alpha.6c857b04":"2018-03-01T14:33:04.525Z","0.6.0-alpha.e43ee4dc":"2018-03-01T14:35:56.817Z","0.6.0-alpha.9948bb04":"2018-03-01T14:55:11.271Z","0.5.5":"2018-03-01T15:02:51.373Z","0.6.0-alpha.47bbc810":"2018-03-01T15:04:18.242Z","0.6.0-alpha.7d883b2b":"2018-03-01T15:07:44.918Z","0.6.0-alpha.4fe9b155":"2018-03-01T15:20:50.872Z","0.5.6":"2018-03-01T16:46:10.004Z","0.6.0-alpha.5e2394d5":"2018-03-01T17:00:38.788Z","0.6.0-alpha.3339366d":"2018-03-02T17:30:00.146Z","0.6.0-alpha.15d60a1d":"2018-03-02T18:02:48.777Z","0.6.0-alpha.4689ce1b":"2018-03-02T18:12:32.369Z","0.6.0-alpha.55b75a04":"2018-03-06T18:27:02.592Z","0.6.0-alpha.bc9dca28":"2018-03-06T21:32:47.661Z","0.6.0-alpha.81b4b44c":"2018-03-07T14:05:32.635Z","0.6.0-alpha.53e87982":"2018-03-07T18:23:36.886Z","0.6.0-alpha.df4193e4":"2018-03-07T18:49:05.786Z","0.6.0-alpha.c5e3d9b3":"2018-03-08T00:00:52.322Z","0.6.0-alpha.9fb9a7b9":"2018-03-08T00:21:27.804Z","0.6.0-alpha.12deed82":"2018-03-08T14:08:21.961Z","0.6.0-alpha.86932e17":"2018-03-08T15:23:26.580Z","0.6.0-alpha.8677a9a6":"2018-03-08T19:59:30.079Z","0.6.0-alpha.d7e2e285":"2018-03-09T17:21:29.456Z","0.6.0-alpha.36c33f9a":"2018-03-09T17:30:18.475Z","0.6.0-alpha.8720692a":"2018-03-12T12:29:17.867Z","0.6.0-alpha.6b8590c0":"2018-03-12T15:13:04.659Z","0.6.0-alpha.388979f8":"2018-03-12T15:17:21.153Z","0.6.0-alpha.e1b4e0bf":"2018-03-12T17:39:55.015Z","0.6.0-alpha.c9c9432d":"2018-03-12T17:58:20.535Z","0.6.0-alpha.3978e1ba":"2018-03-13T13:20:19.586Z","0.6.0-alpha.8f4b3437":"2018-03-13T13:21:45.089Z","0.6.0-alpha.543b1306":"2018-03-13T14:34:04.057Z","0.6.0-alpha.ef9f2f12":"2018-03-13T14:48:57.590Z","0.6.0-alpha.499c92eb":"2018-03-13T16:22:20.947Z","0.6.0-alpha.2683dfca":"2018-03-13T17:22:24.157Z","0.6.0-alpha.9c34a990":"2018-03-13T17:30:15.099Z","0.6.0-alpha.88a4310b":"2018-03-13T17:54:43.802Z","0.6.0-alpha.d6fe25e3":"2018-03-13T20:08:31.016Z","0.6.0-alpha.760c5088":"2018-03-14T12:48:34.837Z","0.6.0-alpha.66679c4f":"2018-03-14T14:01:06.811Z","0.5.7":"2018-03-14T14:22:47.687Z","0.6.0-alpha.7615e6fa":"2018-03-14T17:56:50.503Z","0.6.0-alpha.26941b71":"2018-03-14T18:02:42.296Z","0.6.0-alpha.c41d0cab":"2018-03-14T18:06:14.278Z","0.6.0-alpha.ee0b6b96":"2018-03-14T19:07:32.074Z","0.6.0-alpha.f4d95bec":"2018-03-15T11:54:00.270Z","0.6.0-alpha.1cb5bff7":"2018-03-15T14:55:32.450Z","0.6.0-alpha.7bf79ebe":"2018-03-15T15:00:38.437Z","0.5.8":"2018-03-15T15:04:14.916Z","0.6.0-alpha.b15bc255":"2018-03-15T17:52:33.261Z","0.6.0-alpha.0e6bc9f8":"2018-03-15T18:20:28.021Z","0.6.0-alpha.8dc14280":"2018-03-15T19:19:22.290Z","0.6.0-alpha.8ffe671f":"2018-03-16T18:14:29.732Z","0.6.0-alpha.d39611a3":"2018-03-16T18:37:24.446Z","0.6.0-alpha.4dcf9d8b":"2018-03-16T18:39:30.569Z","0.6.0-alpha.b68c91dc":"2018-03-19T11:47:44.178Z","0.6.0-alpha.4078b107":"2018-03-19T12:08:22.274Z","0.6.0-alpha.c4761b78":"2018-03-19T15:17:47.974Z","0.6.0-alpha.4ad7774f":"2018-03-19T17:06:24.143Z","0.6.0-alpha.e5432d16":"2018-03-19T18:48:15.077Z","0.6.0-alpha.52f23955":"2018-03-19T19:42:27.419Z","0.6.0-alpha.cd64f3d0":"2018-03-20T12:36:36.855Z","0.6.0-alpha.c7796535":"2018-03-20T17:26:06.444Z","0.6.0-alpha.6c3920ea":"2018-03-20T17:41:45.743Z","0.6.0-alpha.c15cfab2":"2018-03-20T17:52:55.080Z","0.6.0-alpha.8d069b3e":"2018-03-20T20:01:29.378Z","0.6.0-alpha.0d8025f3":"2018-03-20T20:47:12.824Z","0.6.0-alpha.ee27b8f7":"2018-03-20T21:01:36.349Z","0.6.0-alpha.b20e5c2d":"2018-03-21T12:55:06.828Z","0.6.0-alpha.04e0eb48":"2018-03-22T18:39:15.762Z","0.6.0-alpha.5df50977":"2018-03-23T11:33:53.104Z","0.6.0-alpha.0d5439dd":"2018-03-23T12:37:27.768Z","0.6.0-alpha.cd3bfde9":"2018-03-23T12:46:15.171Z","0.6.0-alpha.d91740f5":"2018-03-23T13:01:09.082Z","0.6.0-alpha.1ad366bf":"2018-03-23T13:50:30.743Z","0.6.0-alpha.9ac95b05":"2018-03-23T17:54:29.643Z","0.6.0-alpha.eb7e13e2":"2018-03-23T17:55:03.178Z","0.6.0-alpha.6b203b54":"2018-03-23T18:13:12.188Z","0.6.0-alpha.b067b771":"2018-03-24T18:26:13.111Z","0.6.0-alpha.1e9d369c":"2018-03-26T13:29:36.919Z","0.6.0-alpha.ed271340":"2018-03-26T13:51:25.723Z","0.6.0-alpha.a99e4a7d":"2018-03-26T14:46:42.590Z","0.6.0-alpha.3fb597c5":"2018-03-26T17:54:03.092Z","0.6.0-alpha.bc8be1ec":"2018-03-26T18:39:12.227Z","0.6.0-alpha.77aeb025":"2018-03-26T19:45:58.965Z","0.6.0-alpha.276d5592":"2018-03-27T12:47:01.707Z","0.6.0-alpha.bf2cda46":"2018-03-27T12:48:47.520Z","0.6.0-alpha.101d5b54":"2018-03-27T13:05:36.100Z","0.6.0-alpha.2af0c4b9":"2018-03-27T13:59:27.601Z","0.6.0-alpha.f36a051a":"2018-03-27T16:38:10.567Z","0.6.0-alpha.dbbb988a":"2018-03-27T16:49:51.695Z","0.6.0-alpha.9888d709":"2018-03-27T18:13:20.072Z","0.6.0-alpha.7c579cb8":"2018-03-27T20:17:24.783Z","0.6.0-alpha.9c53f92f":"2018-03-27T20:31:56.122Z","0.6.0-alpha.094a4102":"2018-03-27T20:48:39.904Z","0.6.0-alpha.37c381c3":"2018-03-28T13:56:17.734Z","0.6.0-alpha.4d554aed":"2018-03-28T16:13:20.870Z","0.6.0-alpha.44d32a29":"2018-03-28T17:40:11.958Z","0.6.0-alpha.cd85651e":"2018-03-28T17:41:32.191Z","0.6.0-alpha.3d2e39bf":"2018-03-28T17:48:29.660Z","0.6.0-alpha.f66e87c2":"2018-03-28T18:03:15.222Z","0.6.0-alpha.6977ffda":"2018-03-28T18:13:22.590Z","0.6.0-alpha.c235006c":"2018-03-28T18:22:22.041Z","0.6.0-alpha.5c4d01bb":"2018-03-28T20:35:14.093Z","0.6.0-alpha.0ab41057":"2018-03-28T21:27:18.799Z","0.6.0-alpha.af18658d":"2018-03-29T11:31:26.522Z","0.6.0-alpha.65028b83":"2018-03-29T12:16:24.182Z","0.6.0-alpha.291252a4":"2018-03-29T12:17:22.249Z","0.6.0-alpha.6203a493":"2018-03-29T14:56:08.251Z","0.6.0-alpha.49d9566a":"2018-03-29T15:14:05.082Z","0.6.0-alpha.0d6e2bdf":"2018-03-29T15:33:06.330Z","0.6.0-alpha.c7e8b8b9":"2018-03-29T18:11:00.225Z","0.6.0-alpha.4be26c61":"2018-03-29T18:51:28.495Z","0.6.0-alpha.04115e62":"2018-03-29T18:52:52.432Z","0.6.0-alpha.17457c59":"2018-04-02T12:29:19.210Z","0.6.0-alpha.26a5c31a":"2018-04-02T12:33:40.793Z","0.6.0-alpha.b7a11e94":"2018-04-02T14:02:07.460Z","0.6.0-alpha.161df42e":"2018-04-02T14:23:11.103Z","0.6.0-alpha.77494df4":"2018-04-02T14:25:54.173Z","0.6.0-alpha.06fd4877":"2018-04-02T18:14:21.161Z","0.6.0-alpha.97b7b3f5":"2018-04-02T18:16:05.436Z","0.6.0-alpha.6e1775ed":"2018-04-02T18:47:15.474Z","0.6.0-alpha.9c3e64ef":"2018-04-04T15:23:22.549Z","0.6.0-alpha.90450a0d":"2018-04-04T18:54:22.449Z","0.6.0-alpha.09cba65f":"2018-04-05T18:13:18.371Z","0.5.9":"2018-04-05T19:35:22.293Z","0.6.0-alpha.4f10e4fa":"2018-04-06T18:16:21.041Z","0.6.0-alpha.8eb423f8":"2018-04-08T16:13:50.697Z","0.6.0-alpha.f381ad86":"2018-04-09T14:38:20.147Z","0.6.0-alpha.e1faa468":"2018-04-09T22:04:45.058Z","0.6.0-alpha.d21f2021":"2018-04-10T13:39:08.697Z","0.6.0-alpha.30428b8b":"2018-04-10T17:47:41.047Z","0.5.10":"2018-04-10T18:15:56.000Z","0.6.0-alpha.1462eea5":"2018-04-10T20:40:20.317Z","0.5.11":"2018-04-11T12:03:38.037Z","0.6.0-alpha.be92736d":"2018-04-11T19:27:33.754Z","0.6.0-alpha.c741e1d1":"2018-04-12T12:34:58.882Z","0.6.0-alpha.6ceacecc":"2018-04-12T14:36:24.043Z","0.6.0-alpha.0e264232":"2018-04-12T15:08:15.673Z","0.6.0-alpha.7bfb746f":"2018-04-12T16:34:29.508Z","0.6.0-alpha.2c2e80e4":"2018-04-12T17:18:53.126Z","0.6.0-alpha.8c7247a1":"2018-04-12T17:19:50.655Z","0.6.0-alpha.78e42623":"2018-04-12T19:19:33.397Z","0.6.0-alpha.567db8b1":"2018-04-12T20:47:41.063Z","0.6.0-alpha.0f8988ee":"2018-04-12T21:09:25.394Z","0.6.0-alpha.c1e5c084":"2018-04-17T13:15:49.987Z","0.6.0-alpha.c992534f":"2018-04-19T10:28:13.605Z","0.6.0-alpha.8cf38478":"2018-04-19T10:30:29.789Z","0.6.0-alpha.0129661a":"2018-04-26T14:57:58.276Z","0.6.0-alpha.d78965e7":"2018-05-03T20:16:23.535Z","0.6.0-alpha.1005c7cb":"2018-05-04T13:38:48.735Z","0.6.0-alpha.26f43c6d":"2018-05-08T17:52:58.916Z","0.6.0-alpha.fcec25ae":"2018-05-08T18:30:10.951Z","0.6.0-alpha.cdcc2d7c":"2018-05-08T19:04:47.219Z","0.6.0-alpha.bae3ce7b":"2018-05-08T19:37:14.643Z","0.6.0-alpha.034eb3d8":"2018-05-08T19:38:26.081Z","0.6.0-alpha.5d55608d":"2018-05-09T13:10:59.753Z","0.6.0-alpha.ec36c80f":"2018-05-09T20:05:35.001Z","0.6.0-alpha.e0b35a1d":"2018-05-09T21:49:50.678Z","0.6.0-alpha.e85f3855":"2018-05-10T02:54:13.229Z","0.6.0-alpha.a38583d8":"2018-05-10T03:43:59.524Z","0.6.0-alpha.0bd8b165":"2018-05-10T13:21:54.045Z","0.6.0-alpha.33e525d9":"2018-05-10T13:48:24.620Z","0.6.0":"2018-05-10T14:10:45.856Z","0.7.0-alpha.1d892ca9":"2018-05-10T17:44:20.921Z","0.7.0-alpha.3887f597":"2018-05-10T18:12:24.383Z","0.7.0-alpha.cd38ec77":"2018-05-10T19:02:51.541Z","0.7.0-alpha.e18e8a8b":"2018-05-10T20:16:52.849Z","0.7.0-alpha.4b8a1066":"2018-05-11T03:15:02.558Z","0.7.0-alpha.1864d583":"2018-05-11T15:00:39.349Z","0.7.0-alpha.94b0e8c4":"2018-05-11T17:15:54.107Z","0.6.0-alpha.dc0d3bff":"2018-05-11T18:47:50.636Z","0.6.0-alpha.c727698d":"2018-05-11T19:06:11.843Z","0.7.0-alpha.5219502d":"2018-05-11T19:16:28.625Z","0.7.0-alpha.79a9202f":"2018-05-14T13:09:26.757Z","0.7.0-alpha.a240bc7c":"2018-05-14T17:01:07.238Z","0.7.0-alpha.fe1c30e4":"2018-05-15T13:48:09.328Z","0.7.0-alpha.ebdff3b6":"2018-05-15T14:56:16.200Z","0.7.0-alpha.05c39b0b":"2018-05-15T15:16:08.158Z","0.7.0-alpha.283f3e57":"2018-05-15T16:41:13.572Z","0.7.0-alpha.fbea593b":"2018-05-15T18:48:11.209Z","0.7.0-alpha.665fb022":"2018-05-15T20:11:55.083Z","0.7.0-alpha.d34e607e":"2018-05-16T17:04:01.801Z","0.7.0-alpha.b21299eb":"2018-05-16T18:21:38.470Z","0.7.0-alpha.27740892":"2018-05-17T20:15:37.352Z","0.7.0-alpha.f5f67192":"2018-05-18T10:39:02.421Z","0.7.0-alpha.f0a754a0":"2018-05-21T13:05:24.286Z","0.7.0-alpha.03669b3a":"2018-05-21T18:06:54.967Z","0.7.0-alpha.b98cb000":"2018-05-22T13:04:38.528Z","0.7.0-alpha.976fe4a3":"2018-05-22T17:43:36.237Z","0.7.0-alpha.493dda93":"2018-05-22T19:26:28.800Z","0.7.0-alpha.302e188b":"2018-05-22T20:59:50.679Z","0.7.0-alpha.b431ef2a":"2018-05-22T21:12:13.479Z","0.7.0-alpha.5fd51193":"2018-05-22T21:15:45.380Z","0.6.1":"2018-05-22T21:19:58.833Z","0.7.0-alpha.8df66644":"2018-05-22T21:22:58.185Z","0.7.0-alpha.3dd61dd4":"2018-05-22T22:37:43.451Z","0.7.0-alpha.4b8910e8":"2018-05-22T22:40:26.574Z","0.7.0-alpha.62810329":"2018-05-23T01:14:11.374Z","0.6.2":"2018-05-23T02:00:36.616Z","0.7.0-alpha.66c6eee0":"2018-05-24T18:24:37.594Z","0.7.0-alpha.65bc7857":"2018-05-30T18:33:10.623Z","0.7.0-alpha.9c90969c":"2018-05-30T21:39:12.334Z","0.7.0-alpha.f8bf622e":"2018-05-30T22:26:01.680Z","0.7.0-alpha.e2efe846":"2018-05-30T22:43:22.716Z","0.7.0-alpha.4f0abefc":"2018-05-30T22:54:37.498Z","0.7.0-alpha.075a0b90":"2018-05-30T22:59:29.885Z","0.7.0-alpha.175558f5":"2018-05-31T13:22:13.787Z","0.7.0-alpha.f00009ac":"2018-05-31T19:12:53.941Z","0.7.0-alpha.352eb4bc":"2018-05-31T22:37:18.460Z","0.7.0-alpha.8411929c":"2018-06-01T12:39:25.754Z","0.7.0-alpha.e2e9b18f":"2018-06-01T13:23:28.081Z","0.7.0-alpha.5c70846a":"2018-06-01T15:03:38.268Z","0.7.0-alpha.acc047c6":"2018-06-04T12:51:36.403Z","0.7.0-alpha.7831b2c5":"2018-06-04T16:05:49.382Z","0.7.0-alpha.7201583d":"2018-06-04T16:41:22.256Z","0.7.0-alpha.8b612f58":"2018-06-04T21:12:43.221Z","0.7.0-alpha.ad2b319f":"2018-06-04T21:31:02.625Z","0.7.0-alpha.0d62d4d0":"2018-06-06T01:14:51.588Z","0.7.0-alpha.8675d26f":"2018-06-06T13:02:11.938Z","0.7.0-alpha.1660e930":"2018-06-06T15:43:31.418Z","0.7.0-alpha.b47b1f3a":"2018-06-06T18:38:58.731Z","0.7.0-alpha.0d24ee07":"2018-06-06T21:01:12.945Z","0.7.0-alpha.eded803b":"2018-06-06T21:41:19.445Z","0.7.0-alpha.950ba985":"2018-06-07T00:09:22.480Z","0.7.0-alpha.78eaebdb":"2018-06-07T00:25:27.436Z","0.7.0-alpha.9afde923":"2018-06-07T13:16:00.978Z","0.7.0-alpha.03c69cf0":"2018-06-07T17:55:38.156Z","0.7.0-alpha.a433646b":"2018-06-07T20:33:44.404Z","0.7.0-alpha.bb4b64fd":"2018-06-08T13:21:59.141Z","0.6.3":"2018-06-08T14:28:36.251Z","0.7.0-alpha.d8773cb2":"2018-06-08T15:00:20.235Z","0.7.0-alpha.448da3a5":"2018-06-11T12:52:36.311Z","0.7.0-alpha.6fef9195":"2018-06-11T16:45:29.817Z","0.7.0-alpha.3684de82":"2018-06-11T20:36:57.205Z","0.7.0-alpha.6d5b7b13":"2018-06-12T12:47:20.907Z","0.7.0-alpha.ded52547":"2018-06-12T14:03:14.772Z","0.7.0-alpha.af7cb427":"2018-06-12T18:02:49.061Z","0.7.0-alpha.db16d392":"2018-06-12T18:58:11.325Z","0.7.0-alpha.26aa4e30":"2018-06-12T19:35:40.726Z","0.6.4":"2018-06-12T20:24:10.679Z","0.7.0-alpha.9ee3ced1":"2018-06-14T12:55:47.375Z","0.7.0-alpha.ad61a982":"2018-06-14T12:59:53.311Z","0.7.0-alpha.ea5a0d58":"2018-06-14T13:42:37.167Z","0.7.0-alpha.7d3f778a":"2018-06-15T05:17:23.709Z","0.7.0-alpha.21f71177":"2018-06-15T14:07:27.548Z","0.7.0-alpha.29be50c6":"2018-06-15T16:30:50.432Z","0.7.0-alpha.e0ff2bff":"2018-06-15T20:23:08.559Z","0.7.0-alpha.90dae1af":"2018-06-15T20:29:55.414Z","0.7.0-alpha.9f1e5d50":"2018-06-15T20:58:25.222Z","0.7.0-alpha.f9c280fc":"2018-06-15T22:50:24.031Z","0.7.0-alpha.25243305":"2018-06-18T14:11:16.048Z","0.7.0-alpha.b69f29ae":"2018-06-18T14:32:05.690Z","0.7.0-alpha.ce9d680a":"2018-06-18T14:49:19.571Z","0.7.0-alpha.8d708914":"2018-06-18T14:51:40.619Z","0.7.0-alpha.d9684102":"2018-06-18T14:55:48.658Z","0.7.0-alpha.b60cce82":"2018-06-18T15:03:10.296Z","0.7.0-alpha.482ea003":"2018-06-18T16:53:48.412Z","0.7.0-alpha.e490da08":"2018-06-18T20:00:51.439Z","0.6.5":"2018-06-18T20:30:23.501Z","0.7.0-alpha.012bbd65":"2018-06-18T20:48:35.911Z","0.7.0-alpha.d196f55d":"2018-06-18T21:07:32.582Z","0.7.0-alpha.4dceb2e5":"2018-06-18T21:07:50.106Z","0.7.0-alpha.df743bb5":"2018-06-19T16:27:34.204Z","0.7.0-alpha.0f95a3f8":"2018-06-19T16:39:07.200Z","0.7.0-alpha.093723bd":"2018-06-19T17:03:00.922Z","0.7.0-alpha.029d6be5":"2018-06-19T17:15:09.211Z","0.7.0-alpha.d5b210b1":"2018-06-19T17:16:25.927Z","0.7.0-alpha.d601a802":"2018-06-19T17:25:30.067Z","0.7.0-alpha.87d58a89":"2018-06-19T17:25:53.041Z","0.7.0-alpha.1347baf4":"2018-06-19T17:28:42.937Z","0.7.0-alpha.7833baa8":"2018-06-19T17:34:37.461Z","0.7.0-alpha.c05cea18":"2018-06-19T17:42:38.240Z","0.7.0-alpha.854b6ab4":"2018-06-19T18:38:17.503Z","0.7.0-alpha.b050c5d5":"2018-06-19T21:17:01.543Z","0.7.0-alpha.718793ee":"2018-06-20T12:45:30.004Z","0.7.0-alpha.5d1d8c42":"2018-06-20T12:55:20.571Z","0.7.0-alpha.d943481c":"2018-06-20T15:22:39.452Z","0.7.0-alpha.f2eecb53":"2018-06-20T15:54:20.354Z","0.7.0-alpha.7ef110eb":"2018-06-20T18:04:16.526Z","0.7.0-alpha.ca4facf5":"2018-06-20T18:32:45.523Z","0.7.0-alpha.b04e33fa":"2018-06-20T19:17:11.062Z","0.7.0-alpha.0eb796b2":"2018-06-20T19:20:54.552Z","0.7.0-alpha.c04ef9f7":"2018-06-20T19:24:27.099Z","0.7.0-alpha.0058fd7f":"2018-06-21T18:51:16.931Z","0.7.0-alpha.613ea2eb":"2018-06-21T20:40:46.196Z","0.7.0-alpha.bb7177a5":"2018-06-21T20:55:47.899Z","0.7.0-alpha.8d320877":"2018-06-21T21:14:08.113Z","0.7.0-alpha.02d0d009":"2018-06-22T14:12:55.240Z","0.7.0-alpha.dff13e4b":"2018-06-22T14:15:10.041Z","0.7.0-alpha.7a7e55de":"2018-06-22T14:48:32.082Z","0.7.0-alpha.21d19d43":"2018-06-22T14:52:36.554Z","0.6.6":"2018-06-22T15:04:08.762Z","0.7.0-alpha.9b3b0b90":"2018-06-22T17:33:52.619Z","0.7.0-alpha.2b5ec8e7":"2018-06-23T05:20:21.306Z","0.7.0-alpha.e8e2fb99":"2018-06-26T05:35:55.238Z","0.7.0-alpha.9246a390":"2018-06-26T17:31:51.823Z","0.7.0-alpha.6e5fa181":"2018-06-26T18:04:20.041Z","0.7.0-alpha.11f9c2a1":"2018-06-27T11:56:49.191Z","0.7.0-alpha.1d876ca9":"2018-06-27T16:41:09.134Z","0.7.0-alpha.df1c343b":"2018-06-29T18:35:47.077Z","0.7.0-alpha.74ad35dd":"2018-07-02T13:17:26.993Z","0.7.0-alpha.3c7edc88":"2018-07-02T13:38:28.619Z","0.7.0-alpha.bd6ffcf1":"2018-07-03T13:03:46.647Z","0.7.0-alpha.77ca0056":"2018-07-03T14:22:22.715Z","0.7.0-alpha.39aa4417":"2018-07-03T16:23:09.304Z","0.7.0-alpha.eb30fee0":"2018-07-03T18:05:07.771Z","0.7.0-alpha.079f6b9c":"2018-07-03T20:24:12.160Z","0.7.0-alpha.de23b86a":"2018-07-04T13:15:04.851Z","0.7.0-alpha.5bb97164":"2018-07-04T13:51:13.653Z","0.7.0-alpha.99a95534":"2018-07-04T14:18:20.368Z","0.7.0-alpha.e5322957":"2018-07-04T18:57:57.541Z","0.7.0-alpha.a7600068":"2018-07-05T17:06:28.723Z","0.7.0":"2018-07-05T17:35:38.343Z","0.8.0-alpha.e56998d6":"2018-07-05T19:58:25.400Z","0.8.0-alpha.89d940a2":"2018-07-05T21:26:06.989Z","0.8.0-alpha.51ddcf2b":"2018-07-05T21:59:57.291Z","0.8.0-alpha.a87779f4":"2018-07-09T12:16:51.882Z","0.8.0-alpha.aae05c34":"2018-07-09T12:37:33.709Z","0.8.0-alpha.b17918e5":"2018-07-09T13:19:50.893Z","0.8.0-alpha.f38f1aff":"2018-07-09T16:21:20.488Z","0.8.0-alpha.abcc3683":"2018-07-09T17:04:45.583Z","0.8.0-alpha.81056d4b":"2018-07-09T18:41:09.156Z","0.8.0-alpha.0c6db6ab":"2018-07-09T18:46:48.983Z","0.8.0-alpha.42dad151":"2018-07-09T18:56:00.458Z","0.8.0-alpha.dd4f6898":"2018-07-09T19:17:24.534Z","0.8.0-alpha.96699fca":"2018-07-09T19:40:10.519Z","0.8.0-alpha.77fe25ee":"2018-07-09T19:55:42.885Z","0.8.0-alpha.a113fe90":"2018-07-09T20:14:02.312Z","0.8.0-alpha.72fd5f91":"2018-07-09T22:12:53.196Z","0.8.0-alpha.1a9e55bf":"2018-07-10T17:20:16.169Z","0.8.0-alpha.81f8625d":"2018-07-10T17:48:41.044Z","0.8.0-alpha.2a5219c2":"2018-07-10T18:39:35.259Z","0.8.0-alpha.07e93964":"2018-07-10T19:01:44.243Z","0.8.0-alpha.870fb257":"2018-07-11T14:57:14.426Z","0.8.0-alpha.0c8ff882":"2018-07-11T21:20:43.131Z","0.8.0-alpha.4b14c449":"2018-07-11T21:32:12.756Z","0.8.0-alpha.0b75e71e":"2018-07-12T12:21:44.340Z","0.8.0-alpha.47583025":"2018-07-12T13:04:36.622Z","0.8.0-alpha.f8dae37d":"2018-07-12T13:30:46.209Z","0.8.0-alpha.66f021e1":"2018-07-12T13:41:26.430Z","0.8.0-alpha.96daaacc":"2018-07-12T13:54:21.926Z","0.8.0-alpha.14426014":"2018-07-12T15:06:48.857Z","0.8.0-alpha.a3feb48e":"2018-07-12T15:10:33.166Z","0.8.0-alpha.09982a08":"2018-07-13T19:16:41.776Z","0.8.0-alpha.e2104edc":"2018-07-16T12:53:01.022Z","0.8.0-alpha.fe2d60bf":"2018-07-16T14:38:38.239Z","0.8.0-alpha.d249c1a8":"2018-07-16T14:39:52.295Z","0.8.0-alpha.fe687acf":"2018-07-17T09:33:04.948Z","0.8.0-alpha.f2bf40a9":"2018-07-17T13:19:46.892Z","0.8.0-alpha.2372b0d4":"2018-07-18T13:20:05.152Z","0.8.0-alpha.3541e4fb":"2018-07-18T18:45:59.411Z","0.8.0-alpha.20185dbd":"2018-07-19T14:40:08.331Z","0.8.0-alpha.30efe03d":"2018-07-19T14:40:52.878Z","0.8.0-alpha.792d3ae8":"2018-07-19T14:55:38.662Z","0.8.0-alpha.7cec0a98":"2018-07-19T19:15:32.751Z","0.8.0-alpha.35dc97e0":"2018-07-19T19:39:34.168Z","0.8.0-alpha.ebbbcf26":"2018-07-19T20:04:08.803Z","0.8.0-alpha.9d0d7e53":"2018-07-20T19:34:05.429Z","0.8.0-alpha.516f662e":"2018-07-20T19:37:05.365Z","0.8.0-alpha.56e0f23b":"2018-07-20T19:54:03.671Z","0.7.1":"2018-07-20T20:05:58.748Z","0.8.0-alpha.f4e9d2ac":"2018-07-23T16:48:00.934Z","0.8.0-alpha.3f9920d9":"2018-07-23T16:48:41.831Z","0.8.0-alpha.79069917":"2018-07-23T18:07:15.168Z","0.8.0-alpha.9b6c1b4b":"2018-07-24T17:01:23.347Z","0.8.0-alpha.e1c0bdcf":"2018-07-24T17:48:56.562Z","0.8.0-alpha.3f3ee76e":"2018-07-25T17:11:25.032Z","0.8.0-alpha.d630b7b8":"2018-07-25T18:33:39.240Z","0.8.0-alpha.ed74dcbe":"2018-07-26T14:12:29.810Z","0.8.0":"2018-07-26T14:21:21.815Z","0.9.0-alpha.2004c2dc":"2018-07-27T15:02:38.545Z","0.9.0-alpha.6fd496d9":"2018-07-27T16:46:04.086Z","0.9.0-alpha.486490f7":"2018-07-27T17:29:21.616Z","0.9.0-alpha.45ef571e":"2018-07-27T18:48:59.583Z","0.9.0-alpha.b8a9f699":"2018-07-27T19:32:11.584Z","0.9.0-alpha.dfb1be0a":"2018-07-30T12:27:10.413Z","0.9.0-alpha.eb72d5fa":"2018-07-30T15:19:23.784Z","0.9.0-alpha.f5442866":"2018-07-30T17:35:12.118Z","0.9.0-alpha.cdc02cd0":"2018-07-30T17:42:54.267Z","0.9.0-alpha.5d75fe6e":"2018-07-30T17:53:32.918Z","0.9.0-alpha.d136295c":"2018-07-30T18:02:34.857Z","0.9.0-alpha.de66eae0":"2018-07-30T18:12:51.740Z","0.9.0-alpha.c01d2a01":"2018-07-30T18:16:36.682Z","0.9.0-alpha.df7efd32":"2018-07-30T19:21:48.552Z","0.9.0-alpha.2adb9169":"2018-07-30T20:14:25.254Z","0.9.0-alpha.441ce3da":"2018-07-31T11:05:11.426Z","0.9.0-alpha.fe6f265a":"2018-07-31T12:36:03.560Z","0.9.0-alpha.844b6433":"2018-07-31T14:48:11.033Z","0.9.0-alpha.4c78655c":"2018-07-31T15:01:52.196Z","0.9.0-alpha.a59b42fe":"2018-07-31T17:28:45.571Z","0.9.0-alpha.636662c7":"2018-07-31T18:50:25.812Z","0.9.0-alpha.ac123961":"2018-08-01T14:36:43.963Z","0.9.0-alpha.4943f7ad":"2018-08-01T16:38:45.288Z","0.9.0-alpha.772ba812":"2018-08-01T17:07:47.287Z","0.8.1":"2018-08-01T17:28:37.256Z","0.9.0-alpha.55bb1643":"2018-08-01T20:03:56.790Z","0.9.0-alpha.2e464d84":"2018-08-02T14:43:05.164Z","0.9.0-alpha.3092ab63":"2018-08-02T17:21:51.453Z","0.9.0-alpha.59c7c498":"2018-08-02T18:59:00.112Z","0.9.0-alpha.503f836d":"2018-08-02T19:50:41.905Z","0.9.0-alpha.c8332a96":"2018-08-03T14:57:38.837Z","0.9.0-alpha.9514bd68":"2018-08-06T14:05:23.958Z","0.9.0-alpha.b1889383":"2018-08-06T14:35:06.584Z","0.9.0-alpha.687832ed":"2018-08-06T14:40:55.848Z","0.9.0-alpha.745374bc":"2018-08-06T15:04:56.446Z","0.9.0-alpha.24cc888a":"2018-08-06T15:37:20.869Z","0.9.0-alpha.4c30fc1a":"2018-08-07T13:05:40.543Z","0.9.0-alpha.962986be":"2018-08-07T13:41:42.813Z","0.9.0-alpha.c37d23f5":"2018-08-07T18:27:20.662Z","0.9.0-alpha.0fa47d1a":"2018-08-08T17:30:01.541Z","0.9.0-alpha.c1e15ae3":"2018-08-08T17:43:42.801Z","0.9.0-alpha.7dbd9ce9":"2018-08-08T18:03:20.288Z","0.9.0-alpha.e4fd0805":"2018-08-09T19:10:19.598Z","0.9.0-alpha.a2c264b8":"2018-08-09T19:11:25.792Z","0.9.0-alpha.15cd07ff":"2018-08-09T19:34:51.404Z","0.9.0-alpha.b6d6e7a3":"2018-08-09T19:43:41.473Z","0.9.0-alpha.6d678c53":"2018-08-09T20:36:23.099Z","0.9.0-alpha.375ccaf3":"2018-08-10T12:56:32.627Z","0.9.0-alpha.ea8890b8":"2018-08-10T13:50:57.011Z","0.9.0-alpha.43b297de":"2018-08-10T17:40:10.000Z","0.9.0-alpha.d6d6ede1":"2018-08-10T19:56:46.896Z","0.9.0-alpha.6191ce51":"2018-08-11T05:23:05.787Z","0.9.0-alpha.f78c9fb1":"2018-08-11T05:24:40.507Z","0.9.0-alpha.a4bc3eeb":"2018-08-11T11:37:41.108Z","0.9.0-alpha.588b3262":"2018-08-13T13:26:58.328Z","0.9.0-alpha.44455819":"2018-08-13T13:57:06.671Z","0.9.0-alpha.42ef722b":"2018-08-13T14:03:25.704Z","0.9.0-alpha.b5edc8a9":"2018-08-13T17:16:45.213Z","0.9.0-alpha.7842815b":"2018-08-13T17:41:26.235Z","0.9.0-alpha.fa4c9db5":"2018-08-13T18:10:02.378Z","0.9.0-alpha.72fd3088":"2018-08-13T19:17:40.817Z","0.9.0-alpha.bc38dc6e":"2018-08-13T19:52:59.953Z","0.9.0-alpha.f2d16cfb":"2018-08-13T21:21:13.428Z","0.9.0-alpha.3b6a29ec":"2018-08-13T21:55:38.765Z","0.8.2":"2018-08-13T22:07:35.166Z","0.9.0-alpha.5f64fe94":"2018-08-14T11:48:37.783Z","0.9.0-alpha.6dd0a593":"2018-08-14T11:59:05.770Z","0.9.0-alpha.75675ae6":"2018-08-14T14:05:09.353Z","0.9.0-alpha.c9f160dc":"2018-08-14T14:15:24.525Z","0.9.0-alpha.afd12c34":"2018-08-14T15:37:30.938Z","0.9.0-alpha.b913f91e":"2018-08-15T02:13:33.097Z","0.9.0-alpha.b89848e2":"2018-08-15T13:49:39.673Z","0.9.0-alpha.5d972c8b":"2018-08-15T13:52:45.412Z","0.9.0-alpha.6e3e5000":"2018-08-15T14:17:59.766Z","0.9.0-alpha.1cf66a07":"2018-08-15T15:51:59.400Z","0.9.0-alpha.42615b45":"2018-08-16T13:38:46.802Z","0.9.0-alpha.236ddf5f":"2018-08-16T14:29:41.602Z","0.9.0-alpha.252f9b38":"2018-08-16T14:42:51.515Z","0.9.0-alpha.17f7e81c":"2018-08-16T15:53:42.721Z","0.9.0-alpha.dc1e82dd":"2018-08-16T19:30:59.687Z","0.9.0-alpha.0f2a575f":"2018-08-16T19:38:18.364Z","0.9.0-alpha.c5a38e0b":"2018-08-16T19:38:56.684Z","0.9.0-alpha.c7186ac9":"2018-08-16T19:48:39.941Z","0.9.0-alpha.127dd9b7":"2018-08-16T20:31:26.379Z","0.9.0-alpha.2463a497":"2018-08-17T18:03:40.358Z","0.9.0-alpha.d6ee3182":"2018-08-17T18:25:04.134Z","0.9.0-alpha.7a26eb24":"2018-08-17T21:52:29.852Z","0.9.0-alpha.de257c32":"2018-08-17T23:40:46.828Z","0.9.0-alpha.78cf3adb":"2018-08-19T15:17:32.300Z","0.9.0-alpha.f6d76111":"2018-08-20T14:00:16.120Z","0.9.0-alpha.7313f6df":"2018-08-20T20:59:03.316Z","0.9.0-alpha.c7dd8ba3":"2018-08-24T19:25:34.169Z","0.9.0-alpha.961cefdb":"2018-08-24T19:44:42.724Z","0.9.0-alpha.1841f038":"2018-08-25T09:13:45.785Z","0.9.0-alpha.7f8dd094":"2018-08-25T16:28:56.137Z","0.9.0-alpha.fbca7606":"2018-08-25T17:00:14.156Z","0.9.0-alpha.c31e4564":"2018-08-28T18:37:11.846Z","0.9.0-alpha.95bfea5e":"2018-08-28T18:56:51.419Z","0.9.0-alpha.88621341":"2018-08-28T19:15:57.119Z","0.9.0-alpha.26813bdd":"2018-08-29T00:28:50.631Z","0.9.0-alpha.5db3f5c0":"2018-08-29T04:31:54.239Z","0.9.0-alpha.14e363d1":"2018-08-29T04:33:18.873Z","0.9.0-alpha.eac53cf0":"2018-08-29T06:36:59.957Z","0.9.0-alpha.881bd81a":"2018-08-30T09:16:43.042Z","0.9.0-alpha.5a143753":"2018-08-30T11:06:04.088Z","0.9.0-alpha.cabd3e20":"2018-08-30T11:58:01.720Z","0.9.0-alpha.2e583664":"2018-08-31T01:19:08.751Z","0.9.0-alpha.0f1a7669":"2018-09-04T08:05:47.582Z","0.9.0-alpha.8de4581e":"2018-09-04T16:44:24.929Z","0.9.0-alpha.89fea527":"2018-09-05T22:00:44.637Z","0.9.0-alpha.4222e148":"2018-09-05T23:52:39.057Z","0.9.0-alpha.029d6c67":"2018-09-06T14:34:23.793Z","0.9.0-alpha.62b8dd7a":"2018-09-06T14:53:30.490Z","0.9.0-alpha.83e3ee86":"2018-09-06T14:54:49.269Z","0.9.0-alpha.a3bb9044":"2018-09-06T17:56:57.088Z","0.9.0-alpha.e665f260":"2018-09-06T18:10:38.272Z","0.9.0-alpha.137006ec":"2018-09-10T15:54:15.344Z","0.9.0-alpha.16b39aef":"2018-09-10T16:08:20.193Z","0.9.0-alpha.ae5fc0ce":"2018-09-11T01:22:19.253Z","0.9.0-alpha.09d24d88":"2018-09-11T18:14:32.910Z","0.9.0-alpha.2405e027":"2018-09-12T18:08:58.187Z","0.9.0-alpha.3793cc42":"2018-09-12T19:20:38.536Z","0.9.0-alpha.de051be5":"2018-09-12T19:57:09.111Z","0.9.0-alpha.fe90344d":"2018-09-13T11:20:37.592Z","0.8.3-alpha.0":"2018-09-13T11:41:03.338Z","0.8.3-alpha.101":"2018-09-13T12:52:12.428Z","0.9.0-alpha.6aa76345":"2018-09-13T13:27:21.335Z","0.9.0-alpha.d4208acd":"2018-09-14T01:53:05.459Z","0.8.3":"2018-09-14T12:48:16.920Z","0.9.0-alpha.8902dba1":"2018-09-14T16:43:16.219Z","0.9.0-alpha.5d9f5cf3":"2018-09-14T16:53:53.006Z","0.9.0-alpha.e07c6875":"2018-09-17T14:11:14.836Z","0.9.0-alpha.6e0ea6b6":"2018-09-17T14:45:09.996Z","0.9.0-alpha.60aaa968":"2018-09-17T15:34:49.822Z","0.9.0-alpha.211a5123":"2018-09-17T17:22:00.936Z","0.9.0-alpha.8832807e":"2018-09-17T19:24:56.652Z","0.9.0-alpha.e150336e":"2018-09-17T19:35:42.719Z","0.9.0-alpha.227dccfa":"2018-09-17T22:13:55.915Z","0.9.0-alpha.ac0d405e":"2018-09-18T07:42:43.952Z","0.9.0-alpha.64a9a753":"2018-09-18T12:58:57.716Z","0.9.0-alpha.6728014e":"2018-09-18T16:59:50.739Z","0.9.0-alpha.90bddbe3":"2018-09-18T18:36:23.112Z","0.9.0-alpha.bbcc1ee1":"2018-09-18T19:29:06.716Z","0.9.0-alpha.9f432df4":"2018-09-18T20:14:06.831Z","0.9.0-alpha.065456dd":"2018-09-18T20:14:21.609Z","0.9.0-alpha.72d25e2a":"2018-09-18T20:24:20.278Z","0.9.0-alpha.158b4241":"2018-09-18T20:41:00.875Z","0.8.4":"2018-09-18T20:50:40.566Z","0.9.0-alpha.0e3b08f4":"2018-09-19T16:36:55.230Z","0.9.0-alpha.80c1f6e4":"2018-09-19T17:00:35.424Z","0.9.0-alpha.94718854":"2018-09-19T17:13:39.091Z","0.9.0-alpha.622effc8":"2018-09-19T17:17:33.062Z","0.9.0-alpha.c648df42":"2018-09-19T17:18:16.004Z","0.8.5":"2018-09-19T17:27:36.582Z","0.9.0-alpha.e3dd44ac":"2018-09-19T18:51:01.949Z","0.9.0-alpha.46069564":"2018-09-19T19:39:05.540Z","0.9.0-alpha.2df9def6":"2018-09-19T19:40:25.184Z","0.9.0-alpha.ab5b6155":"2018-09-19T20:40:24.066Z","0.9.0-alpha.bec2fd0e":"2018-09-19T22:34:51.872Z","0.8.6":"2018-09-20T13:02:46.071Z","0.9.0-alpha.3cf6efe9":"2018-09-20T13:13:18.143Z","0.9.0-alpha.95638ad0":"2018-09-20T13:15:13.980Z","0.9.0-alpha.24783ca3":"2018-09-20T13:27:50.413Z","0.8.7":"2018-09-20T13:28:06.788Z","0.9.0-alpha.9c01f451":"2018-09-20T13:37:05.922Z","0.9.0-alpha.92e5355c":"2018-09-20T14:22:17.251Z","0.9.0-alpha.bf051f96":"2018-09-20T17:04:00.976Z","0.9.0-alpha.cd9bb18c":"2018-09-20T19:15:39.888Z","0.9.0-alpha.be57b048":"2018-09-20T19:27:52.594Z","0.9.0-alpha.43c065f3":"2018-09-21T07:14:25.986Z","0.9.0-alpha.8f8356ad":"2018-09-21T08:01:47.689Z","0.9.0-alpha.2663735c":"2018-09-21T10:42:28.577Z","0.9.0-alpha.9cf256bc":"2018-09-21T15:09:53.873Z","0.9.0-alpha.ac49b8ee":"2018-09-22T10:29:34.190Z","0.9.0-alpha.e74f7f42":"2018-09-22T17:19:16.545Z","0.9.0-alpha.9b4bf866":"2018-09-24T16:20:55.158Z","0.8.8":"2018-09-24T17:24:38.549Z","0.9.0-alpha.e3d6e0ff":"2018-09-25T12:35:54.722Z","0.9.0-alpha.5e8d38fb":"2018-09-25T13:35:57.500Z","0.9.0-alpha.3676586d":"2018-09-25T13:57:11.639Z","0.9.0-alpha.797c8246":"2018-09-25T18:30:25.328Z","0.8.9":"2018-09-25T18:40:06.455Z","0.9.0-alpha.fc5d3caa":"2018-09-25T21:32:59.608Z","0.9.0-alpha.c5ec2d27":"2018-09-26T15:26:20.493Z","0.8.10":"2018-09-26T19:12:09.845Z","0.9.0-alpha.254e010a":"2018-09-27T13:53:59.845Z","0.9.0-alpha.1bbf0c65":"2018-09-27T14:43:41.756Z","0.9.0-alpha.fd8dfdd0":"2018-09-27T15:59:27.865Z","0.9.0-alpha.6d167141":"2018-09-27T17:42:19.785Z","0.9.0-alpha.6a6c41a6":"2018-09-27T19:55:44.093Z","0.9.0-alpha.7ece2af5":"2018-09-27T20:20:08.419Z","0.9.0-alpha.2fce455b":"2018-09-27T20:58:12.761Z","0.9.0-alpha.c3c09a55":"2018-09-28T12:04:10.175Z","0.9.0-alpha.8d9fd451":"2018-09-28T12:45:21.147Z","0.9.0-alpha.be9091ec":"2018-09-28T14:22:29.601Z","0.9.0-alpha.119a3a05":"2018-09-29T18:59:01.183Z","0.9.0-alpha.67b7f6f5":"2018-09-30T20:34:36.792Z","0.9.0-alpha.e97ece4e":"2018-10-01T14:50:59.517Z","0.9.0-alpha.7a7b512a":"2018-10-01T15:38:31.385Z","0.9.0-alpha.f222d9e6":"2018-10-02T15:49:52.351Z","0.9.0-alpha.2090b6ba":"2018-10-02T18:33:42.157Z","0.9.0-alpha.ad3732d7":"2018-10-03T09:02:36.988Z","0.9.0-alpha.93382e1f":"2018-10-03T12:17:43.155Z","0.9.0-alpha.99863187":"2018-10-03T13:28:19.358Z","0.9.0-alpha.f9ab7f2d":"2018-10-03T17:12:28.373Z","0.9.0-alpha.cf04abcb":"2018-10-04T06:09:54.132Z","0.9.0-alpha.babdc071":"2018-10-04T06:57:58.594Z","0.9.0-alpha.0ca4fd12":"2018-10-04T18:49:05.717Z","0.9.0-alpha.b3932f55":"2018-10-05T02:51:02.415Z","0.9.0-alpha.6e8d8c2f":"2018-10-05T06:48:34.230Z","0.9.0-alpha.7c0bf40a":"2018-10-05T14:38:43.549Z","0.9.0-alpha.94c320bb":"2018-10-05T14:59:25.312Z","0.9.0-alpha.cf41d36c":"2018-10-05T17:07:35.583Z","0.9.0-alpha.ac480af5":"2018-10-07T10:52:11.299Z","0.9.0-alpha.a2e99832":"2018-10-07T15:31:38.304Z","0.9.0-alpha.285d1383":"2018-10-08T14:55:16.639Z","0.9.0-alpha.dfeb3df4":"2018-10-08T15:30:16.028Z","0.9.0-alpha.248dc626":"2018-10-08T16:49:09.630Z","0.9.0-alpha.feb957a5":"2018-10-08T16:56:46.294Z","0.9.0-alpha.2efdf146":"2018-10-08T17:01:58.250Z","0.9.0-alpha.db1b6d06":"2018-10-08T17:06:43.566Z","0.9.0-alpha.40875abc":"2018-10-08T17:10:01.183Z","0.9.0-alpha.1e981bb7":"2018-10-08T17:17:20.718Z","0.9.0-alpha.8cd345a2":"2018-10-08T17:36:10.030Z","0.9.0-alpha.1142b206":"2018-10-08T17:39:59.013Z","0.9.0-alpha.62697e02":"2018-10-08T17:46:31.529Z","0.9.0-alpha.a0d35708":"2018-10-09T17:56:10.073Z","0.9.0-alpha.76a2b9de":"2018-10-09T21:13:32.334Z","0.9.0-alpha.d54af94d":"2018-10-10T19:10:26.502Z","0.9.0-alpha.4d72ad40":"2018-10-11T10:09:49.210Z","0.9.0-alpha.701dce11":"2018-10-11T14:58:12.398Z","0.9.0-alpha.cc2cda3f":"2018-10-11T15:52:34.421Z","0.9.0-alpha.2049ff74":"2018-10-11T16:23:23.571Z","0.9.0-alpha.b7ce398a":"2018-10-11T18:12:36.232Z","0.9.0-alpha.2c14db15":"2018-10-11T18:25:06.025Z","0.9.0-alpha.a7fe141c":"2018-10-12T05:55:19.246Z","0.9.0-alpha.0a17622b":"2018-10-14T11:06:44.846Z","0.9.0-alpha.3637f56f":"2018-10-14T18:20:00.018Z","0.9.0-alpha.4f6e5666":"2018-10-15T13:14:25.643Z","0.9.0-alpha.bc0bf3f6":"2018-10-15T13:45:43.113Z","0.9.0-alpha.629ac030":"2018-10-15T18:06:45.515Z","0.9.0-alpha.92c2d991":"2018-10-16T08:09:11.231Z","0.9.0-alpha.ee69673e":"2018-10-16T09:27:43.147Z","0.9.0-alpha.97f5a8ec":"2018-10-16T13:38:44.095Z","0.9.0-alpha.ed75aa2b":"2018-10-16T14:57:18.979Z","0.9.0-alpha.947af9de":"2018-10-16T17:45:16.643Z","0.9.0-alpha.9477c937":"2018-10-16T19:25:06.517Z","0.9.0-alpha.f419a6b4":"2018-10-16T20:04:14.498Z","0.9.0-alpha.0f4df0a5":"2018-10-16T20:28:23.181Z","0.9.0-alpha.b812d0a7":"2018-10-17T12:09:58.767Z","0.8.11":"2018-10-17T12:29:43.103Z","0.9.0-alpha.640632ef":"2018-10-17T13:17:09.457Z","0.9.0-alpha.bc4d036e":"2018-10-17T13:17:39.869Z","0.9.0-alpha.dbf7a74c":"2018-10-17T14:00:03.786Z","0.9.0-alpha.57e147b8":"2018-10-17T14:39:09.193Z","0.9.0-alpha.0cdfb5a7":"2018-10-17T16:37:02.922Z","0.9.0-alpha.72feb5f0":"2018-10-17T18:11:47.996Z","0.9.0-alpha.711f421a":"2018-10-17T18:23:47.729Z","0.9.0-alpha.034ee1e1":"2018-10-18T16:41:50.594Z","0.9.0-alpha.ac6e0707":"2018-10-18T23:21:27.879Z","0.9.0-alpha.4bdb7036":"2018-10-19T10:56:42.271Z","0.9.0-alpha.e2555a09":"2018-10-19T13:21:12.551Z","0.9.0-alpha.c2f8c5bb":"2018-10-19T13:38:26.927Z","0.9.0-alpha.bb47cd4b":"2018-10-19T13:53:43.379Z","0.9.0-alpha.c609372e":"2018-10-19T16:56:59.962Z","0.9.0-alpha.25fbfdbe":"2018-10-19T22:23:20.226Z","0.9.0-alpha.4685fddc":"2018-10-20T05:16:41.795Z","0.9.0-alpha.328cb768":"2018-10-21T13:11:57.582Z","0.9.0-alpha.1fc84f82":"2018-10-22T20:27:21.009Z","0.9.0-alpha.54e7fc6f":"2018-10-22T23:32:19.040Z","0.9.0-alpha.fbdc2ca3":"2018-10-23T10:16:12.385Z","0.9.0-alpha.08f4e1e1":"2018-10-23T12:52:53.668Z","0.8.12":"2018-10-23T13:12:57.236Z","0.9.0-alpha.9297da9f":"2018-10-23T13:31:58.837Z","0.9.0-alpha.c0ecea5d":"2018-10-23T13:41:51.154Z","0.8.13":"2018-10-23T13:54:29.981Z","0.9.0-alpha.75fb7265":"2018-10-24T00:36:31.836Z","0.9.0-alpha.413ab974":"2018-10-24T13:35:22.210Z","0.9.0-alpha.bb03e5a8":"2018-10-24T15:46:38.937Z","0.9.0-alpha.1ccb021e":"2018-10-24T16:22:17.589Z","0.9.0-alpha.9678cb5d":"2018-10-24T19:04:55.131Z","0.9.0-alpha.7036f1a7":"2018-10-24T19:09:15.171Z","0.9.0-alpha.8be62263":"2018-10-25T19:03:17.881Z","0.9.0-alpha.9f9ad290":"2018-10-25T19:11:32.844Z","0.9.0-alpha.b060fd51":"2018-10-25T20:36:30.280Z","0.9.0-alpha.e9d1e49a":"2018-10-26T13:46:15.937Z","0.9.0-alpha.70ff7bd3":"2018-10-26T14:18:13.824Z","0.9.0-alpha.ac36fe7c":"2018-10-26T17:04:45.433Z","0.9.0-alpha.64b91c22":"2018-10-26T17:32:19.408Z","0.8.14":"2018-10-26T18:35:47.067Z","0.9.0-alpha.884cbfbf":"2018-10-26T18:58:04.993Z","0.9.0-alpha.0af71f65":"2018-10-26T20:22:11.395Z","0.9.0-alpha.85335020":"2018-10-26T21:01:07.684Z","0.9.0-alpha.c4ed1a5a":"2018-10-27T22:49:55.269Z","0.9.0-alpha.f94d6eeb":"2018-10-29T12:43:00.715Z","1.0.0":"2018-10-29T13:00:04.418Z","1.1.0-alpha.ca72ed4a":"2018-10-29T13:08:42.372Z","1.1.0-alpha.cb49a83a":"2018-10-29T17:20:08.573Z","1.1.0-alpha.cbfce4cd":"2018-10-29T19:54:17.012Z","1.1.0-alpha.52cafd22":"2018-10-30T12:14:53.060Z","1.1.0-alpha.9053ee92":"2018-10-30T12:59:08.052Z","1.0.1":"2018-10-30T13:38:06.339Z","1.1.0-alpha.6a288aed":"2018-10-30T15:14:53.123Z","1.1.0-alpha.68975eb4":"2018-10-30T15:40:52.957Z","1.1.0-alpha.fb5f3b79":"2018-10-30T15:56:57.331Z","1.1.0-alpha.38e29579":"2018-10-30T17:14:42.277Z","1.0.2":"2018-10-30T17:25:50.029Z","1.1.0-alpha.412c9747":"2018-10-31T17:31:41.163Z","1.1.0-alpha.eef645a0":"2018-11-01T09:16:13.868Z","1.1.0-alpha.3292553c":"2018-11-01T16:23:30.743Z","1.1.0-alpha.5d5d840f":"2018-11-03T14:55:30.173Z","1.1.0-alpha.63619ba1":"2018-11-03T21:42:40.332Z","1.1.0-alpha.47d16c13":"2018-11-04T09:12:14.066Z","1.1.0-alpha.64dde1e2":"2018-11-04T10:00:24.872Z","1.1.0-alpha.c667a834":"2018-11-05T10:20:23.713Z","1.1.0-alpha.ccc56190":"2018-11-05T10:33:01.444Z","1.1.0-alpha.cb539665":"2018-11-05T13:27:19.473Z","1.1.0-alpha.ff6847aa":"2018-11-06T17:26:12.124Z","1.1.0-alpha.c0aa2f9a":"2018-11-06T18:07:19.618Z","1.1.0-alpha.875ee196":"2018-11-07T01:34:26.957Z","1.1.0-alpha.e97f538c":"2018-11-07T02:33:50.446Z","1.1.0-alpha.21e26729":"2018-11-07T03:07:16.141Z","1.1.0-alpha.21d9064f":"2018-11-07T04:25:27.226Z","1.1.0-alpha.a3be0ff6":"2018-11-07T06:43:45.603Z","1.1.0-alpha.a407fc3d":"2018-11-07T10:45:39.879Z","1.1.0-alpha.b9bb0fbf":"2018-11-07T12:15:39.980Z","1.1.0-alpha.0c3e89c7":"2018-11-07T15:34:14.915Z","1.1.0-alpha.9350a75e":"2018-11-07T15:36:15.914Z","0.9.0-alpha.3825471f":"2018-11-07T15:56:58.506Z","1.1.0-alpha.5af55816":"2018-11-07T16:05:04.224Z","1.1.0-alpha.8de25fab":"2018-11-07T16:08:26.841Z","1.1.0-alpha.e6e80ba7":"2018-11-07T16:31:23.228Z","1.1.0-alpha.07e9f012":"2018-11-07T17:46:46.865Z","1.1.0-alpha.1b289e6a":"2018-11-08T07:28:11.873Z","1.1.0-alpha.3dfab596":"2018-11-08T13:28:29.999Z","1.1.0-alpha.885812b6":"2018-11-08T15:16:13.766Z","1.1.0-alpha.d2eda2b5":"2018-11-08T18:53:15.007Z","1.0.3":"2018-11-08T19:03:42.896Z","1.1.0-alpha.eddde304":"2018-11-08T19:13:30.287Z","1.1.0-alpha.9bff8ddb":"2018-11-09T14:42:17.965Z","1.1.0-alpha.0251c33c":"2018-11-10T01:08:30.895Z","1.1.0-alpha.e1d3d9bd":"2018-11-10T11:49:43.744Z","1.1.0-alpha.43e2e3a4":"2018-11-10T17:38:07.891Z","1.1.0-alpha.6ae5d07a":"2018-11-10T22:17:06.566Z","1.1.0-alpha.e7c81443":"2018-11-11T08:59:05.000Z","1.1.0-alpha.3bc2b88c":"2018-11-11T11:25:21.543Z","1.1.0-alpha.aa3b4b88":"2018-11-12T17:43:12.687Z","1.1.0-alpha.83b4399c":"2018-11-12T23:40:17.914Z","1.1.0-alpha.fadcd199":"2018-11-13T05:27:25.167Z","1.1.0-alpha.6bf4f5bb":"2018-11-16T19:41:42.199Z","1.1.0-alpha.375d8a6c":"2018-11-18T06:17:34.780Z","1.1.0-alpha.e54fc096":"2018-11-19T17:30:08.108Z","1.1.0-alpha.f6da0219":"2018-11-20T09:11:25.073Z","1.0.4":"2018-11-21T11:23:01.480Z","1.1.0-alpha.6d6d14f7":"2018-11-21T11:30:40.558Z","1.1.0-alpha.6b2101dd":"2018-11-21T19:03:41.739Z","1.1.0-alpha.74cf6c51":"2018-11-22T18:42:21.715Z","1.1.0-alpha.c6940d9e":"2018-11-25T19:54:16.787Z","1.1.0-alpha.74f71aaa":"2018-11-27T13:53:14.559Z","1.1.0-alpha.b2965f0b":"2018-11-27T14:45:03.411Z","1.1.0-alpha.cdd34101":"2018-11-27T19:47:14.078Z","1.1.0-alpha.2f7f3058":"2018-11-28T12:03:58.005Z","1.1.0-alpha.8657e05c":"2018-11-28T16:24:39.189Z","1.1.0-alpha.dd5f7476":"2018-11-28T21:51:39.568Z","1.1.0-alpha.e5a3180f":"2018-11-28T22:04:29.757Z","1.1.0-alpha.d4c07955":"2018-11-29T12:53:59.497Z","1.1.0-alpha.e03c646f":"2018-11-29T14:12:57.511Z","1.0.5":"2018-11-29T15:52:47.576Z","1.1.0-alpha.a11b54b6":"2018-11-30T02:54:19.760Z","1.1.0-alpha.e7623c67":"2018-11-30T14:41:54.090Z","1.1.0-alpha.ee3ceaab":"2018-12-03T08:04:30.734Z","1.1.0-alpha.e87ed319":"2018-12-04T04:23:00.967Z","1.1.0-alpha.f6b6d992":"2018-12-04T10:33:08.300Z","1.1.0-alpha.5a5c4b6b":"2018-12-04T13:10:01.643Z","1.1.0-alpha.a6658924":"2018-12-04T14:19:25.219Z","1.1.0-alpha.f82fd6b4":"2018-12-05T13:51:07.207Z","1.1.0-alpha.a45fca8d":"2018-12-07T04:53:26.847Z","1.1.0-alpha.21ea3e28":"2018-12-07T04:56:51.430Z","1.1.0-alpha.95d46834":"2018-12-07T11:35:14.162Z","1.1.0-alpha.d8019062":"2018-12-10T12:02:17.984Z","1.1.0-alpha.cf417eeb":"2018-12-10T15:55:04.357Z","1.1.0-alpha.1c3402b5":"2018-12-10T19:41:14.854Z","1.0.6":"2018-12-12T14:06:13.405Z","1.1.0-alpha.6a8363d5":"2018-12-12T15:17:18.452Z","1.0.7":"2018-12-12T16:56:01.167Z","1.1.0-alpha.b2379f6d":"2018-12-13T14:02:21.503Z","1.0.8":"2018-12-14T14:09:44.606Z","1.1.0-alpha.ebe764b9":"2018-12-14T16:20:55.809Z","1.1.0-alpha.d9cb31b4":"2018-12-17T10:40:00.462Z","1.0.9":"2018-12-17T18:54:51.261Z","1.1.0-alpha.09169fcc":"2018-12-18T00:24:57.027Z","1.1.0-alpha.a3d90946":"2018-12-18T12:27:57.309Z","1.1.0-alpha.2496656c":"2018-12-18T18:08:24.269Z","1.1.0-alpha.8a98f83c":"2018-12-19T16:29:14.936Z","1.1.0-alpha.7325588e":"2018-12-20T03:34:06.549Z","1.1.0-alpha.4a16a3c2":"2018-12-20T15:45:51.516Z","1.1.0-alpha.b4f9d325":"2018-12-26T12:00:34.275Z","1.1.0-alpha.7c5cc223":"2018-12-26T13:26:17.474Z","1.1.0-alpha.198f2331":"2018-12-27T13:08:59.109Z","1.1.0-alpha.20dc0302":"2018-12-27T14:13:12.473Z","1.1.0-alpha.5ec96798":"2018-12-28T08:14:12.226Z","1.1.0-alpha.3152cff1":"2019-01-01T10:58:55.603Z","1.1.0-alpha.140e89fc":"2019-01-02T15:09:54.911Z","1.1.0-alpha.58cc129e":"2019-01-02T19:33:18.831Z","1.1.0-alpha.b06c364f":"2019-01-03T12:00:44.140Z","1.0.10":"2019-01-03T12:17:50.972Z","1.1.0-alpha.52295049":"2019-01-03T12:28:43.979Z","1.1.0-alpha.ce9dd01e":"2019-01-03T17:45:18.150Z","1.1.0-alpha.9eea1bd7":"2019-01-04T14:44:33.852Z","1.0.11-alpha.7":"2019-01-07T15:49:21.554Z","1.0.11-alpha.9":"2019-01-07T16:25:01.141Z","1.1.0-alpha.b56b7743":"2019-01-07T18:00:21.516Z","1.1.0-alpha.a89d5ae7":"2019-01-07T18:17:33.239Z","1.1.0-alpha.d20ca3cc":"2019-01-08T13:03:37.700Z","1.1.0-alpha.d17918c6":"2019-01-08T16:38:34.826Z","1.0.11-alpha.4":"2019-01-08T18:01:59.916Z","1.1.0-alpha.9772d56f":"2019-01-09T07:33:02.269Z","1.1.0-alpha.46063efc":"2019-01-09T07:50:32.059Z","1.1.0-alpha.e40864c2":"2019-01-09T08:29:41.411Z","1.1.0":"2019-01-14T18:46:13.513Z","1.1.1-alpha.5":"2019-01-28T18:22:46.515Z","1.2.0":"2019-01-29T16:06:01.958Z","1.2.1-alpha.6":"2019-02-12T11:53:14.533Z","1.2.1-alpha.7":"2019-02-12T14:35:52.840Z","1.2.1":"2019-02-13T11:34:33.615Z","1.2.2-alpha.1":"2019-02-15T20:04:17.454Z","1.3.0":"2019-02-18T17:21:53.154Z","1.3.1":"2019-03-07T13:46:22.594Z","1.3.2-alpha.26":"2019-03-08T16:15:08.222Z","1.3.2":"2019-03-08T17:37:56.650Z","1.3.3-setup-percy.8":"2019-03-13T18:05:17.253Z","1.3.3-4208.1.8":"2019-03-13T19:25:01.676Z","1.3.3-4209.1.8":"2019-03-13T19:25:30.026Z","1.3.3-4212.1.8":"2019-03-13T19:39:26.550Z","1.3.3-4211.1.8":"2019-03-13T19:39:57.183Z","1.3.3-alpha.9":"2019-03-15T12:32:16.547Z","1.3.3-alpha-percy-andre.13":"2019-03-18T21:09:53.870Z","1.3.3-alpha-percy-andre.14":"2019-03-19T12:21:29.152Z","1.3.3-alpha-multi-select.19":"2019-03-19T19:21:10.464Z","1.3.3-alpha-multi-select.25":"2019-03-21T17:23:28.519Z","1.3.3":"2019-03-21T17:36:55.757Z","1.3.4-alpha-storybook-images.12":"2019-04-01T18:25:35.186Z","1.3.4":"2019-04-03T13:52:01.112Z","1.3.5-alpha-extendable.34":"2019-04-17T19:52:01.116Z","1.3.5-alpha-extendable.39":"2019-04-23T12:51:41.791Z","1.3.5-alpha-extendable.37":"2019-04-25T12:57:01.500Z","1.4.0":"2019-04-25T13:17:09.498Z","1.4.1-alpha-modal-tweaks-4662.1.12":"2019-06-07T17:41:08.506Z","1.4.1":"2019-06-11T19:46:16.484Z","1.4.2-alpha-text-truncate-4709.1.4":"2019-06-19T13:34:06.909Z","1.4.2-alpha-text-truncate-4713.1.6":"2019-06-19T17:13:39.877Z","1.4.2-alpha-text-truncate-4715.1.6":"2019-06-19T17:31:27.790Z","1.4.2-alpha-text-truncate-4717.1.7":"2019-06-19T18:55:49.903Z","1.4.2":"2019-06-25T14:22:26.407Z","1.4.3-alpha-upd-deps-4809.1.19":"2019-07-05T18:09:14.625Z","1.4.3-alpha-upd-deps-4827.1.21":"2019-07-09T16:46:16.884Z","1.4.3":"2019-07-09T19:25:48.800Z","1.4.4-alpha-tooltip-position-4885.1.21":"2019-07-15T14:29:42.509Z","1.4.4-alpha-tooltip-position-4886.1.19":"2019-07-15T14:31:08.429Z","1.4.4-alpha-tooltip-position-4957.1.32":"2019-07-18T19:17:53.848Z","1.4.4":"2019-07-18T19:31:12.576Z","1.4.5-alpha-update-deps-5137.1.29":"2019-09-09T16:55:16.013Z","1.4.5":"2019-09-10T19:28:18.587Z","1.4.6":"2019-09-17T19:06:58.706Z","1.4.7-alpha-side-nav-js-5441.1.50":"2019-10-28T18:06:43.473Z","1.4.7":"2019-10-31T20:49:50.118Z","1.4.8-alpha-use-new-icons-5530.1.24":"2019-11-12T18:00:56.090Z","1.5.0":"2019-11-13T17:33:05.007Z","1.5.1-alpha-use-new-icons-5553.1.26":"2019-11-14T16:00:49.428Z","1.5.1-alpha-use-new-icons-5568.1.29":"2019-11-18T21:02:02.355Z","1.5.1-alpha-use-new-icons-5574.1.34":"2019-11-19T17:30:17.058Z","1.5.1-alpha-use-new-icons-5576.1.28":"2019-11-19T17:47:48.879Z","2.0.0":"2019-11-19T18:02:10.921Z","2.0.1-alpha-upd-depss-5616.1.25":"2019-11-27T18:25:07.004Z","2.0.1":"2019-11-27T20:28:52.717Z","2.0.2-alpha-tangerine-5635.1.4":"2019-12-03T18:55:02.817Z","2.0.2":"2019-12-03T19:17:51.142Z","2.0.3":"2019-12-18T16:55:40.193Z","2.0.4-alpha-new-primary-button-colors-5656.1.8":"2020-01-08T17:11:12.088Z","2.0.4":"2020-01-08T17:32:56.029Z","2.0.5-alpha-card-border-5673.1.9":"2020-02-04T14:14:42.159Z","2.0.5":"2020-02-04T17:21:46.029Z","2.0.6-alpha-upd-dep-280220-5690.1.28":"2020-03-05T19:56:27.612Z","2.0.6":"2020-03-06T15:38:35.688Z","2.0.7":"2020-05-13T18:20:36.905Z","2.0.8":"2020-05-14T14:31:20.796Z","2.0.9-alpha-dropdown-button-props-5803.1.14":"2020-07-07T14:20:48.169Z","2.0.9-alpha-dropdown-button-props-5805.1.15":"2020-07-07T15:24:00.855Z","2.1.0":"2020-07-08T11:40:50.469Z","2.1.1-alpha-fix-icons-react-import-5808.1.2":"2020-07-09T14:54:46.128Z","2.1.1-alpha-fix-icons-react-import-5810.1.3":"2020-07-09T16:10:24.956Z","2.1.1-alpha-fix-icons-react-import-5812.1.4":"2020-07-09T16:21:43.876Z","2.1.1-alpha-fix-icons-react-import-5814.1.2":"2020-07-09T17:13:33.826Z","2.1.1-alpha-fix-icons-react-import-5816.1.3":"2020-07-09T17:23:51.568Z","2.1.1-alpha-fix-github-dribbble-icons-5818.1.1":"2020-07-09T17:46:32.815Z","2.1.1-alpha-another-icon-test-5829.1.4":"2020-07-13T15:05:30.035Z","2.1.1-alpha-another-icon-test-5832.1.6":"2020-07-13T15:32:10.944Z","3.0.0":"2020-07-14T16:23:51.599Z","3.0.1-alpha-protected-currency-5867.1.9":"2020-08-04T18:56:31.015Z","3.0.1-alpha-button-redesign-5884.1.23":"2020-09-02T19:51:49.676Z","3.0.1-alpha-button-redesign-5888.1.26":"2020-09-03T19:39:13.211Z","3.0.1-alpha-button-redesign-5890.1.26":"2020-09-03T19:48:25.916Z","3.0.1-alpha-button-redesign-5892.1.22":"2020-09-04T16:35:29.837Z","3.1.0":"2020-09-04T16:53:29.501Z","3.1.1-alpha-fix-button-white-space-5896.1.2":"2020-09-09T14:28:26.241Z","3.1.1-alpha-fix-button-white-space-5898.1.2":"2020-09-09T19:10:06.534Z","3.1.1":"2020-09-09T19:33:13.106Z","3.1.2-alpha-button-line-height-5901.1.2":"2020-09-10T12:19:47.627Z","3.1.2":"2020-09-10T12:52:06.289Z","3.1.3-alpha-esmodules-5917.1.9":"2020-10-14T14:45:03.289Z","3.1.3-alpha-esmodules-5921.1.10":"2020-10-15T13:29:31.568Z","3.1.3-alpha-esmodules-5925.1.9":"2020-10-21T18:27:25.879Z","3.1.3":"2020-10-21T19:27:59.893Z","3.1.4-alpha-icon-publish-5935.1.5":"2020-10-29T11:58:29.581Z","3.1.4":"2020-10-29T14:19:42.158Z","3.1.5-alpha-dropdown-trigger-5951.1.2":"2021-01-07T14:43:34.285Z","3.2.0":"2021-01-07T15:00:10.774Z","3.2.1-alpha-dropdown-active-5954.1.1":"2021-01-07T21:10:21.045Z","3.3.0":"2021-01-11T15:55:00.948Z","3.3.1-alpha-table-redesign-manual-1.2":"2021-01-21T12:14:19.831Z","3.3.1-alpha-update-deps-032021-6011.1.36":"2021-03-31T14:28:31.213Z","3.3.1-alpha-update-deps-032021-6038.1.59":"2021-04-09T19:19:02.710Z","3.3.1":"2021-04-19T14:42:57.701Z","3.3.2-alpha-update-icons-6066.1.4":"2021-04-27T15:07:22.759Z","3.3.2-alpha-update-icons-6070.1.4":"2021-04-27T20:49:47.060Z","3.3.2-alpha-update-icons-1.4":"2021-04-28T14:23:37.211Z","3.3.2-alpha-update-icons-2.4":"2021-04-28T15:19:16.623Z","3.3.2":"2021-04-29T12:19:26.198Z","3.3.3-alpha-add-font-size-6125.1.7":"2021-07-07T16:53:05.500Z","3.3.3":"2021-07-07T17:23:10.646Z","3.3.4":"2021-07-23T22:17:17.289Z","3.3.7-alpha-lerna-force-publish-6137.1.0":"2021-07-26T13:53:36.347Z","3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0":"2021-08-11T17:24:29.633Z","3.3.7":"2021-08-11T18:09:59.647Z","3.3.8":"2022-01-05T12:49:02.498Z","3.3.9-alpha-fix-deps-6232.1.2":"2022-02-09T20:31:50.992Z","3.3.9":"2022-02-10T14:42:23.063Z"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["dropdown"],"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"author":{"name":"Crave Food Systems and AUTHORS"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"license":"MIT","readmeFilename":"README.md","description":"Simple dropdown component. See [examples](https://cravefood.github.io/farmblocks/index.html?selectedKind=Dropdown) on storybook"}